Coin on Point

How to verify Solana staking rewards for an epoch

Look up a Solana stake account’s epoch reward, interpret the lamport amount and check what a null result means with a reproducible mainnet example.

A Solana reward. Three-layer diagram showing Stake account, Epoch, Amount credited.
Use the stake account and epoch to look up what Solana recorded.

To verify a native Solana staking reward, look up the public stake account and the specific epoch with Solana's getInflationReward method. The result's amount is the credited reward in lamports. Divide by one billion for SOL. A null result means the endpoint returned no reward object for that account and epoch.

Find the stake account and epoch

  1. In your wallet or explorer, open the native Solana staking position and copy the stake account's public address. It can differ from your wallet's main address, and a validator's vote account can have its own separate reward.
  2. Choose the completed epoch you want to check and confirm the network. This guide's example uses mainnet-beta. Omitting the epoch asks the RPC node for the preceding epoch, which changes over time.
  3. Look up the stake account and epoch. Read amount for the credited reward and postBalance for the stake account balance after the reward was applied.

This approach verifies a protocol credit to a native stake account. A staking provider or liquid staking token can report your position another way. See the Solana staking guide if you need to identify which account controls the position.

Reproduce a mainnet reward

The example uses this public Solana stake account: CZsCfbvWrHa1MmGEiPdfnT74CgxPGAACK6cP7uZUoVpM. Use epoch 1004 and the finalized commitment. We checked the result against Solana's public mainnet endpoint on .

Solana mainnet-beta reward for one public stake account in epoch 1004
Result fieldRecorded value
Epoch1004
Effective slot434,160,289
Reward amount29,061,299,026 lamports = 29.061299026 SOL
Post-reward balance101,152,141,407,445 lamports = 101,152.141407445 SOL
Validator commission fieldThe endpoint returned 500 basis points (5%) in commissionBps and null in commission. The reward amount is already the credited amount.
See the read-only request

Send the following JSON-RPC body as a POST request with content type application/json to https://api.mainnet-beta.solana.com. The request needs only a public address and makes no wallet changes.

{"jsonrpc":"2.0","id":1,"method":"getInflationReward","params":[["CZsCfbvWrHa1MmGEiPdfnT74CgxPGAACK6cP7uZUoVpM"],{"epoch":1004,"commitment":"finalized"}]}

The amount is a historical credit, with its own position size, validator and epoch. It gives you something to verify and does not predict what another stake account will earn.

Read a null or unavailable result

On the same endpoint, changing the example request to epoch 1005 returned [null] for this stake account. That means the response contains no reward object for this lookup. Before drawing a conclusion, verify the network, check that the address is a stake account and confirm whether its delegation was active in the requested epoch.

An error about an old block being unavailable is a different result. Public RPC nodes may retain different amounts of history. Use an endpoint that serves the relevant epoch and compare the requested parameters. For a hypothetical estimate instead of a historical check, use the staking rewards calculator.

Sources