Skip to content
Alchemy Logo

ledger_getHeadL2Block

POST
/{apiKey}

Returns the latest (head) L2 block.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Responses

200

Latest L2 block (same structure as ledger_getL2BlockByNumber).

Was this page helpful?