Skip to content

@swapped/connect-sdk / core / WalletTransferQuote

Type Alias: WalletTransferQuote ​

WalletTransferQuote = object

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

Properties ​

amountIn ​

amountIn: object

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

Amount the user sends (plain decimal, never scientific notation).

crypto ​

crypto: string

fiat? ​

optional fiat?: string | null


amountOut? ​

optional amountOut?: object

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

Amount expected out after swap/bridge, when applicable.

crypto ​

crypto: string

Plain decimal crypto amount (e.g. 0.00000004, never 4e-8).

fiat? ​

optional fiat?: string | null

network ​

network: Network

symbol ​

symbol: TokenSymbol


estimatedTimeSeconds? ​

optional estimatedTimeSeconds?: number

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

Estimated completion time in seconds.


flow ​

flow: "direct" | "swap" | "bridge"

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

Flow the quote applies to.


networkFee? ​

optional networkFee?: { amount: string; symbol: TokenSymbol | "USD"; tokenAddress: string | null; } | null

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

Network / swap fee for display. Swap: fiat from route.feeUsd. Bridge: network_fee_usd.

Union Members ​

Type Literal ​

{ amount: string; symbol: TokenSymbol | "USD"; tokenAddress: string | null; }

amount ​

amount: string

symbol ​

symbol: TokenSymbol | "USD"

Fee asset ticker (token or USD for quote feeUsd).

tokenAddress ​

tokenAddress: string | null


null


protocolFeeFiat? ​

optional protocolFeeFiat?: string | null

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

Protocol fee in fiat (currently USD) when the quote exposes one.


raw? ​

optional raw?: unknown

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

Opaque quote payload from the swap/bridge quote API. Display / debug only.