Parameters
string
default:"11124"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"zks_getL2ToL1MsgProof"
required
JSON-RPC method name.
object
required
Positional parameters for
zks_getL2ToL1MsgProof:params[0]: The block number in which the message was emitted.params[1]: The address that sent the message.params[2]: The keccak256 hash of the message being proved.params[3]: Optional index in the block of the L1Messenger event log. Defaults to the first message if omitted.
Returns
object
The JSON-RPC result.