near.core Table: dim_ft_contract_metadata Type: View
Description
This table contains comprehensive metadata for fungible token contracts on the NEAR Protocol blockchain, including token names, symbols, decimal precision, and cross-chain mapping information. The data covers both native NEAR tokens and cross-chain bridged assets, providing essential context for token identification, pricing, and value calculations. This dimension table supports all token-related analytics by providing standardized token information and enabling proper decimal adjustment for accurate value analysis.Key Use Cases
- Token identification and metadata enrichment for transfer analysis
- Cross-chain token correlation and bridge activity analysis
- Token pricing and market data integration
- Decimal adjustment for accurate value calculations
- Token supply and economics analysis
- Multi-chain portfolio tracking and analysis
- Token standard compliance and verification
Important Relationships
- Enriches
core.fact_token_transferswith token metadata and decimal information - Supports
core.ez_token_transferswith enhanced token context - Enables
defi.ez_dex_swapswith token pair identification and pricing - Powers
defi.ez_bridge_activitywith cross-chain token mapping - Supports
price.ez_prices_hourlywith token metadata for price analysis - Enables accurate USD value calculations across all token-related models
Commonly-used Fields
contract_address: Essential for joining with transfer and swap datanameandsymbol: Critical for human-readable token identificationdecimals: Important for accurate value calculations and decimal adjustmentsource_chain: Essential for cross-chain analysis and bridge trackingcrosschain_token_contract: Important for multi-chain token correlationasset_identifier: Useful for unique token identification across systems
Columns
| Column Name | Data Type | Description |
|---|---|---|
| ASSET_IDENTIFIER | TEXT | The onchain representation of a token id, which may include source chain metadata if involved in a crosschain bridge event. Unique per token in the FT contract metadata table. |
| SOURCE_CHAIN | TEXT | The originating blockchain in a bridge transaction. |
| CROSSCHAIN_TOKEN_CONTRACT | TEXT | The contract address of the token on the source chain, where applicable. |
| CONTRACT_ADDRESS | TEXT | The address of the deployed contract for the token, nft, or other smart contract. |
| NAME | TEXT | The name of the asset. |
| SYMBOL | TEXT | Token symbol (e.g., ‘wNEAR’, ‘SWEAT’). This field contains the abbreviated identifier for the token as commonly used in trading pairs, price feeds, and user interfaces. Token symbols are typically 2-6 characters long and provide a quick way to identify tokens without using their full contract addresses. Examples include ‘NEAR’ for the native token, ‘wNEAR’ for wrapped NEAR, and ‘USDC’ for USD Coin. |
| DECIMALS | NUMBER | Number of decimal places for the token. This field specifies the precision of the token, indicating how many decimal places should be used when converting from raw on-chain amounts to human-readable values. For example, NEAR has 24 decimals, so 1 NEAR = 1e24 raw units. Most ERC-20 tokens use 18 decimals, while some tokens may use different precision based on their design requirements. |
| DIM_FT_CONTRACT_METADATA_ID | TEXT | A unique identifier for the record. |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp at which the record was initially created and inserted into this table. |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp at which this record was last modified by an internal process. |