sui.core Table: dim_tokens Type: Base Table
Description
This table serves as the authoritative token metadata dimension for the Sui blockchain, combining information from on-chain coin metadata including decimals, symbols, names, descriptions, and icon URLs. It provides a canonical reference for token identification and decimal normalization across all Sui analytics.Key Use Cases
- Token identification and metadata lookups for analytics and reporting
 - Decimal normalization for converting raw token amounts to human-readable values
 - Token discovery and cataloging for DeFi protocols
 - Building token directories and reference data for applications
 - Supporting cross-token analysis and portfolio tracking
 
Important Relationships
- Referenced by 
core.ez_transfersfor token metadata enrichment - Referenced by 
defi.ez_dex_swapsfor token symbol and decimal lookups - Referenced by 
defi.ez_bridge_activityfor bridge token identification - Provides metadata for all token-based analytics across the Sui ecosystem
 
Commonly-used Fields
coin_type: Primary identifier for tokens (full Move type path)symbol: User-friendly token symboldecimals: Essential for converting raw amounts to decimal-adjusted valuesname: Full token name for display purposesicon_url: Token logo/icon for UI applications
Columns
| Column Name | Data Type | Description | 
|---|---|---|
| COIN_TYPE | TEXT | The full Move type identifier for the coin/token on Sui blockchain. | 
- 0x2::sui::SUI
 - 0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN
 
- Primary identifier for token lookups and joins across all tables.
 - Essential for token-specific analysis and filtering.
 - Enables correlation of token activity across transfers, swaps, and bridges. | | DECIMALS | NUMBER | The number of decimal places for the token, used to convert raw amounts to human-readable values.
 
- 9 (SUI has 9 decimals)
 - 6 (USDC typically has 6 decimals)
 - 18 (common for many ERC20-style tokens)
 
- Critical for converting raw on-chain amounts to decimal-adjusted values.
 - Essential for financial calculations and value comparisons.
 - Enables accurate token amount normalization across analytics. | | SYMBOL | TEXT | The token symbol, providing a short, human-readable identifier.
 
- SUI
 - USDC
 - CETUS
 
- Used for user-friendly displays, reports, and dashboards.
 - Enables token filtering and grouping in analytics.
 - Supports cross-token comparisons and portfolio analysis. | | NAME | TEXT | The full name of the token.
 
- Sui
 - USD Coin
 - Cetus Protocol
 
- Provides complete token identification for reports and documentation.
 - Used in token directories and reference materials.
 - Supports token discovery and cataloging. | | DESCRIPTION | TEXT | A description of the token, providing additional context about its purpose or features.
 
- The native token of the Sui blockchain
 - A stablecoin pegged to the US Dollar
 
- Provides context for token research and analysis.
 - Used in token documentation and educational materials.
 - Supports token categorization and classification. | | ICON_URL | TEXT | URL to the token’s icon or logo image.
 
- Essential for UI/UX in applications and dashboards.
 - Enables branded token displays and visualizations.
 - Supports user-friendly token identification. | | OBJECT_ID | TEXT | The on-chain object identifier for the coin metadata.
 
- 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
 
- Links to on-chain metadata object for verification.
 - Enables blockchain explorer lookups and validation.
 - Supports metadata provenance and integrity checks. | | DIM_TOKENS_ID | TEXT | The unique primary key identifier for each row in the table, ensuring data integrity and uniqueness.
 
- 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
 
- Essential for data integrity and unique row identification.
 - Critical for join operations and data relationship management.
 - Enables precise data retrieval and referential integrity maintenance. | | INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The UTC timestamp when the row was inserted into the table, representing when the data was first recorded.
 
- 2024-01-15 14:30:25.123456
 
- Essential for data lineage tracking and insertion timing analysis.
 - Critical for understanding data freshness and processing delays.
 - Enables data quality analysis and processing performance monitoring. | | MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The UTC timestamp when the row was last modified, representing when the data was most recently updated.
 
- 2024-01-15 14:30:25.123456
 
- Essential for data freshness analysis and update tracking.
 - Critical for understanding data modification patterns and change frequency.
 - Enables data quality monitoring and update performance analysis. |