ethereum.core Table: ez_current_balances Type: View
This table contains the current, non-zero balances for wallets on this EVM blockchain. Symbol, name,
and price are joined where possible. Prices are calculated as of the last activity date and as of
the most recently recorded hourly price. ERC721s are included.
Please note - the underlying data for this is large. If you want your query to run quickly, please
use filters as much as possible. Using at least last_activity_block_timestamp::date as a filter
will lead to optimal query performance.
Columns
| Column Name | Data Type | Description |
|---|---|---|
| LAST_ACTIVITY_BLOCK | NUMBER | The last block where this token was transferred by this address. |
| LAST_ACTIVITY_BLOCK_TIMESTAMP | TIMESTAMP_NTZ | |
| USER_ADDRESS | TEXT | The wallet address holding the tokens / ETH. |
| CONTRACT_ADDRESS | TEXT | The contract address of the token (null for ETH). |
| CURRENT_BAL_UNADJ | NUMBER | The current token or ETH balance for this address, without a decimal adjustment. |
| CURRENT_BAL | FLOAT | The decimal adjusted current token or ETH balance. |
| USD_VALUE_LAST_ACTIVITY | FLOAT | The value of the tokens or ETH in USD, at the time the last token activity occurred. Will be null for tokens without a decimal. |
| USD_VALUE_NOW | FLOAT | The value of the tokens or ETH in USD, as of the most recently recorded hourly price. Will be null for tokens without a decimal. |
| SYMBOL | TEXT | The symbol of the token contract, or ETH. |
| TOKEN_NAME | TEXT | The name of the token contract, or Native ETH. |
| DECIMALS | NUMBER | The decimals for the token contract. |
| HAS_DECIMAL | BOOLEAN | Whether the token has a decimal or not, either TRUE or FALSE. |
| HAS_PRICE | BOOLEAN | Whether the token has an hourly price or not, either TRUE or FALSE. |
| LAST_RECORDED_PRICE | TIMESTAMP_NTZ | The timestamp of the last hourly price recorded for this token. |
| EZ_CURRENT_BALANCES_ID | TEXT | Primary key - unique identifier for each row ensuring data integrity. |
- Deduplication in incremental loads
- Join operations for data quality checks
- Troubleshooting specific records
- Data freshness monitoring
- Incremental processing markers
- Debugging data pipeline issues
- SLA tracking