Quote
Defined in: protocol-swap2-core/src/types.ts:74
A normalized quote from one provider.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”depositAddress
Section titled “depositAddress”depositAddress:
string
Defined in: protocol-swap2-core/src/types.ts:79
depositMemo
Section titled “depositMemo”depositMemo:
string|null
Defined in: protocol-swap2-core/src/types.ts:80
destAmount
Section titled “destAmount”destAmount:
string
Defined in: protocol-swap2-core/src/types.ts:84
etaSeconds
Section titled “etaSeconds”etaSeconds:
number
Defined in: protocol-swap2-core/src/types.ts:90
Estimated time to delivery.
optionalfees?:object[]
Defined in: protocol-swap2-core/src/types.ts:88
Honest itemized fees when the provider exposes base-unit amounts.
amount
Section titled “amount”amount:
string
description?
Section titled “description?”
optionaldescription?:string
included
Section titled “included”included:
boolean
token:
string
type:
"protocol"|"network"|"affiliate"|"other"
feeUsd
Section titled “feeUsd”feeUsd:
number
Defined in: protocol-swap2-core/src/types.ts:86
intentId
Section titled “intentId”intentId:
string
Defined in: protocol-swap2-core/src/types.ts:78
Provider’s id for this swap; tracked with trackIntent.
minDestAmount
Section titled “minDestAmount”minDestAmount:
string
Defined in: protocol-swap2-core/src/types.ts:85
provider
Section titled “provider”provider:
string
Defined in: protocol-swap2-core/src/types.ts:76
Provider name.
providerData?
Section titled “providerData?”
optionalproviderData?:Record<string,string>
Defined in: protocol-swap2-core/src/types.ts:96
Provider-owned, JSON-safe facts required to revalidate execution.
reliability
Section titled “reliability”reliability:
number
Defined in: protocol-swap2-core/src/types.ts:92
Provider’s reliability hint, 0 to 1.
sourceAmount
Section titled “sourceAmount”sourceAmount:
string
Defined in: protocol-swap2-core/src/types.ts:83
txRequest?
Section titled “txRequest?”
optionaltxRequest?:TxRequest
Defined in: protocol-swap2-core/src/types.ts:82
Present instead of a usable depositAddress for calldata providers.
validUntilMs
Section titled “validUntilMs”validUntilMs:
number
Defined in: protocol-swap2-core/src/types.ts:94
Quote expiry, unix milliseconds.