Get the Historical Stake and Rewards of a Pool
Parameters
address
- Type: string
- Required: Yes
- Pattern:
^pool[a-z0-9]+$ - Default:
pool1af7dmzgcyp9kc5lyrtrtpsce58l6j5cjvc8wavkwmzlr53ym50v
A single public address to check
fromTime
- Type: int64
- Required: Yes
- Default:
1577836800
The Unix timestamp in seconds from which you wish to retrieve rewards.
toTime
- Type: int64
- Required: Yes
- Default:
1685491200
The Unix timestamp in seconds until which rewards are retrieved.
timeUnit
- Type: string
- Enum:
epoch,daily,weekly, ormonthly - Required: Yes
Responses
200
400
- Message: Invalid request
404
- Message: Resource not found
Example Request
curl --request POST \
--url https://svc.blockdaemon.com/reporting/staking/v1/cardano/mainnet/pool/history/pool1af7dmzgcyp9kc5lyrtrtpsce58l6j5cjvc8wavkwmzlr53ym50v \
--header 'X-API-Key: ••••' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"fromTime": 1577836800,
"toTime": 1685491200,
"timeUnit": "epoch"
}
'
Response Format
{
"status": "string",
"data": "array[] or object"
}