> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Decoded Traces

The decoded traces table contains decoded trace inputs and outputs based the trace selector and contract ABIs.

### Table Columns

Unique Key: `trace_id`

| Column Name                   | Description                                                                                                                                                                                    | Example                                                                                                                                    |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| name                          | Decoded trace call name.                                                                                                                                                                       | transfer                                                                                                                                   |
| input\_params                 | Decoded input data in JSON format.                                                                                                                                                             | `{ "dst": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d", "wad": "78435934549592564" }`                                                      |
| output\_params                | Decoded output data in JSON format.                                                                                                                                                            | `{ "arg": "True" }`                                                                                                                        |
| transaction\_hash             | Unique identifier of the transaction that contains this trace.                                                                                                                                 | 0x1082e21d7a815d737447d984c9a7d10945263934b53b362a036e3812372b07ee                                                                         |
| transaction\_index            | The position of this transaction in the block that it belongs to. The first transaction has index 0.                                                                                           | 0                                                                                                                                          |
| from\_address                 | The address of the sending party of this trace.                                                                                                                                                | 0x43d6722b48b40d095e20f8ce7dd90e38f7dede47                                                                                                 |
| to\_address                   | The address of the receiving party of this trace (null for contract creation).                                                                                                                 | 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2                                                                                                 |
| value                         | The amount of ether moved from the from\_address to to\_address.                                                                                                                               | 0                                                                                                                                          |
| input                         | The bytecode of the call that is made to another smart contract.                                                                                                                               | 0xa9059cbb0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000000000000000000000000000116a911207449f4 |
| output                        | The bytecode answer the smart contract that was called gives back.                                                                                                                             | 0x0000000000000000000000000000000000000000000000000000000000000001                                                                         |
| trace\_type                   | The value of the method such as call, create, create2, suicide.                                                                                                                                | call                                                                                                                                       |
| call\_type                    | The type of method such as call, delegatecall, staticcall. Learn more here.                                                                                                                    | call                                                                                                                                       |
| reward\_type                  | Populated when trace\_type =reward. Possible values: block, uncle                                                                                                                              |                                                                                                                                            |
| gas                           | Gas provided with the trace call, in wei.                                                                                                                                                      | 151133                                                                                                                                     |
| gas\_used                     | The amount of gas consumed, in wei.                                                                                                                                                            | 29962                                                                                                                                      |
| subtraces                     | Number of children traces.                                                                                                                                                                     | 0                                                                                                                                          |
| trace\_address                | The address of the trace within the call graph. More detail to come soon.                                                                                                                      | 3,0                                                                                                                                        |
| error                         | Human readable developer error message. Examples: "Out of gas", "Reverted", "Bad instruction", "Bad jump destination".                                                                         |                                                                                                                                            |
| status                        | Success status of the trace. Either 1 (success) or 0 (failure). Error messages take precedence over trace status. Note that debug\_trace methods may still return status = 1 for error traces. | 1                                                                                                                                          |
| block\_timestamp              | The time when the block that contains this log was included on the blockchain.                                                                                                                 | 2023-04-03 22:01:59.000                                                                                                                    |
| block\_number                 | The length of the chain, in blocks.                                                                                                                                                            | 16971316                                                                                                                                   |
| block\_hash                   | Unique identifier of the block that includes this log.                                                                                                                                         | 0xa21af1110bb2aab30679c39bd2cfa84a19ec39e43edcc4114a5e41ccfcd34ba3                                                                         |
| trace\_id                     | Unique identifier for this trace. Generated by combining the trace\_type, transaction\_hash and trace\_address.                                                                                | call\_0x1082e21d7a815d737447d984c9a7d10945263934b53b362a036e3812372b07ee\_3\_0                                                             |
| selector                      | Selector of the txn.                                                                                                                                                                           | 0xa9059cbb                                                                                                                                 |
| input\_params\_keys\_mapping  | Input parameters mapping.                                                                                                                                                                      | \[ "dst", "wad" ]                                                                                                                          |
| output\_params\_keys\_mapping | Output parameters mapping                                                                                                                                                                      | \[ "arg" ]                                                                                                                                 |
| interface\_id                 | Interface ID.                                                                                                                                                                                  | 76c51e4145c1160d3ab0018a65355f06                                                                                                           |
| \_created\_at                 | Timestamp of the entry creation.                                                                                                                                                               | 2024-02-26 22:14:24.402                                                                                                                    |
| \_updated\_at                 | Timestamp of the entry update.                                                                                                                                                                 | 2024-02-26 22:14:24.402                                                                                                                    |
