zksync.traces
Description of the zksync.traces table on Dune
You may see duplicate records in the traces
table for the zkSync chain. This is not a bug, but a result of trace calls appearing twice within the same transaction. These consecutive calls—an outer and an inner call—are identical except for their gas values. They share the same from
, to
, input
, output
, success
, and value
fields.
Table Description
The zksync.traces
table contains the traces of the transactions executed on the Ethereum Virtual Machine (EVM). It includes the traces of the transaction and the traces of the internal transactions. Traces are the result of the execution of the transaction and are used to debug and understand the execution of the transaction. They are also known as `internal transactions` and can be used to understand the execution of a transaction.
Column Descriptions
Table Sample
Example
Querying traces for a specific transaction hash
SELECT *
FROM zksync.traces
WHERE tx_hash = 0xb30d6d67cf7d148c2257bf598c5f5cdf5912a3d05c7d3b000398d675d2fa912c
Was this page helpful?