/cosmos/distribution/v1beta1/delegators/{delegator_addr}/rewards - Akash
Example code for the cosmos/distribution/v1beta1/delegators/{delegator_addr}/rewards REST method. Complete guide on how to use cosmos/distribution/v1beta1/delegators/{delegator_addr}/rewards REST meth
Returns the total outstanding staking rewards for a delegator across all validators, with a per-validator breakdown.
Endpoint
GET /cosmos/distribution/v1beta1/delegators/{delegator_addr}/rewardsPath Parameters
Parameter
Type
Description
delegator_addr
string
Delegator bech32 address (akash1…)
Example
export AKASH_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
curl "${AKASH_REST}cosmos/distribution/v1beta1/delegators/akash17xpfvakm2amg962yls6f84z3kell8c5lazw8j8/rewards"Response
{
"rewards": [],
"total": []
}Response Fields
Field
Type
Description
rewards
array
Per-validator rewards
total
array
Total accumulated rewards
Use Cases
Reward Display: Show claimable rewards
Claim Flows: Decide when to claim
Accounting: Track accrual
Error Handling
Error
Message
Description
400 / Bad request
Bad request
A parameter was invalid
403 / RBAC: access denied
Access denied
The GetBlock access token is missing or incorrect
Previous/cosmos/distribution/v1beta1/community_pool - Akash
Next/cosmos/gov/v1/proposals/{proposal_id} - Akash
Last updated
Was this helpful?