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
    Example: "eth"
  • walletTypestring
    Filter by Wallet Type (e.g. custodial, hot)
  • walletIdsarray[string]
    Wallet Ids
  • requestTypestring
    Filter by Staking Request Type
    Enum: STAKE UNSTAKE CLAIM_REWARDS SWITCH_VALIDATOR UNSUPPORTED
  • requestStatusstring
    Filter by Staking Request status
    Enum: NEW PENDING_VALIDATORS READY PENDING_APPROVAL PENDING_BITGO_TRUST_APPROVAL PENDING FAILED REJECTED VALIDATOR_ACTIVATING PARTIAL_CONFIRMED CONFIRMED COOLDOWN WARMUP DELAYED_COOLDOWN DELAYED_WARMUP ETH_PARTIAL_EXITED ETH_EXITED
  • expandBuildParamsboolean
    True, if to include staking build params
  • pageintegerDefault: 1
    Page number for pagination
  • pageSizeintegerDefault: 20
    Page size for pagination
  • sortBystringDefault: -createdDate
    Sort By field
    Enum: -createdDate createdDate

200 Response

requests
Min items: >= 1 items
Max items: <= 500 items
gasPrice string
User overridden gas price to apply for the generated transactions for this request. GasPrice is in “base units”.
delegations array[ETH]
Min items: >= 1 items
Max items: <= 500 items
transactions array[Staking Transaction]
Min items: >= 1 items
Max items: <= 500 items
amount string
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 required
Staking Request Id.
clientId string
Optional clientId if passed into the request.
requestingUserId string required
The id of the user that created the staking request
enterpriseId string required
The id of the enterprise where the the staking request was created from
walletId string required
The id of the wallet where the staking request was created from
withdrawalAddress string required
Withdrawal Address
walletType string required
The type of wallet the staking request was created from (cold, custodial, hot)
type string required
The type of staking request.
Allowed values: STAKE UNSTAKE CLAIM_REWARDS SWITCH_VALIDATOR UNSUPPORTED
coin string required
The coin to be staked (ETH, MATIC, NEAR, SOL)
createdDate string <date-time>required
The date the staking request was created
status string required
The status of the staking request. For Eth the status will change from NEW to READY when a validator has been assigned to a the wallet's address.
Allowed values: NEW PENDING_VALIDATORS READY PENDING_APPROVAL PENDING_BITGO_TRUST_APPROVAL PENDING FAILED REJECTED VALIDATOR_ACTIVATING PARTIAL_CONFIRMED CONFIRMED COOLDOWN WARMUP DELAYED_COOLDOWN DELAYED_WARMUP ETH_PARTIAL_EXITED ETH_EXITED
statusModifiedDate string required
The last modified date the status changed
totalStaked string
The sum of the amounts of all confirmed staking transactions in this request
Example: 2000000
Match pattern: ^-?\d+$
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