Traces keep track of the actions that modify the internal state of the EVM.

Query decoded event traces by contract address/function call.

select * from monad_testnet.traces
where to_address = '0xdef1c0ded9bec7f1a1670819833240f027b25eff' limit 1

Table Columns

                     Partitioned table "monad_testnet.traces"
      Column       |            Type             | Collation | Nullable | Default
-------------------+-----------------------------+-----------+----------+---------
 transaction_hash  | character varying(66)       |           |          |
 transaction_index | numeric(38,0)               |           |          |
 from_address      | character varying(42)       |           |          |
 to_address        | character varying(42)       |           |          |
 value             | numeric(38,0)               |           |          |
 input             | text                        |           |          |
 selector          | character varying(10)       |           |          |
 output            | text                        |           |          |
 trace_type        | character varying(16)       |           |          |
 call_type         | character varying(16)       |           |          |
 reward_type       | character varying(16)       |           |          |
 gas               | numeric(38,0)               |           |          |
 gas_used          | numeric(38,0)               |           |          |
 subtraces         | numeric(38,0)               |           |          |
 trace_address     | character varying(8192)     |           |          |
 error             | text                        |           |          |
 status            | integer                     |           |          |
 block_timestamp   | timestamp without time zone |           | not null |
 block_number      | numeric(38,0)               |           |          |
 block_hash        | character varying(66)       |           |          |
 trace_id          | text                        |           | not null |
 _created_at       | timestamp without time zone |           |          |
 _updated_at       | timestamp without time zone |           |          |
Partition key: RANGE (block_timestamp)
Indexes:
    "traces_pk" PRIMARY KEY, btree (block_timestamp, trace_id)
    "traces_block_index" btree (block_number, block_timestamp DESC)
    "traces_from_address_block_timestamp_index" btree (from_address, block_timestamp DESC)
    "traces_to_address_block_timestamp_index" btree (to_address, block_timestamp DESC)
    "traces_transaction_hash_index" btree (transaction_hash, block_timestamp DESC)