Retrieve Reward Distribution of a Round
GEThttps://staking-api.coredao.org//staking/summary/rewards
Returns the reward distribution for a specific staking round, including overall rewards distributed, burnt rewards, commission fees, and staking sharing.
Request
Query Parameters
round integerrequired
The round number for which reward distribution is being requested.
Responses
- 200
- 400
Reward distribution for the round retrieved successfully.
- application/json
- Schema
- Example (auto)
Schema
statusinteger
Status code indicating the result of the operation.
messagestring
Additional information or message about the response.
result object
{
"status": 0,
"message": "string",
"result": {
"round": 0,
"overallRewardsDistributed": 0,
"rewardsBurnt": 0,
"rewardsCommissionFees": 0,
"rewardsStakingSharing": 0
}
}
An error occurred while retrieving the reward distribution.
- application/json
- Schema
- Example (auto)
Schema
statusinteger
Status code of the error response.
messagestring
Error message explaining the issue.
{
"status": 0,
"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/summary/rewards");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear