zkevm_isBlockConsolidated

Returns true if the provided block number is already connected to a batch that was already verified, otherwise false.

Parameters

  • blockNumber : (string) - The block number (in hex)

Returns

  • (boolean) - Returns true if the provided block number is already connected to a batch that was already verified, otherwise false.

Example

Request

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

Result

{
    "jsonrpc": "2.0",
    "id": 33,
    "result": true
}

Last updated