Get the latest block number
GET/ronin/blocks/latest
Returns the most recent block that has been added to the chain, but that can still be reverted by a reorg.
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
result
object
blockNumber integer
{
"result": {
"blockNumber": 0
}
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...
Was this helpful?
Happy React is loading...