eth_blockNumber
POST/
Returns the number of the most recent block.
Parameters:
This method doesn't accept any parameters.
Returns:
result
: a hex string representing the current block number the client is on.
Request
Query Parameters
apikey stringrequired
Your API key
- application/json
Body
id integer
jsonrpc string
method string
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
jsonrpc string
id integer
result string
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x2396cc0"
}
Loading...
Was this helpful?
Happy React is loading...