Parameters
string
default:"300"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"zks_getL2ToL1LogProof"
required
JSON-RPC method name.
Positional parameters for zks_getL2ToL1LogProof:params[0]: The hash of the L2 transaction.params[1]: The index of the L2 to L1 log in the transaction.
Returns
The JSON-RPC result.
The position of the leaf in the Merkle tree of L2->L1 messages for the block.
The Merkle proof for the message.
Hex-encoded proof element.
The root hash representing the Merkle tree root at the time the L2 to L1 log was generated.