REST APIStakeStaking History

GET

Retrieve staking reward history.

Path Params

  • coin string enum required
    The staking asset.
    ADAAPTASIKAVACOSMOSATOMAVAXCAVAXPBABYBERABLDBSCBTCCOREDAOCOREUMCRONOSCSPRDOTEIGENETHFLRPHASHINJECTIVEMATICNEAROSMOPOLPOLYXRETH-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 level of aggregation for rewards, accepts both uppercase (WALLET, DELEGATION) and lowercase (wallet, delegation) formats.

    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