Get a Wallet Rebalance Event

get/api/v2/admin/wallet/{walletId}/rebalance/{id}

Get a wallet rebalance event

Path Parameters

  • walletIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters
  • idstringRequired
    Min length: >= 1 characters

200 Response

id string required
Min length: >= 1 characters
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
creator string required
The Trust operator user ID that initiated the creation
Min length: >= 1 characters
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
createDate string <date-time>required
Example: 2021-09-30T00:00:00.000Z
sourceWallet string required
The Object ID of the wallet that should be rebalanced
Min length: >= 1 characters
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
clonedWallets array[object] required
id string required
Min length: >= 1 characters
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
label string required
The label that is either expected to be used or used for the cloned wallet
Min length: >= 1 characters
state string required
The wallet clone state
Allowed values: proposed pendingInitialization initialized failed
targetWalletBalanceUSDString string required
The maximum allowed wallet balance in USD that the source and all clone wallets should be under once the rebalacing is done
Min length: >= 1 characters
plannedTransactions array[object] required
A list of basic information about all the transactions the rebalance would create
coin string required
A cryptocurrency symbol or token ticker symbol
Min length: >= 1 characters
Example: btc
valueString string required
Min length: >= 1 characters
walletId string required
Min length: >= 1 characters
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
totalFeeEstimate string
Total fees estimate for initializing all wallets + transaction fees
state string required
The state of the document
Allowed values: created pendingWalletCreation pendingWalletInitialization pendingUpdate pendingTransactionInitiation done cancelled
rebalanceErrors array[object] required
errorType string required
The step in which the error occured
Allowed values: walletCreate walletInit txInit
errorMessage string required
The error message
Min length: >= 1 characters
reqId string
The API request ID
errorObject dictionary<string, any>
A record of the error
pendingApprovals array[string] required

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

403 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id