Skip to main content
Returns the inflation / staking reward for a list of addresses for an epoch.

On ThorNode

Forwarded to the upstream node with a 10 s timeout and one retry on a transport error. Needs the first block of the requested epoch. On the current upstream that block is usually outside the retained ledger window (see getFirstAvailableBlock), so the call returns -32603 upstream returned an invalid response. Use an archival provider for historical rewards.

Parameters

array
required
List of Solana addresses (validators or delegators) to retrieve staking rewards for, as base-58 encoded strings.
string
The commitment level for the request.
  • confirmed
  • finalized
number
Specific Solana epoch number to retrieve rewards for. If omitted, returns the most recently distributed rewards.
number
The minimum slot that the request can be evaluated at.

Response

array
Array of detailed staking reward information for each requested account, in the same order as requested.