Appearance
@swapped/connect-sdk / core / WalletTransferQuote
Type Alias: WalletTransferQuote
WalletTransferQuote =
object
Defined in: src/types/wallets.transfer.types.ts:182
Properties
amountIn
amountIn:
object
Defined in: src/types/wallets.transfer.types.ts:186
Amount the user sends.
crypto
crypto:
string
fiat?
optionalfiat?:string|null
amountOut?
optionalamountOut?:object
Defined in: src/types/wallets.transfer.types.ts:188
Amount expected out after swap/bridge, when applicable.
crypto
crypto:
string
fiat?
optionalfiat?:string|null
network
network:
Network
symbol
symbol:
TokenSymbol
estimatedTimeSeconds?
optionalestimatedTimeSeconds?:number
Defined in: src/types/wallets.transfer.types.ts:207
Estimated completion time in seconds.
flow
flow:
"direct"|"swap"|"bridge"
Defined in: src/types/wallets.transfer.types.ts:184
Flow the quote applies to.
networkFee?
optionalnetworkFee?: {amount:string;symbol:TokenSymbol|"USD";tokenAddress:string|null; } |null
Defined in: src/types/wallets.transfer.types.ts:198
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?
optionalprotocolFeeFiat?:string|null
Defined in: src/types/wallets.transfer.types.ts:205
Protocol fee in fiat (currently USD) when the quote exposes one.
raw?
optionalraw?:unknown
Defined in: src/types/wallets.transfer.types.ts:212
Opaque quote payload for swap/bridge submit. Pass the whole quote object into submit. Do not build or edit fields.