eth_blockNumber
Returns the number of most recent block.
Params
(0)Result
(eth_blockNumber_result)string
Match pattern:
^0x([1-9a-f][0-9a-f]{0,63}|0)$
Example
Request
curl -X POST --data \
'{
"method": "eth_blockNumber",
"params": [],
"jsonrpc": "2.0",
"id": 1
}' \
-H "Content-Type: application/json" \
localhost:12539