Skip to main content

zkevm_batchNumber

Returns the latest batch number.

Returns the latest batch number.

Parameters

  • none

Returns

  • batchNumber

Example

Request

curl --location 'https://polygon-zkevm-mainnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"zkevm_batchNumber",
"params":[],
"id":33
}'

Result

{
"jsonrpc": "2.0",
"id": 33,
"result": "0x2964"
}