Skip to content

@swapped/connect-sdk / core / WalletTransferPlan

Type Alias: WalletTransferPlan

WalletTransferPlan = object

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

Resolved deposit plan for a wallet source token.

Properties

bridgeDestinations?

optional bridgeDestinations?: WalletTransferSupportedCurrency[]

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

Bridge destinations the caller may pick from (supportedTo). Omitted on flow: 'direct'. Present when resolve consulted bridge support.


destination

destination: WalletTransferDestination | null

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

Destination for the flow, or null when unavailable.


flow

flow: WalletTransferFlow

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

Selected product flow.


issues

issues: WalletTransferIssue[]

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

Soft failures / missing-route diagnostics.


reason

reason: WalletTransferReason

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

Why this flow was selected.


restrictions?

optional restrictions?: WalletTransferRestrictions

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

Swap/bridge capability snapshot used during resolve. Omitted on flow: 'direct' — direct resolve never loads swap/bridge support. Present for swap / bridge / unavailable.


source

source: object

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

Connected wallet + source token the user is spending.

address

address: string

Sender wallet address.

decimals?

optional decimals?: number

Source token decimals when known from balances.

network

network: Network

Source network.

provider

provider: IntegrationProvider | null

Integration provider when known.

symbol

symbol: TokenSymbol

Source token symbol.

tokenAddress

tokenAddress: string | null

Source token contract address, or null for native.

transport

transport: "injected" | "walletconnect"

How the wallet is connected.

walletId

walletId: WalletId

Connected wallet instance id.