Table Details
| Property | Value |
|---|---|
| Table Name | bitcoin_cash.assets.balances |
| Table Status | Production-Ready |
| Unique Key | transaction_hash, unique_id |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| address | VARCHAR(16777216) | Address of the account. |
| raw_balance_str | VARCHAR(16777216) | String of the balance of tokens (unnormalized). |
| raw_balance | FLOAT | Balance of tokens (unnormalized). |
| balance_str | VARCHAR(16777216) | String of the balance, normalized by the decimal points defined by the BCH protocol in sats. One sat = 1e-8 BCH. |
| balance | FLOAT | Balance of the token, normalized by the decimal points defined by the BCH protocol in sats. One sat = 1e-8 BCH. |
| usd_balance | FLOAT | The amount of tokens, in $USD at the current time. |
| usd_exchange_rate | FLOAT | The exchange rate used to calculate the usd_balance at the current time. |
| block_timestamp | TIMESTAMP_NTZ(9) | The timestamp of the block that resulted in the change in balance. |
| block_number | NUMBER(38,0) | The number of the block that resulted in the change in balance. |
| block_hash | VARCHAR(66) | The hash of the block that resulted in the change in balance. |
| transaction_hash | VARCHAR(66) | The hash of the transaction that resulted in the change in balance. |
| transaction_index | NUMBER(38,0) | The index of the transaction within the block. |
| unique_id | VARCHAR(16777216) | Unique ID of the balances entry. |
| _address_short | VARCHAR(16777216) | Shortened form of the address, used for internal indexing. |
| _pseudo_global_order | NUMBER(38,0) | Internal ordering value used to sequence balance changes globally. |
| _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. |