Pinax Logo/Datasets
SolanaRewards

Column Descriptions

for solana.rewards

13 rows
NameTypeDescription
reward_typeTEXT
block_previous_block_hashTEXT
pre_balanceNUMBER
block_parent_slotNUMBER
pubkeyTEXT
block_heightNUMBER
block_hashTEXT
block_timeTIMESTAMP_NTZ
block_slotNUMBER
commissionTEXT
post_balanceNUMBER
block_dateDATE
lamportsNUMBER

Sample Queries

Total Lamports Rewarded Daily
Calculates the total lamports rewarded each day.
SELECT
  block_date,
  SUM(lamports) AS total_lamports
FROM
  solana.rewards
GROUP BY
  block_date
ORDER BY
  block_date;
Top 10 Pubkeys with Highest Total Rewards
Identifies the top 10 public keys that have received the highest total rewards.
SELECT
  pubkey,
  SUM(lamports) AS total_rewards
FROM
  solana.rewards
GROUP BY
  pubkey
ORDER BY
  total_rewards DESC
LIMIT
  10;
Average Reward Amount by Reward Type
Calculates the average reward amount for each type of reward.
SELECT
  reward_type,
  AVG(lamports) AS avg_reward
FROM
  solana.rewards
GROUP BY
  reward_type;