erigon_blockNumber RPC Method
Parameters
This method does not accept any parameters
Returns
result
string
Loading...
Request
1curl -X POST "https://docs-demo.xlayer-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "erigon_blockNumber",6"params": [],7"id": 18}'
1curl -X POST "https://docs-demo.xlayer-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "erigon_blockNumber",6"params": [],7"id": 18}'
Response
1{2"id": 1,3"jsonrpc": "2.0",4"error": {5"code": -32601,6"message": "the method erigon_blockNumber does not exist/is not available"7}8}
1{2"id": 1,3"jsonrpc": "2.0",4"error": {5"code": -32601,6"message": "the method erigon_blockNumber does not exist/is not available"7}8}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free