Retrieve Reward Claim History
GEThttps://staking-api.coredao.org//staking/rewards/claim_history
Returns a list of reward claim history by core address within a given round range. Limited to 100 rounds on each query.
Request
Query Parameters
coreAddress stringrequired
The core address to retrieve the reward claim history for.
startRound integerrequired
The starting round of the range for which the reward claim history is requested.
endRound integerrequired
The ending round of the range for which the reward claim history is requested.
Responses
- 200
- 400
Reward claim history retrieved successfully.
- application/json
- Schema
- Example (auto)
Schema
codestring
Status code of the response.
messagestring
Message providing additional details about the response.
data object
{
"code": "string",
"message": "string",
"data": {
"result": [
{
"stakedHashReward": "string",
"round": 0,
"gradeList": [
{
"rewardRate": 0,
"percentage": 0
}
],
"stakedCoreReward": "string",
"myStakeRate": {
"stakeRatio": "string",
"percent": "string"
},
"totalRewardClaimed": "string",
"stakedBTCReward": "string"
}
]
}
}
Invalid input parameters or core address.
- application/json
- Schema
- Example (auto)
Schema
codestring
Error code of the response.
messagestring
Error message explaining the issue.
{
"code": "string",
"message": "string"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://staking-api.coredao.org/staking/rewards/claim_history");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear