Request body for a withdrawal.

Withdrawals require the owner wallet signature (not the session key).

interface WithdrawRequest {
    amount: string;
    asset_id: AssetId;
    nonce: string;
    signature: Secp256k1Signature;
    to: Identity;
    trade_account_id: TradeAccountId;
}

Properties

amount: string

Amount to withdraw (chain integer string).

asset_id: AssetId

Asset ID to withdraw (0x-prefixed hex).

nonce: string

Current nonce (as string).

signature: Secp256k1Signature

Owner wallet signature over the withdraw signing bytes.

Destination identity for the withdrawn funds.

trade_account_id: TradeAccountId

The trade account contract ID.