near.gov Table: fact_staking_pool_balances Type: View
Description
This table contains all staking pool balance changes on the NEAR Protocol blockchain, capturing the dynamic balance updates of staking pools as tokens are deposited, withdrawn, or rewards are distributed. The data includes balance amounts, pool addresses, and associated metadata, providing comprehensive tracking of staking pool liquidity and performance. This table provides the foundation for staking pool analytics, validator performance analysis, and pool health monitoring across the NEAR ecosystem.Key Use Cases
- Staking pool balance analysis and liquidity monitoring
- Validator performance tracking and pool comparison
- Staking pool health assessment and risk analysis
- Balance change pattern analysis and trend identification
- Cross-pool balance comparison and performance benchmarking
- Staking pool growth analysis and adoption tracking
- Governance participation analysis and voting power distribution
Important Relationships
- Links to
core.fact_transactionsthrough tx_hash for transaction context - Connects to
core.fact_blocksthrough block_id for temporal context - Provides balance data for
gov.fact_staking_pool_daily_balanceswith aggregated metrics - Supports
gov.fact_staking_actionswith balance impact analysis - Enables analysis in
stats.ez_core_metrics_hourlyfor staking metrics - Powers cross-pool analysis and validator performance comparison
Commonly-used Fields
tx_hash: Essential for linking to transaction details and verificationblock_timestamp: Primary field for time-series analysis and trend detectionbalance: Critical for pool balance analysis and liquidity assessmentaddress: Essential for staking pool identification and analysisreceipt_object_id: Important for action-level analysis and receipt contextblock_id: Useful for temporal ordering and block-level analysisinserted_timestamp: Important for data freshness and update tracking
Columns
| Column Name | Data Type | Description |
|---|---|---|
| TX_HASH | TEXT | Unique identifier (hash) of this transaction. |
| BLOCK_ID | NUMBER | The height of the chain this block corresponds with. |
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | The date and time at which the block began. |
| RECEIPT_OBJECT_ID | TEXT | Please note this column is being deprecated in favor of simply “receipt_id”. |
| ADDRESS | TEXT | The NEAR address of the staking pool. |
| BALANCE | FLOAT | The balance of a pool or address at a given block. |
| FACT_STAKING_POOL_BALANCES_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. |