Skip to content

@swapped/connect-sdk / core / ExecuteWalletTransferRequest

Type Alias: ExecuteWalletTransferRequest ​

ExecuteWalletTransferRequest = object

Defined in: src/types/wallets.transfer.types.ts:264

Properties ​

amount ​

amount: string

Defined in: src/types/wallets.transfer.types.ts:268

Human-readable crypto amount from the UI.


clientTxId? ​

optional clientTxId?: string

Defined in: src/types/wallets.transfer.types.ts:270

Correlation id for status events. Generated when omitted.


onClientTxId? ​

optional onClientTxId?: (clientTxId) => void

Defined in: src/types/wallets.transfer.types.ts:272

Called with the id that will be used (provided or generated).

Parameters ​

clientTxId ​

string

Returns ​

void


onStatus? ​

optional onStatus?: (event) => void

Defined in: src/types/wallets.transfer.types.ts:274

Per-call status events. Same payload as wallets:transferStatus.

Parameters ​

event ​

WalletTransferStatusEvent

Returns ​

void


plan ​

plan: WalletTransferPlan

Defined in: src/types/wallets.transfer.types.ts:266

Previously resolved plan.