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

# Native Transfers

> Track movement of native token across users.

The Native Token Transfers table contains successful transfers of native tokens of the blockchain.

Broadly, movement of gas token can occur at 2 levels:

* Trace transfers of native tokens:
  * Trace calls that deduct native token for movement of native tokens from an address. Only transfers of gas tokens from successful transactions are included.
* Transaction fees:
  * Transaction fees payment from initiating a transactions. Both failed and successful transactions are included, as failed transactions still consume gas fees that's deducted from the transaction sender.
  * For transaction fees, we compute the priority and base fees (if applicable) and assign the transaction sender as the `from_address` and the recipient to the respective destination (block miner, sequencer, burn address, etc).

<Info>
  Native gas tokens are represented as
  `0x0000000000000000000000000000000000000000` in the `token_address` in our
  assets schemas. This may be different for blockchains that do not have the
  typical hexadecimal address format. (e.g. Tron)
</Info>

### Table Columns

Unique Key: `unique_id`

| Column Name                     | Data Type         | Description                                                                                                                  |
| ------------------------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| from\_address                   | VARCHAR           | Address where the token is being transferred from.                                                                           |
| to\_address                     | VARCHAR           | Address where the token is being transferred to.                                                                             |
| token\_address                  | VARCHAR           | Token address of the asset transferred.                                                                                      |
| token\_name                     | VARCHAR           | Name of the asset transferred.                                                                                               |
| token\_symbol                   | VARCHAR           | Token symbol of the asset transferred.                                                                                       |
| raw\_amount                     | FLOAT             | Amount of tokens transferred (unnormalized).                                                                                 |
| raw\_amount\_str                | VARCHAR           | Amount of tokens transferred (unnormalized) in string to retain precision.                                                   |
| amount                          | FLOAT             | Amount of token transferred, normalized.                                                                                     |
| amount\_str                     | VARCHAR           | Amount of token transferred, normalized in string to retain precision.                                                       |
| usd\_amount                     | FLOAT             | The USD amount of the tokens at the time of the transfer.                                                                    |
| usd\_exchange\_rate             | FLOAT             | The exchange rate used to calculate the `usd_amount`.                                                                        |
| call\_type                      | VARCHAR           | Call type of the transaction. Non-call type will be indicated by NULL.                                                       |
| transfer\_type                  | VARCHAR           | The type of transfers, depending on the blockchain. Typically include: `value_transfer`, `gas_burn`, `gas_payment_to_miner`. |
| transaction\_from\_address      | VARCHAR           | The address of the sending party of this transaction.                                                                        |
| transaction\_to\_address        | VARCHAR           | The address of the receiving party of this transaction (could be a contract address).                                        |
| transaction\_hash               | VARCHAR           | Transaction hash that this transfer belongs to.                                                                              |
| transaction\_index              | BIGINT            | The position of this transaction in the block. The first transaction has index 0.                                            |
| block\_timestamp                | TIMESTAMP\_NTZ(9) | The time when the block that contains this transaction was included on the blockchain.                                       |
| block\_number                   | BIGINT            | The block number that the corresponding transaction of this transfer belongs to.                                             |
| block\_hash                     | VARCHAR           | The block hash that the corresponding transaction of this transfer belongs to.                                               |
| unique\_id                      | VARCHAR           | Unique ID generated for each transfer.                                                                                       |
| \_created\_at                   | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was created.                                                                                     |
| \_updated\_at                   | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was last updated.                                                                                |
| \_changed\_since\_full\_refresh | BOOLEAN           | Indicates if the record has changed since the last full refresh.                                                             |
