> ## 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.

# Traces

### Table Details

| Property            | Value                                                                                              |
| ------------------- | -------------------------------------------------------------------------------------------------- |
| Table Name          | `celo.raw.traces`                                                                                  |
| Table Status        | Production-Ready                                                                                   |
| Unique Key          | `trace_id`                                                                                         |
| Clustering Key(s)   | `to_date("block_timestamp")`                                                                       |
| Search Optimization | `trace_id`, `transaction_hash`, `from_address`, `to_address`, `block_number`, `selector`, `status` |

### Table Columns

### Additional Info

#### Trace Address field different from Etherscan/Explorers

The number of traces Allium has indexed for this transaction is 12, whereas if you count the number of traces that Etherscan has on this [page](https://etherscan.io/tx/0x9068357001dc45c59a0c0383860f25fd64daeef205f723c5cbd980f280baca38/advanced#internal), you'll notice that it is 11. Etherscan has chosen to leave out certain types of traces and coupled with how trace addresses are generated, it will result in a different trace address numbering scheme.

In the example above, the trace in the example as indexed by Allium is `{0,0,2,0}` whereas on Etherscan/Block Explorer it's as follows:

<Frame>
  <img src="https://mintcdn.com/allium-e770e2b7/M3SuvBIUs-0g-3vo/images/image-historical-evm-ALL-raw-traces.png?fit=max&auto=format&n=M3SuvBIUs-0g-3vo&q=85&s=fe38178b7a2dc7ac02b1978ff5a7b1d7" width="278" height="68" data-path="images/image-historical-evm-ALL-raw-traces.png" />
</Frame>

| Column Name        | Data Type         | Description                                                                                                                                                                               |
| ------------------ | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| transaction\_hash  | VARCHAR(66)       | Unique identifier of the transaction that this trace belongs to.                                                                                                                          |
| transaction\_index | NUMBER(38,0)      | The position of this transaction in the block that it belongs to. The first transaction has index 0.                                                                                      |
| from\_address      | VARCHAR(42)       | The address of the sending party of this transaction.                                                                                                                                     |
| to\_address        | VARCHAR(42)       | The address of the receiving party of this transaction, typically a contract address for traces.                                                                                          |
| value              | NUMBER(38,0)      | The amount of gas token moved from the `from_address` to `to_address`.                                                                                                                    |
| input              | VARCHAR(16777216) | The bytecode of the call that is made to another smart contract.                                                                                                                          |
| output             | VARCHAR(16777216) | The bytecode answer the smart contract that was called gives back.                                                                                                                        |
| trace\_type        | VARCHAR(16)       | The value of the method such as `call`, `create`, `create2`, `suicide`.                                                                                                                   |
| call\_type         | VARCHAR(16)       | [The type of method such as `call`, `delegatecall`, `staticcall`. Learn more here.](https://medium.com/coinmonks/delegatecall-calling-another-contract-function-in-solidity-b579f804178c) |
| reward\_type       | VARCHAR(16)       | Populated when `trace_type`=reward. Possible values: `block`, `uncle`.                                                                                                                    |
| gas                | NUMBER(38,0)      | Gas provided with the trace call, in wei.                                                                                                                                                 |
| gas\_used          | NUMBER(38,0)      | The amount of gas consumed, in wei.                                                                                                                                                       |
| subtraces          | NUMBER(38,0)      | Number of children traces.                                                                                                                                                                |
| trace\_address     | VARCHAR(8192)     | The address of the trace within the call graph.                                                                                                                                           |
| error              | VARCHAR(16777216) | Human-readable developer error message. Examples: "Out of gas", "Reverted", "Bad instruction", "Bad jump destination".                                                                    |
| status             | NUMBER(38,0)      | Success status of the trace. Either `1` (success) or `0` (failure).                                                                                                                       |
| block\_timestamp   | TIMESTAMP\_NTZ(9) | The time when the block that contains this trace was included on the blockchain.                                                                                                          |
| block\_number      | NUMBER(38,0)      | The length of the chain, in blocks.                                                                                                                                                       |
| block\_hash        | VARCHAR(66)       | Unique identifier of the block that includes this trace.                                                                                                                                  |
| trace\_id          | VARCHAR(16777216) | Unique identifier for this trace. Generated by combining the `trace_type`, `transaction_hash`, and `trace_address`.                                                                       |
| selector           | VARCHAR(10)       | 4-bytes of the input data.                                                                                                                                                                |
| \_created\_at      | TIMESTAMP\_NTZ(9) | Timestamp of the entry creation.                                                                                                                                                          |
| \_updated\_at      | TIMESTAMP\_NTZ(9) | Timestamp of the entry update.                                                                                                                                                            |

### Related Docs

* [EVM Raw Traces](/historical-data/supported-blockchains/evm/core-schemas/raw/traces)
