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

# Tokens 🌱

### Table Details

| Property            | Value                              |
| ------------------- | ---------------------------------- |
| Table Name          | `stellar_testnet.raw.tokens`       |
| Table Status        | Beta 🌱                            |
| Unique Key          | `ledger_close_time`, `contract_id` |
| Clustering Key(s)   | `to_date("ledger_close_time")`     |
| Search Optimization | `contract_id`, `asset_id`          |

### Table Columns

| Column Name                        | Data Type         | Description                                                                       |
| ---------------------------------- | ----------------- | --------------------------------------------------------------------------------- |
| contract\_id                       | VARCHAR(16777216) | Soroban contract address (C...) representing this token's SAC/Soroban deployment. |
| asset\_id                          | VARCHAR(16777216) | Unique identifier of the asset (asset code:issuer, or contract id).               |
| asset\_code                        | VARCHAR(16777216) | Code of the credit asset, null for native XLM.                                    |
| asset\_issuer                      | VARCHAR(16777216) | Address of the asset's issuer account, null for native XLM.                       |
| decimals                           | NUMBER(38,0)      | Number of decimal places of precision used by the token.                          |
| token\_type                        | VARCHAR(16777216) | Type of token (native, credit, sac, soroban).                                     |
| asset\_toml\_info                  | VARIANT           | Parsed information from the asset issuer's stellar.toml, as JSON.                 |
| asset\_toml\_url                   | VARCHAR(16777216) | URL of the issuer's stellar.toml file.                                            |
| executable                         | VARCHAR(16777216) | Soroban contract executable details (wasm hash or stellar asset), as JSON.        |
| durability                         | VARCHAR(16777216) | Soroban storage durability (persistent or temporary).                             |
| ledger\_close\_time                | TIMESTAMP\_NTZ(9) | Time the ledger that produced this entry was closed.                              |
| ledger\_sequence                   | NUMBER(38,0)      | Sequence of the ledger that produced this entry.                                  |
| ledger\_hash                       | VARCHAR(16777216) | Hash of the ledger that produced this entry.                                      |
| transaction\_hash                  | VARCHAR(16777216) | Hash of the transaction that produced this entry.                                 |
| transaction\_index                 | NUMBER(38,0)      | Position of the transaction within its ledger.                                    |
| ledger\_entry\_change\_index       | NUMBER(38,0)      | Position of this change within the ledger entry change list.                      |
| ledger\_entry\_type                | VARCHAR(16777216) | Numeric type of the ledger entry.                                                 |
| ledger\_entry\_type\_str           | VARCHAR(16777216) | String name of the ledger entry type.                                             |
| ledger\_entry\_change\_type        | VARCHAR(16777216) | Numeric type of change.                                                           |
| ledger\_entry\_change\_reason\_str | VARCHAR(16777216) | Human-readable reason for the change.                                             |
| ledger\_entry\_change\_reason      | VARCHAR(16777216) | Numeric reason code for the change.                                               |
| post\_ledger\_entry                | VARIANT           | The full ledger entry after the change, as JSON.                                  |
| \_extra\_fields                    | VARIANT           | Additional fields not normalised into named columns, as JSON.                     |
| \_created\_at                      | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was created in the database.                          |
| \_updated\_at                      | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was last updated in the database.                     |
