Get staking reward history

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

Retrieve staking reward history.

Path Parameters

  • coinstringRequired
    The staking asset.
    Enum: ADA ASI ATOM AVAXC AVAXP BABY BERA BLD BSC BTC COREDAO COREUM CRONOS CSPR DOT EIGEN ETH HASH INJECTIVE MATIC NEAR OSMO POL POLYX RETH-ROCKET SEI SOMI SOL STX SUI SUI:WAL TAO TIA TON TRX WETH WCT WFLR ZETA

Query Parameters

  • enterpriseIdstring
    The enterprise ID of the enterprise a user staked from.
  • walletIdstring
    The wallet ID of the wallet a user staked from. Either the enterpriseId or walletId need to be passed in.
    Example: 59cd72485007a239fb00282ed480da1f
  • delegationIdstring
    The delegation ID to filter rewards for.
  • aggregationLevelstringDefault: WALLET
    The level of aggregation for rewards, accepts both uppercase (WALLET, DELEGATION) and lowercase (wallet, delegation) formats.
    Enum: WALLET DELEGATION wallet delegation
  • 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
    The page number for pagination.
    Minimum: >= 1
  • pageSizeintegerDefault: 20
    The page size for pagination.
    Minimum: >= 1
    Maximum: <= 100
  • 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.
delegationId string
The delegation ID, only present when aggregationLevel is delegation.
date string <date-time>required
The date and time of the reward.
page integer
The page number for paging purposes.
totalPages integer
The total number of pages for paging purposes.
totalElements integer
The number of elements per page used for paging purposes.

400 Response

error string
errorName string
reqId string
context object

401 Response

error string
errorName string
reqId string
context object

403 Response

error string
errorName string
reqId string
context object

404 Response

error string
errorName string
reqId string
context object

409 Response

error string
errorName string
reqId string
context object

500 Response

error string
errorName string
reqId string
context object