Get Historical Rewards
Retrieves historical staking reward data for specified addresses, including transaction hashes, unique IDs (UTXO or node), and the staked amount with start/end timestamps. The response also provides asset details (identifier, name, symbol, etc.), reward amounts, and reward types (e.g., DELEGATOR), supporting thorough audits and portfolio integrations.
💡 Compute Unit Value: 50 (Fixed)
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/chain/gethistoricalrewards
- AuthAPI key in header X-API-Key
Query parameters
The unique ID to direct queries or transactions to the correct blockchain. Find more here.
The abbreviated chain name for queries or transactions.
Comma-separated value of user addresses.
Token to fetch the next page of data, found at the end of the response.
The sorting order for transactions. Either 'asc' or 'desc'.
A currency symbol to convert the amount into, such as ['USD', 'EUR']. This parameter is optional and can be used to get the value in single fiat currency.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"historicalRewards": [
{
"addresses": [
"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg"
],
"txHash": "2mTm1C6vWjZimKUds7UwocLEyHSA8AMpx6uUbEf4ApuvxaDdjU",
"utxoId": "zkB6uffuTxnYTVfpEYTaj6VeiqBK5Pd38hTroz99q3xW4mBWn",
"outputIndex": 5,
"amountStaked": "20250000000000",
"nodeId": "NodeID-Le5rVEBBPdgYEcEJpvYeKo36hRs75WE5S",
"startTimestamp": 1608624860,
"endTimestamp": 1615247434,
"reward": {
"assetId": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
"name": "Avalanche",
"symbol": "AVAX",
"denomination": 9,
"type": "secp256k1",
"amount": "20573884941",
"prices": {
"cny": [
{
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": "172.60229554545396"
}
]
}
},
"rewardType": "VALIDATOR_FEE",
"rewardTxHash": "eD3oKFuC6rScRRfGdmwqtXxYz72Qjin8Pm5CT9jt1o8Zm7WLg"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.