Retrieve Staking Reward History

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

Retrieve staking staking reward history.

Path Parameters

  • coinstringRequired
    The coin to be staked (ETH, NEAR, SOL).

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.
  • 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
  • pageSizeinteger
    Page size for pagination (default 20)
  • pageinteger
    Page number for pagination (default 1)
  • sortBystring
    Sort By field (default date desc)

200 Response

rewards array[object]
An array of rewards
reward integer 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