erigon_blockNumber RPC Method
Parameters
This method does not accept any parameters
Returns
result
string
An integer value of the latest block number encoded as hexadecimal
Request
1curl --location 'https://docs-demo.bsc.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "erigon_blockNumber",5"params": [],6"id": 1,7"jsonrpc": "2.0"8}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free