Check out our new component library - build.abs.xyz!
cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/zks_getL2ToL1MsgProof \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1MsgProof", "params": [ 12345, "0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000" ] }'
{ "jsonrpc": "2.0", "id": 1, "result": { "id": 123, "proof": [ "<string>" ], "root": "<string>" } }
Retrieves the proof for an L2 to L1 message
JSON-RPC version
The RPC method to be invoked
Request identifier
Parameters for the L2 to L1 message proof
3 - 4
Returns the proof for the L2 to L1 message
The response is of type any.
any
Was this page helpful?