Stake account rewards
Returns a list of staking-related rewards for the specified stake key (pool member
or leader
rewards, deposit refund
)
Path Parameters
Bech32 encoded stake/reward address ('stake1...')
Query Parameters
The max number of results per page
The order in which the results are sorted (by epoch number)
Pagination cursor string, use the cursor included in a page of results to fetch the next page
Header Parameters
Large numbers returned as strings if set to true
- 200
- 400
- 500
Staking rewards for the specified stake key (pool-member and pool-leader rewards, deposit refunds)
Schema
- Array [
- ]
data object[] required
Endpoint response data
amount object required
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
integer
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
integer
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
number
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
string
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
Epoch in which the reward was earned
Bech32 encoded pool ID (if relevant to reward type)
Epoch at which the reward is spendable
Possible values: [member
, leader
, refund
]
Staking-related reward type
last_updated object required
Details of the most recent block processed by the indexer (aka chain tip); that is, the data returned is correct as of this block in time.
Hex-encoded hash of the most recently processed block (aka chain tip)
Absolute slot of the most recently processed block (aka chain tip)
UTC timestamp of when the most recently processed block was minted
Pagination cursor
{
"data": [
{
"amount": 0,
"earned_epoch": 0,
"pool_id": "string",
"spendable_epoch": 0,
"type": "member"
}
],
"last_updated": {
"block_hash": "string",
"block_slot": 0,
"timestamp": "string"
},
"next_cursor": "string"
}
{
"data": [
{
"type": "leader",
"earned_epoch": 68,
"spendable_epoch": 70,
"amount": 576671933,
"pool_id": "pool1egfg26w0syqly9qc65hz33gqv2qrzyka8tfue3ccsk3c73a56jp"
},
{
"type": "leader",
"earned_epoch": 69,
"spendable_epoch": 71,
"amount": 567061410,
"pool_id": "pool1egfg26w0syqly9qc65hz33gqv2qrzyka8tfue3ccsk3c73a56jp"
},
{
"type": "leader",
"earned_epoch": 70,
"spendable_epoch": 72,
"amount": 559723577,
"pool_id": "pool1egfg26w0syqly9qc65hz33gqv2qrzyka8tfue3ccsk3c73a56jp"
},
{
"type": "leader",
"earned_epoch": 71,
"spendable_epoch": 73,
"amount": 521198513,
"pool_id": "pool1egfg26w0syqly9qc65hz33gqv2qrzyka8tfue3ccsk3c73a56jp"
},
{
"type": "leader",
"earned_epoch": 72,
"spendable_epoch": 74,
"amount": 541678766,
"pool_id": "pool1egfg26w0syqly9qc65hz33gqv2qrzyka8tfue3ccsk3c73a56jp"
}
],
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "82b6eee6d8bc3ca82e450d94bed5bfbb7859417840e3db8a3bf639a46bcbe379",
"block_slot": 32265228
},
"next_cursor": null
}
Malformed query parameters
Internal server error