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

# Stablecoin Transfers

### Table Details

| Property            | Value                                  |
| ------------------- | -------------------------------------- |
| Table Name          | `stellar.assets.stablecoin_transfers`  |
| Table Status        | Production-Ready                       |
| Unique Key          | `ledger_close_time::date`, `unique_id` |
| Clustering Key(s)   | `ledger_close_time::date, asset_id`    |
| Search Optimization | `asset_id`, `asset_code`               |

### Table Columns

| Column Name                     | Data Type         | Description                                                                      |
| ------------------------------- | ----------------- | -------------------------------------------------------------------------------- |
| event\_type                     | VARCHAR(16777216) | Type of the transfer event that produced this record.                            |
| event\_stage                    | VARCHAR(16777216) | Stage at which the event was emitted (e.g. `during_tx`, `after_tx`).             |
| event\_index                    | NUMBER(38,0)      | Zero-based index of this event within its transaction.                           |
| from\_address                   | VARCHAR(16777216) | Stellar account (G-address) the transfer was sent from.                          |
| from\_muxed\_id                 | VARCHAR(16777216) | 64-bit muxed sub-account id of the sender, when a muxed account is used.         |
| to\_address                     | VARCHAR(16777216) | Stellar account (G-address) the transfer was sent to.                            |
| to\_muxed\_id                   | VARCHAR(16777216) | 64-bit muxed sub-account id of the recipient, when a muxed account is used.      |
| contract\_id                    | VARCHAR(16777216) | Soroban contract identifier (C-address) for the asset, when applicable.          |
| asset\_id                       | VARCHAR(16777216) | Composite asset identifier in `issuer:code` form for Classic assets.             |
| asset\_code                     | VARCHAR(16777216) | Asset code for the Classic asset.                                                |
| asset\_issuer                   | VARCHAR(16777216) | Issuer G-address of the Classic asset.                                           |
| token\_id                       | VARCHAR(16777216) | Soroban token identifier.                                                        |
| raw\_amount\_str                | VARCHAR(16777216) | Amount in stroops (unnormalized integer), stored as a string for full precision. |
| raw\_amount                     | FLOAT             | Amount in stroops (unnormalized), not decimal-adjusted.                          |
| amount\_str                     | VARCHAR(16777216) | Normalized amount stored as a string for full precision.                         |
| amount                          | FLOAT             | Amount normalized by the asset's decimal precision (raw\_amount / 10^decimals).  |
| usd\_amount                     | FLOAT             | USD value of the amount at the time of the event.                                |
| decimals                        | NUMBER(38,0)      | Number of decimal places for this stablecoin.                                    |
| usd\_exchange\_rate             | VARCHAR(16777216) | USD price per unit of the asset, used to compute `usd_amount`.                   |
| ledger\_sequence                | NUMBER(38,0)      | Stellar ledger sequence number (ledger height).                                  |
| ledger\_close\_time             | TIMESTAMP\_NTZ(9) | Timestamp (UTC) when the Stellar ledger closed and was validated by the network. |
| ledger\_hash                    | VARCHAR(16777216) | Hash of the Stellar ledger.                                                      |
| transaction\_hash               | VARCHAR(16777216) | Hash of the transaction that produced this transfer.                             |
| transaction\_index              | VARCHAR(16777216) | Zero-based position of the transaction within its ledger.                        |
| transaction\_result             | VARCHAR(16777216) | Stellar transaction result code.                                                 |
| transaction\_successful         | VARCHAR(16777216) | True if the transaction was included in a ledger and executed without errors.    |
| operation\_index                | VARCHAR(16777216) | Operation index within the transaction.                                          |
| unique\_id                      | VARCHAR(16777216) | Allium's deterministic unique identifier for this row.                           |
| currency                        | VARCHAR(16777216) | Stablecoin currency code the token is pegged to (e.g. `USDC`).                   |
| base\_asset                     | VARCHAR(16777216) | Underlying asset the stablecoin represents.                                      |
| is\_bridge                      | BOOLEAN           | True if this transfer is a bridge mint or burn.                                  |
| \_transfer\_created\_at         | TIMESTAMP\_NTZ(9) | Timestamp when the underlying transfer record was first ingested.                |
| \_transfer\_updated\_at         | TIMESTAMP\_NTZ(9) | Timestamp when the underlying transfer record was last updated.                  |
| \_metadata\_created\_at         | TIMESTAMP\_LTZ(9) | Timestamp when the stablecoin metadata record was first created.                 |
| \_metadata\_updated\_at         | TIMESTAMP\_LTZ(9) | Timestamp when the stablecoin metadata record was last updated.                  |
| \_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.                    |
| \_changed\_since\_full\_refresh | BOOLEAN           | Indicates if the record has changed since the last full data refresh.            |
