Retrieve Staking Reward History

get/api/staking/v1/{coin}/reward-accrual-report

Retrieve staking staking reward history.

Path Parameters

  • coinstringRequired
    The staking asset.

Query Parameters

  • enterpriseIdstring
    The enterprise id representing the enterprise a user staked from
  • walletIdstring
    The wallet id representing the wallet a user staked from. Either the enterpriseId or walletId need to be passed in.
    Example: "59cd72485007a239fb00282ed480da1f"
  • rangestring
    The time range for the data either hourly or daily
  • startDatestring<date-time>
    The start date to search from
  • endDatestring<date-time>
    The end date to search from
  • pageintegerDefault: 1
    Page number for pagination
  • pageSizeintegerDefault: 20
    Page size for pagination
  • sortBystringDefault: -date
    Sort By field
    Enum: -date date

200 Response

rewards array[object]
An array of rewards
reward string required
The reward in "base units"
walletId string
The wallet Id
enterpriseId string
The enterprise Id
date string <date-time>required
The date time of the reward
page integer
Page number for paging purposes
totalPages integer
Total number of pages for paging purposes
totalElements integer
Number of elements per page used for paging purposes

400 Response

One of
code string
message string
status integer

401 Response

code string
message string
status integer

403 Response

code string
message string
status integer

404 Response

code string
message string
status integer

409 Response

code string
message string
status integer

500 Response

code string
message string
status integer