Skip to main content
Version: testnet (v0.71)

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
    partyId string

    Party ID for which to list rewards, if provided.

    assetId string

    Asset ID for which to list rewards, if provided.

    pagination.first int32

    Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.

    pagination.after string

    If paging forwards, the cursor string for the last row of the previous page.

    pagination.last int32

    Number of records to be returned that sort less than row identified by cursor supplied in 'before'.

    pagination.before string

    If paging forwards, the cursor string for the first row of the previous page.

    pagination.newestFirst boolean

    Newest records first, older records last, default is true.

Responses

A successful response.


Schema
    summaries object[]

    Page of rewards details data and corresponding page information.

    amount string
    assetId string
    partyId string
Loading...