ledger_getHeadL2BlockHeight
POST
/{apiKey}
Returns the block number of the latest L2 block.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Responses
200
Latest L2 block height in hex format.
Was this page helpful?