Retrieve staking requests and staking transactions for a given enterprise and query params

get/api/staking/v1/enterprises/{enterpriseId}/requests/transactions

Retrieve staking requests and staking transactions for a given enterprise and query params.

Path Parameters

  • enterpriseIdstringRequired
    The enterprise id

Query Parameters

  • coinstring
    Filter by coin (this is important to support L2 level coins within one wallet)
  • walletTypestring
    Filter by Wallet Type (e.g. custodial, hot)
  • walletIdsarray
    Wallet Ids
  • requestStatusstring
    Filter by Staking Request status
  • expandBuildParamsboolean
    Flag to include staking build params
  • pageinteger
    Page number for pagination (default 1)
  • pageSizeinteger
    Page size for pagination (default 20)
  • sortBystring
    Sort By field (default created date desc)

200 Response

requests
Min items: >= 1 items
Max items: <= 500 items
gasPrice integer
User overridden gas price to apply for the generated transactions for this request. GasPrice is in “base units”.
delegations array[object]
Min items: >= 1 items
Max items: <= 500 items
transactions array[object]
Min items: >= 1 items
Max items: <= 500 items
amount integer
Amount to stake in “base units” (i.e. Wei for ETH) For Ethereum the amounts need to be a multiple of 32 Eth (32000000000000000000 Wei). For Testnet the 32 Eth multiple restriction does not apply.
id string
Staking Request Id.
clientId string
Optional clientId if passed into the request.
requestUserId string
The id of the user that created the staking request
enterpriseId string
The id of the enterprise where the the staking request was created from
walletId string
The id of the wallet where the staking request was created from
withdrawalAddress string
Withdrawal Address
walletType string
The type of wallet the staking request was created from (cold, custodial, hot)
type string
The type of staking request. The types are STAKE and UNSTAKE
coin string
The coin to be staked (ETH, NEAR, SOL)
createdDate string
The date the staking request was created
status string
The status of the staking request (NEW, READY, INITIATED, PARTIAL CONFIRM, CONFIRM, REJECTED). For Eth the status will change from NEW to READY when a validator has been assigned to a the wallet's address.
statusModifiedDate string
The last modified date the status changed
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