Skip to content
Alchemy Logo

zks_getL2ToL1MsgProof

POST
/{apiKey}

Retrieves the proof for an L2 to L1 message.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x[0-9a-fA-F]{1,8}$"required

The L2 block number.

stringformat: "^0x[0-9a-fA-F]{40}$"required

The sender's address.

stringformat: "^0x[0-9a-f]{64}$"required

The message hash.

integeroptional

The log position in L2.

Responses

200

The proof for the L2 to L1 message.

Was this page helpful?