zks_getL2ToL1LogProof

Given a transaction hash, and an index of the L2 to L1 log produced within the transaction, it returns the proof for the corresponding L2 to L1 log.

The index of the log that can be obtained from the transaction receipt (it includes a list of every log produced by the transaction).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to public

For higher throughput, please create your own API key.

Body Params
  • tx_hash: bytes32 - Hash of the L2 transaction the L2 to L1 log was produced within.
  • l2_to_l1_log_index: number - The index of the L2 to L1 log in the transaction (optional).
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to zks_getL2ToL1LogProof
params
array
length between 1 and 2
Defaults to 0x2a1c6c74b184965c0cb015aae9ea134fd96215d2e4f4979cfec12563295f610e
params
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!