near.price Table: ez_prices_hourly Type: View
Description
This table provides a comprehensive view of hourly price data for all assets on the NEAR Protocol blockchain, combining both native NEAR token prices and cross-chain bridged asset prices. The table includes token metadata, decimal precision, and price information, making it the primary table for price analytics and value calculations. This easy view eliminates the need for complex joins and calculations, providing ready-to-use data for price analysis, market monitoring, and economic calculations across the NEAR ecosystem.Key Use Cases
- Asset price monitoring and market trend analysis
- Token value calculations and USD conversion
- Cross-asset price comparison and correlation analysis
- Market volatility assessment and risk analysis
- Portfolio value tracking and performance calculation
- DeFi protocol value analysis and economic impact assessment
- Cross-chain asset price correlation and arbitrage analysis
Important Relationships
- Combines data from
price.fact_prices_ohlc_hourlywith enhanced metadata - Provides price data for all token-related models requiring USD values
- Supports
core.ez_token_transferswith accurate price information - Enables
defi.ez_dex_swapswith swap value calculations - Powers
defi.ez_bridge_activitywith cross-chain value analysis - Supports
stats.ez_core_metrics_hourlywith price-based metrics - Provides foundation for all economic analysis and value calculations
Commonly-used Fields
hour: Essential for time-series analysis and trend detectionprice: Critical for value calculations and economic analysistoken_addressandsymbol: Important for asset identification and filteringblockchain: Useful for cross-chain price analysis and comparisonis_native: Important for distinguishing native vs bridged assetsdecimals: Essential for accurate value calculations and decimal adjustmentis_deprecatedandis_imputed: Useful for data quality assessment
Columns
| Column Name | Data Type | Description |
|---|---|---|
| HOUR | TIMESTAMP_NTZ | Hour that the price was recorded at. |
| TOKEN_ADDRESS | TEXT | The specific address representing the asset on a specific platform. This will be NULL if referring to a native asset. |
| SYMBOL | TEXT | The symbol of asset. |
| NAME | TEXT | |
| DECIMALS | NUMBER | The number of decimals for the asset. May be NULL. |
| PRICE | FLOAT | Closing price of the recorded hour in USD. |
| BLOCKCHAIN | TEXT | The Blockchain, Network, or Platform for this asset. |
| IS_NATIVE | BOOLEAN | A flag indicating assets native to the respective blockchain. |
| IS_DEPRECATED | BOOLEAN | A flag indicating if the asset is deprecated or no longer supported by the provider. |
| IS_IMPUTED | BOOLEAN | A flag indicating if the price was imputed, or derived, from the last arriving record. This is generally used for tokens with low-liquidity or inconsistent reporting. |
| TOKEN_IS_VERIFIED | BOOLEAN | Boolean flag indicating whether the token or price record is verified by Flipside’s crosschain curation process. Verified tokens are prioritized for analytics and are considered reliable for most use cases. Unverified tokens may be incomplete, deprecated, or experimental. |
| 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. |
| EZ_PRICES_HOURLY_ID | TEXT | A unique identifier for the record. |