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.
Parameters:
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. #curl example
Example:
Last updated