zks_getL2ToL1MsgProof

Retrieves the proof for an L2 to L1 message.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
L2 block numberstringRequiredformat: "^0x[0-9a-fA-F]{1,8}$"
The L2 block number.
Sender addressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"
The sender's address.
Message hashstringRequiredformat: "^0x[0-9a-f]{64}$"
The message hash.
Log positionintegerOptional
The log position in L2.

Response

The proof for the L2 to L1 message.
prooflist of strings
Array of strings, each representing a piece of the proof.
rootstringformat: "^0x[0-9a-f]{64}$"
Root hash of the proof.
idinteger
Identifier of the message within the block.