Parameters
- tx_hashstringREQUIRED
The hash of the L2 transaction
- l2_to_l1_log_indexinteger
The index of the L2 to L1 log in the transaction
Returns
- id
The position of the leaf in the Merkle tree of L2->L1 messages for the block
- proof
The Merkle proof for the message
- root
The root hash representing the Merkle tree root at the time the L2 to L1 log was generated
Request
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"proof": [6"0x8c48910df2ca7de509daf50b3182fcdf2dd6c422c6704054fd857d6c9516d6fc",7"0xc5028885760b8b596c4fa11497c783752cb3a3fb3b8e6b52d7e54b9f1c63521e",8"0xeb1f451eb8163723ee19940cf3a8f2a2afdf51100ce8ba25839bd94a057cda16",9"0x7aabfd367dea2b5306b8071c246b99566dae551a1dbd40da791e66c4f696b236",10"0xe4733f281f18ba3ea8775dd62d2fcd84011c8c938f16ea5790fd29a03bf8db89",11"0x1798a1fd9c8fbb818c98cff190daa7cc10b6e5ac9716b4a2649f7c2ebcef2272",12"0x66d7c5983afe44cf15ea8cf565b34c6c31ff0cb4dd744524f7842b942d08770d",13"0xb04e5ee349086985f74b73971ce9dfe76bbed95c84906c5dffd96504e1e5396c",14"0xac506ecb5465659b3a927143f6d724f91d8d9c4bdb2463aee111d9aa869874db"15],16"id": 0,17"root": "0x920c63cb0066a08da45f0a9bf934517141bd72d8e5a51421a94b517bf49a0d39"18}19}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"proof": [6"0x8c48910df2ca7de509daf50b3182fcdf2dd6c422c6704054fd857d6c9516d6fc",7"0xc5028885760b8b596c4fa11497c783752cb3a3fb3b8e6b52d7e54b9f1c63521e",8"0xeb1f451eb8163723ee19940cf3a8f2a2afdf51100ce8ba25839bd94a057cda16",9"0x7aabfd367dea2b5306b8071c246b99566dae551a1dbd40da791e66c4f696b236",10"0xe4733f281f18ba3ea8775dd62d2fcd84011c8c938f16ea5790fd29a03bf8db89",11"0x1798a1fd9c8fbb818c98cff190daa7cc10b6e5ac9716b4a2649f7c2ebcef2272",12"0x66d7c5983afe44cf15ea8cf565b34c6c31ff0cb4dd744524f7842b942d08770d",13"0xb04e5ee349086985f74b73971ce9dfe76bbed95c84906c5dffd96504e1e5396c",14"0xac506ecb5465659b3a927143f6d724f91d8d9c4bdb2463aee111d9aa869874db"15],16"id": 0,17"root": "0x920c63cb0066a08da45f0a9bf934517141bd72d8e5a51421a94b517bf49a0d39"18}19}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free