Block Rewards by Addresses

Returns block rewards on Solana: block height, iso8601, block hash, amount, reward type, currency address, currency name and 2 more fields.

By Nick · saved 24 January 2025 · Bitquery API v1

What it returns

The query

  query (
    $addresses: [String!]!
    $limit: Int!
    $offset: Int!
    $fromHeight: Int = 0
  ) {
    solana(network: solana) {
      blockRewards(
        height: { gteq: $fromHeight }
        account: { in: $addresses }
        options: { limit: $limit, offset: $offset }
      ) {
        block {
          height
          timestamp {
              iso8601
          }
          hash
        }
        amount
        rewardType
        currency {
          address
          name
          symbol
        }
        account
      }
    }
  }

Similar queries