near.gov Table: dim_staking_pools Type: View
Description
This table contains comprehensive metadata for staking pools on the NEAR Protocol blockchain, including pool addresses, owners, reward fee structures, and pool creation details. The data covers all staking pools that participate in NEAR’s proof-of-stake consensus mechanism, providing essential context for staking analysis, validator performance tracking, and governance participation. This dimension table supports all staking-related analytics by providing standardized pool information and enabling proper staking pool categorization and analysis.Key Use Cases
- Staking pool identification and metadata enrichment
- Validator performance analysis and pool comparison
- Staking pool fee structure analysis and optimization
- Pool creation and lifecycle tracking
- Cross-pool performance benchmarking
- Staking pool discovery and participation analysis
- Governance participation tracking and analysis
Important Relationships
- Enriches
gov.fact_staking_actionswith pool metadata and context - Supports
gov.fact_staking_pool_balanceswith pool identification - Provides metadata for
gov.ez_staking_actionswith enhanced pool context - Enables analysis in
stats.ez_core_metrics_hourlyfor staking metrics - Supports cross-pool analysis and validator performance comparison
- Powers governance analytics and staking participation analysis
Commonly-used Fields
address: Essential for joining with staking action and balance dataowner: Critical for validator identification and ownership analysisreward_fee_fraction: Important for fee structure analysis and optimizationtx_hash: Essential for pool creation transaction linking and verificationblock_timestamp: Primary field for time-series analysis and pool lifecycle trackingtx_type: Important for pool operation classification and analysisinserted_timestamp: Useful for pool discovery timeline analysis
Columns
| Column Name | Data Type | Description |
|---|---|---|
| TX_HASH | TEXT | Unique identifier (hash) of this transaction. |
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | The date and time at which the block began. |
| OWNER | TEXT | The account of the staking pool owner. |
| ADDRESS | TEXT | The pool address delegated into. |
| REWARD_FEE_FRACTION | VARIANT | An object representing the fraction of the reward fee taken by the staking pool. |
| TX_TYPE | TEXT | The type of transaction involving this staking pool. |
Either "Create" for staking pool creation or "Update" for reward_fee_fraction updates. | ||
| DIM_STAKING_POOLS_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. |