zkevm_isBlockConsolidated RPC Method
Parameters
blockNumber
string
REQUIRED
The block number to check whether it is consolidated or not
Returns
result
It return true if the provided block number is already connected to a batch that was already verified and false otherwise
Request
1curl https://docs-demo.zkevm-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"zkevm_isBlockConsolidated","params":["0x24573"],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free