List reward summaries
Get a list of reward summaries where the reward amount is the total rewards received over all epochs per party ID and asset ID. Request parameters are optional party ID and asset ID. If no data is provided, all reward summaries will be returned grouped by party and asset ID.
Query Parameters
Restrict the reward summary to rewards paid to the given parties.
Restrict the reward summary to rewards paid in the given assets.
Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.
If paging forwards, the cursor string for the last row of the previous page.
Number of records to be returned that sort less than row identified by cursor supplied in 'before'.
If paging forwards, the cursor string for the first row of the previous page.
Whether to order the results with the newest records first. If not set, the default value is true.
- 200
- 500
- default
A successful response.
Schema
summaries object[]
{
"summaries": [
{
"amount": "string",
"assetId": "string",
"partyId": "string"
}
]
}
An internal server error
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /api/v2/rewards/summaries
Request
Request
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/rewards/summaries' \
-H 'Accept: application/json'
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/rewards/summaries' \
-H 'Accept: application/json'
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/rewards/summaries' \
-H 'Accept: application/json'
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/rewards/summaries' \
-H 'Accept: application/json'