Solana - Block Rewards by Addresses
Returns block rewards on Solana, where height is above 0, sorted by block height: block height, iso8601, block hash, amount, reward type, currency address, currency name and 2 more fields.
What it returns
- block height
- iso8601
- block hash
- amount
- reward type
- currency address
- currency name
- currency symbol
- account
Filters
- height is above 0
The query
query (
$addresses: [String!]!
$blockHashes: [String!]
$limit: Int!
$offset: Int!
$from: ISO8601DateTime
$till: ISO8601DateTime
$fromHeight: Int = 0
) {
solana(network: solana) {
blockRewards(
options: { limit: $limit, offset: $offset, asc: "block.height" }
date: { since: $from, till: $till }
height: { gt: $fromHeight }
account: { in: $addresses }
blockHash: { in: $blockHashes }
) {
block {
height
timestamp {
iso8601
}
hash
}
amount
rewardType
currency {
address
name
symbol
}
account
}
}
}
Similar queries
- sol_blockrewards · Solana · blockRewards
- daily rewards drift protocol · Solana · blockRewards
- rewards in a block v1 · Solana · blockRewards
- rewards of an address v1 · Solana · blockRewards
- solana block reward · Solana · blockRewards