solana block reward

Returns the latest 100 block rewards on Solana, where account is 5aMDGN…Nerh, reward type is Staking and date since 2025-02-01: amount, reward type and unixtime.

By gaurav · saved 27 February 2025 · Bitquery API v1

What it returns

Filters

The query

query BlockRewardsQuery($accounts: [String!], $limit: Int!, $offset: Int!) {
  solana {
    blockRewards(
      rewardType: {is: Staking}
      account: {in: $accounts}
      date:{since:"2025-02-01"}
      options: {limit: $limit, offset: $offset, desc: "time.unixtime"}
    ) {
      amount
      rewardType
      time {
        unixtime
      }
    }
  }
}

Variables

{
  "accounts": [
    "5aMDGNuSowxNJF5zmpBAMQgJxYbwgv3czGomQkyoNerh"
  ],
  "limit": 100,
  "offset": 0
}

Similar queries