tron.price Table: dim_asset_metadata Type: Base Table
What
This table provides provider-level metadata for all assets tracked in the price schema on Tron. It includes the price provider, asset identifiers, names, symbols, contract addresses, and blockchain information.Key Use Cases
- Cross-referencing asset IDs across different price providers
- Asset discovery and provider-specific data analysis
- Mapping token addresses to provider identifiers
Important Relationships
- Join with ez_prices_hourly: Use
asset_idfor price time series - Join with fact_prices_ohlc_hourly: Use
asset_idfor OHLC data - Join with fact_asset_metrics_daily: Use
asset_idfor market data
Commonly-used Fields
provider: Data source (coingecko, coinmarketcap, etc.)asset_id: Provider-specific unique identifierblockchain: Network identifiertoken_address: Contract address (NULL for native assets)symbol: Token ticker symbol
Sample queries
Columns
| Column Name | Data Type | Description |
|---|---|---|
| TOKEN_ADDRESS | TEXT | Contract address of the token on the blockchain, in 0x-prefixed hex format. NULL for native TRX. Example: ‘0xa614f803b6fd780986a42c78ec9c7f77e6ded13c’ |
| ASSET_ID | TEXT | Unique identifier for the asset from the upstream price provider. Example: ‘tron’ |
| SYMBOL | TEXT | Token ticker symbol as commonly recognized. Example: ‘USDT’ |
| NAME | TEXT | Full name of the asset or token. Example: ‘Tether USD’ |
| BLOCKCHAIN | TEXT | The blockchain network where the asset exists. Example: ‘tron’ |
| BLOCKCHAIN_ID | TEXT | The numeric or string identifier for the blockchain on which the asset exists. Used for cross-chain mapping. Example: ‘tron’ |
| PROVIDER | TEXT | Data source that provided the price information. Values include ‘coingecko’, ‘coinmarketcap’, ‘dex_aggregated’. Example: ‘coingecko’ |
| DIM_ASSET_METADATA_ID | TEXT | Primary key — unique identifier for each row ensuring data integrity. Format: VARCHAR containing composite key generated using MD5 hash of the relevant columns. Usage: Deduplication in incremental loads Join operations for data quality checks Troubleshooting specific records |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | UTC timestamp when the record was first added to the Flipside database. Format: TIMESTAMP_NTZ Use Cases: Data freshness monitoring Incremental processing markers Debugging data pipeline issues |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | UTC timestamp of the most recent update to this record. Format: TIMESTAMP_NTZ Use Cases: Tracking data corrections and reprocessing Monitoring incremental model updates Data quality audits |