solana.gov Table: fact_rewards_staking Type: Base Table
Description
This table tracks staking rewards distributed to stake accounts on the Solana blockchain. It captures reward events, amounts, and distribution patterns, enabling comprehensive analysis of staking returns, validator performance, and reward distribution across the network.Key Use Cases
- Analyze staking reward distribution and returns
- Track validator performance and reward generation
- Study staking participation and reward patterns
- Monitor stake account reward accumulation
- Support staking analytics and return optimization
Important Relationships
- Links to
gov.fact_stake_accountsthrough stake account addresses for reward analysis - Connects to
gov.fact_validatorsthroughvote_pubkeyfor validator performance - References
gov.dim_epochfor epoch-based reward analysis - Provides reward context for staking analytics
Commonly-used Fields
block_timestamp: Timestamp when the reward was distributedtx_id: Unique transaction identifier for the rewardstake_account: Address of the stake account receiving the rewardvote_pubkey: Vote account associated with the rewardreward_amount: Amount of SOL distributed as rewardepoch: Epoch when the reward was earned
Columns
| Column Name | Data Type | Description |
|---|---|---|
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | The timestamp (UTC) at which the block was produced on the Solana blockchain. This field is recorded as a TIMESTAMP data type and represents the precise moment the block was finalized and added to the chain. It is essential for time-series analysis, block production monitoring, and aligning transaction and event data to specific points in time. Used extensively for analytics involving block intervals, network activity trends, and historical lookups. Format: YYYY-MM-DD HH:MI:SS (UTC). |
| BLOCK_ID | NUMBER | A unique identifier for the block in which this transaction was included on the Solana blockchain. Typically a sequential integer or hash, depending on the data source. Used to group transactions by block and analyze block-level activity. |
- 123456789
- Supports block-level analytics, such as block production rate and transaction throughput.
- Useful for tracing transaction inclusion and block explorer integrations.
- All transactions with the same ‘block_id’ share the same ‘block_timestamp’. | | STAKE_PUBKEY | TEXT | The address of the stake account. This field identifies the specific account that holds staked SOL and participates in the staking system.
- USDC:
50.00(represents 50 USDC tokens)
- Used to analyze transaction volumes, user activity, and protocol flows.
- Supports aggregation of asset movement for analytics and reporting. | | POST_BALANCE_SOL | FLOAT | The amount of SOL in the account after event | | FACT_REWARDS_STAKING_ID | TEXT | A unique identifier for the record. | | MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp when this transaction record was last updated in the analytics database. Used for tracking updates and supporting incremental model logic. Format: YYYY-MM-DD HH:MI:SS. Not derived from the blockchain, but from the ETL process. | | INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp when this transaction record was first inserted into the analytics database. Used for data freshness tracking and incremental model logic. Format: YYYY-MM-DD HH:MI:SS. Not derived from the blockchain, but from the ETL process. | | DIM_EPOCH_ID | TEXT | Join key to the dim_epoch table |