Skip to main content

Table description

The stakings table includes all the data necessary to compute staking-related metrics for Validators, Nominators, Pools, and Pool Members. This is currently supported for Polkadot and Kusama Relay Chain only.

Table Schema

ColumnTypeDescription
yearINTEGERCalendar year of the record (partition column)
monthINTEGERCalendar month of the record (partition column)
sectionVARCHARThe pallet section for this staking record (e.g. Staking, NominationPools)
storageVARCHARThe specific storage item being tracked (e.g. Validators, Nominators)
block_numberBIGINTThe block number at which this staking snapshot was taken
tsTIMESTAMPTimestamp of the staking snapshot
eraBIGINTThe staking era number
address_ss58VARCHARSS58-encoded address of the validator, nominator, or pool member
address_pubkeyVARBINARYPublic key of the validator, nominator, or pool member
block_hashVARBINARYHash of the block at which the snapshot was taken
submitted_inBIGINTThe era in which the nominator’s nomination was submitted
suppressedBOOLEANWhether the validator is suppressed (excluded from election)
validator_totalDOUBLETotal stake backing this validator (own + nominated)
validator_ownDOUBLEValidator’s own bonded stake
validator_commissionDOUBLEValidator’s commission rate (0.0 to 1.0)
validator_reward_sharesDOUBLEProportion of total staking rewards earned by this validator
validator_reward_pointsBIGINTReward points earned by this validator in the era
validator_staking_rewardsDOUBLEStaking rewards earned by this validator in the era
total_stakedDOUBLETotal amount staked across all validators in the era
total_reward_pointsBIGINTTotal reward points across all validators in the era
total_staking_rewardsDOUBLETotal staking rewards distributed in the era
nominationpools_idBIGINTNomination pool ID
nominationpools_totalDOUBLETotal staked in the nomination pool
nominationpools_member_cntBIGINTNumber of members in the nomination pool
nominationpools_commissionDOUBLECommission rate of the nomination pool
nominationpools_rewardpoolsVARCHARJSON-encoded reward pool data for the nomination pool
member_bondedDOUBLEAmount bonded by a pool member
member_unbondedDOUBLEAmount in the process of unbonding for a pool member
member_shareDOUBLEPool member’s share of the pool’s total stake
targetsARRAY(VARCHAR)List of validator addresses targeted by this nominator
pvVARCHARProtocol version or parameter value
trackVARCHARGovernance track for OpenGov-related staking data
updated_atTIMESTAMPWhen this record was last updated in the database
ingested_atTIMESTAMPWhen this record was first ingested into the database

Table Sample