REST API›Stake›Staking History

GET

Retrieve staking reward history in hourly or daily buckets, selected by range. Responses are paginated. Buckets without recorded accrual data are not guaranteed to have zero-reward rows. Enterprise queries include only staking wallets that the API user has permission to view.

Path Params

  • coin string enum required
    The staking asset.
    ADAAPTASIKAVACOSMOSATOMAVAXCAVAXPBABYBERABLDBSCBTCCOREDAOCOREUMCRONOSCSPRDOTEIGENETHFLRPHASHHYPEEVMINJECTIVEMATICNEAROSMOPOLPOLYXRETH-ROCKETSEISOMISOLSTORYSTXSUISUI:WALTAOTIATONTRXWETHWCTWFLRXDCZETA

Query Params

  • enterpriseId string
    The enterprise ID of the enterprise a user staked from.
  • walletId string
    The wallet ID of the wallet a user staked from. Either the enterpriseId or walletId need to be passed in.
  • delegationId string
    The delegation ID to filter rewards for.
  • aggregationLevel string enum

    The response shape depends on the aggregation level and the identifier provided:

    Request Response
    WALLET + walletId WalletLevelRewards: per time bucket for the specified wallet. Includes walletId.
    WALLET + enterpriseId, without walletId EnterpriseAccrual: enterprise total per coin and time bucket. No walletId; does not return separate wallet rows.
    DELEGATION + walletId DelegationLevelRewards: per delegation and time bucket for the specified wallet. Includes walletId and delegationId.
    DELEGATION + enterpriseId, without walletId DelegationLevelRewards: per delegation and time bucket across the enterprise wallets the API user can view. Includes walletId and delegationId.

    If both identifiers are provided, walletId takes precedence. Accepts uppercase (WALLET, DELEGATION) and lowercase (wallet, delegation) values.

    Defaults to WALLET

    WALLETDELEGATIONwalletdelegation
  • range string enum
    The time range for the data, either hourly or daily.
    HOURLYDAILY
  • startDate string date-time
    The start date to search from.
  • endDate string date-time
    The end date to search from.
  • page integer nullable
    The page number for pagination.

    >= 1

    Defaults to 1

  • pageSize integer nullable
    The page size for pagination.

    >= 1 · <= 100

    Defaults to 20

  • sortBy string enum
    Sort By field

    Defaults to -date

    -datedate

Responses

200
Successful Retrieving Staking History

Response Body

object

  • rewards array of objects
    An array of rewards.
    rewards object
    • reward string required
      The reward in base units.
    • coin string required
      The coin associated with the reward.
    • 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.
    • properties object
      Detailed reward information including consensus, transaction, and MEV rewards. Only populated for ETH delegations.
      properties object
      • consensusReward number
        Amount of rewards from consensus participation.
      • transactionReward number
        Amount of rewards from transaction fees.
      • mevReward number
        Amount of rewards from MEV (Maximum Extractable Value).
      • provider string
        The staking provider name.
  • 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
Bad Request

Response Body

object

  • error string
  • errorName string
  • reqId string
  • context object
401
Unauthorized

Response Body

object

  • error string
  • errorName string
  • reqId string
  • context object
403
Forbidden

Response Body

object

  • error string
  • errorName string
  • reqId string
  • context object
404
Not Found

Response Body

object

  • error string
  • errorName string
  • reqId string
  • context object
409
Conflict

Response Body

object

  • error string
  • errorName string
  • reqId string
  • context object
500
Server Error - Transient error please try again

Response Body

object

  • error string
  • errorName string
  • reqId string
  • context object