Skip to main content

erigon_blockNumber RPC Method

Fetches the number of the latest block.

Updated on
Jun 18, 2026
Deprecation Notice

This method will be deprecated on Amoy Testnet (July 1, 2026) and Mainnet (July 15, 2026) following Polygon Labs' sunset of Erigon. Use eth_blockNumber as an alternative.

Parameters

This method does not accept any parameters

Returns

result
string

An integer value of the latest block number encoded as hexadecimal

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x4f57a4a"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x4f57a4a"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free