Skip to content

eth_blockNumber

Returns the number of the most recently mined block.

None.

FieldTypeDescription
resultstringThe current block number as a hexadecimal string.
{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x158a0e9"
}