zks_getL2ToL1MsgProof RPC Method
Please note that this JSON-RPC method will be deprecated in favor of zks_getL2ToL1LogProof.
Parameters
block
integer
REQUIRED
Loading...
sender
string
REQUIRED
Loading...
msg
string
REQUIRED
Loading...
l2_log_position
string
Loading...
Returns
id
string
Loading...
proof
string
Loading...
root
string
Loading...
Request
1curl -X POST "https://docs-demo.lens-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "zks_getL2ToL1MsgProof",6"params": [75187,8"0x87869cb87c4Fa78ca278dF358E890FF73B42a39E",9"0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"10],11"id": 112}'
1curl -X POST "https://docs-demo.lens-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "zks_getL2ToL1MsgProof",6"params": [75187,8"0x87869cb87c4Fa78ca278dF358E890FF73B42a39E",9"0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"10],11"id": 112}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": "0x0"5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": "0x0"5}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free