zkevm_batchNumberByBlockNumber RPC Method
Parameters
blockNumber
string
REQUIRED
Loading...
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": "zkevm_batchNumberByBlockNumber",6"params": [7"0x24573"8],9"id": 110}'
1curl -X POST "https://docs-demo.xlayer-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "zkevm_batchNumberByBlockNumber",6"params": [7"0x24573"8],9"id": 110}'
Response
1{2"id": 1,3"jsonrpc": "2.0",4"error": {5"code": -32601,6"message": "the method zkevm_batchNumberByBlockNumber 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 zkevm_batchNumberByBlockNumber 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