Skip to content
Alchemy Logo

zks_getL2ToL1LogProof

POST
/{apiKey}

Retrieves the log proof for an L2 to L1 transaction.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

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

The transaction hash.

integeroptional

Index of the log.

Responses

200

The log proof for the specified transaction and log index.

Was this page helpful?