Retrieve Staking Delegation Accrual History

get/api/staking/v1/{coin}/wallets/{walletId}/delegations/accruals

Retrieve staking delegation accrual history.

Path Parameters

  • coinstringRequired
    The staking asset.
  • walletIdstringRequired
    The wallet id representing the wallet a user staked from. Either the enterpriseId or walletId need to be passed in.
    Example: "59cd72485007a239fb00282ed480da1f"

Query Parameters

  • delegationIdsstring
    Delegation ids
  • 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: -createdDate
    Sort By field
    Enum: -createdDate createdDate

200 Response

accruals array[object]
An array of delegation accruals
rewardsReceived string
Total rewards received over lifetime of the wallet
delegated string
Total delegated (staked)
pendingDelegated string
Total pending to be delegated (staked)
pendingUndelegated string
Total pending to be undelegated (unstaked)
spendable string
Total spendable (withdrawable) amount in the wallet
locked string
Total amount locked but not delegated (staked). Example is staking rewards that are not re-staked and compounding
delegationId string
The delegation Id
delegationAddress string
The delegation Address
withdrawalAddress string
The withdrawal address
walletId string
The wallet Id
enterpriseId string
The enterprise Id
coin string
The staking asset
date string <date-time>
The date time of the accrual record
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