Interface RestRequestWithdrawFundsFromManagedAccountByQuantitySDK

Request a withdrawal for a given wallet.

interface RestRequestWithdrawFundsFromManagedAccountByQuantitySDK {
    nonce: string;
    wallet: string;
    managerWallet: string;
    quantity: string;
    minimumQuantity: string;
    maxShares: string;
    maximumGasFee: string;
    managedAccount: string;
    managedAccountPayload: string;
    bridgeTarget: BridgeTarget;
}

Hierarchy (view full)

Properties

nonce: string

User data and trade endpoints requests must include a nonce.

  • MUST be a version 1 UUID
  • Nonces may be supplied with or without hyphens.

Remarks

Version 1 UUIDs encode a timestamp in addition to other unique information, and thus serve both to prevent replay attacks as well as to enforce request timing. As a result, nonces MUST be generated at the time of a request.

wallet: string

The wallet address to use for the request.

managerWallet: string

Address of wallet associated with Managed Account from which funds will be withdrawn

quantity: string

Withdrawal amount in asset terms, fees are taken from this value

minimumQuantity: string

Minimum acceptable withdrawal amount in asset terms

maxShares: string

Maximum number of shares to burn to create withdrawal amount

maximumGasFee: string

Maximum acceptable fee that can be deducted from withdrawn quantity in asset terms

managedAccount: string

Address of Managed Account contract

managedAccountPayload: string

ABI-encoded parameters to supply specific Managed Account contract`

bridgeTarget: BridgeTarget

The bridge target for the withdrawal of funds.

See

enum BridgeTarget