zks_getL2ToL1LogProof

Retrieves the log proof for an L2 to L1 transaction.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Transaction hashstringRequiredformat: "^0x[0-9a-f]{64}$"

The transaction hash.

Log indexintegerRequired

Index of the log.

Response

The log proof for the specified transaction and log index.

prooflist of strings

Array of strings, each representing a piece of the proof for the specified log.

idinteger

Identifier of the log within the transaction.

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

Root hash of the proof, anchoring it to a specific state in the blockchain.