Skip to main content

zkevm_consolidatedBlockNumber

Returns the latest block number that is connected to the latest batch verified.

Returns the latest block number that is connected to the latest batch verified.

Parameters

  • none

Returns

  • blockNumber - the latest block number that is connected to the latest batch verified

Example

Request

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

Result

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