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

# Credit Debit

### Table Columns

| Column Name | Data Type | Description |
| - | - | - |
| address | | Address of the account that was credited or debited `amount` of token. |
| counterparty\_address | | The address of the counterparty of this credit or debit transfer. |
| token\_address | | Token address of the asset transferred. Note: the native coin does not have a contract address, but by convention it is labelled as `0x0000000000000000000000000000000000000000`. |
| token\_name | | Name of the asset transferred. |
| token\_symbol | | Token symbol of the asset transferred. |
| token\_id | | Identifier for non-fungible tokens (ERC-721) or semi-fungible tokens (ERC-1155). Each unique token\_id within a collection represents a distinct asset. |
| raw\_amount | | Amount of tokens moved (unnormalized). For ERC721 and ERC1155 tokens, no decimals division is involved. |
| raw\_amount\_str | | Raw token amount stored as a string to preserve full precision. Equivalent to `raw_amount` but avoids floating-point truncation for very large values. |
| amount | | Amount of token moved, normalized by the token's decimal precision. |
| amount\_str | | Normalized token amount stored as a string to preserve full precision. Equivalent to `amount` but avoids floating-point truncation for very large or very small values. |
| usd\_amount | | The amount of tokens moved, in USD. |
| usd\_exchange\_rate | | USD price of one normalized unit of the token at the time of this transfer, used to derive `usd_amount`. |
| transaction\_from\_address | | Address of the externally-owned account (EOA) that signed and submitted the transaction. This is the wallet that paid gas, which may differ from the `from_address` of an individual token transfer if a contract is routing tokens on behalf of a user. |
| transaction\_to\_address | | Address the transaction was sent to (the top-level `to` field of the transaction). May be a router, aggregator, or bridge contract rather than the direct recipient of assets. |
| transaction\_hash | | Transaction hash that this transfer belongs to. |
| transaction\_index | | Zero-based position of the transaction within its block. The first transaction in a block has index 0. |
| block\_timestamp | | The timestamp of the block that the corresponding transaction of this transfer belongs to. This is also the timestamp when this transfer occurred. |
| block\_number | | The block number that the corresponding transaction of this transfer belongs to. |
| block\_hash | | The block hash that the corresponding transaction of this transfer belongs to. |
| token\_type | | The type of asset transferred. Currently supports the native coin, ERC20, ERC721 and ERC1155 tokens. |
| unique\_id | | Unique id generated for each transfer. Includes transaction hash, log index and credit/debit transaction type. |
