zks_getL2ToL1MsgProof
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"
]
}
'ZKSync API
zks_getL2ToL1MsgProof
Retrieves the proof for an L2 to L1 message
POST
/
zks_getL2ToL1MsgProof
zks_getL2ToL1MsgProof
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"
]
}
'Documentation Index
Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Response
200 - application/json
Returns the proof for the L2 to L1 message
Was this page helpful?
⌘I