Skip to main content
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"
  ]
}
'

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:zks_getL2ToL1MsgProof
required

The RPC method to be invoked

id
integer
default:1
required

Request identifier

params
any[]
required

Parameters for the L2 to L1 message proof

Required array length: 3 - 4 elements

Response

200 - application/json

Returns the proof for the L2 to L1 message