Block Rewards by Addresses_group_by

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

By Omkar_BQ · saved 27 January 2025 · run 1 time · 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, groupBy: false}
    ) {
      block {
        height
        timestamp {
          iso8601
        }
        hash
      }
      amount
      rewardType
      currency {
        address
        name
        symbol
      }
      account
    }
  }
}

Similar queries