zks_getL2ToL1MsgProof

Given a block, a sender, a message, and an optional message log index in the block containing the L1->L2 message, it returns the proof for the message sent via the L1Messenger system contract.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to public

For higher throughput, please create your own API key.

Body Params
  • block: uint32 - The number of the block where the message was emitted.
  • sender: address - The sender of the message (i.e. the account that called the L1Messenger system contract).
  • msg: bytes32 - The keccak256 hash of the sent message.
  • l2_log_position: uint256 - The index in the block of the event that was emitted by the L1Messenger when submitting this message. If it is omitted, the proof for the first message returns.
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to zks_getL2ToL1MsgProof
params
array
length between 3 and 4
Defaults to 5187,0x87869cb87c4Fa78ca278dF358E890FF73B42a39E,0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9
params
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!