Quote
Defined in: protocol-swap2-core/dist/types.d.ts:72
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/dist/types.d.ts:77
depositMemo
Section titled “depositMemo”depositMemo:
string|null
Defined in: protocol-swap2-core/dist/types.d.ts:78
destAmount
Section titled “destAmount”destAmount:
string
Defined in: protocol-swap2-core/dist/types.d.ts:82
etaSeconds
Section titled “etaSeconds”etaSeconds:
number
Defined in: protocol-swap2-core/dist/types.d.ts:94
Estimated time to delivery.
optionalfees?:object[]
Defined in: protocol-swap2-core/dist/types.d.ts:86
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/dist/types.d.ts:84
intentId
Section titled “intentId”intentId:
string
Defined in: protocol-swap2-core/dist/types.d.ts:76
Provider’s id for this swap; tracked with trackIntent.
minDestAmount
Section titled “minDestAmount”minDestAmount:
string
Defined in: protocol-swap2-core/dist/types.d.ts:83
provider
Section titled “provider”provider:
string
Defined in: protocol-swap2-core/dist/types.d.ts:74
Provider name.
providerData?
Section titled “providerData?”
optionalproviderData?:Record<string,string>
Defined in: protocol-swap2-core/dist/types.d.ts:100
Provider-owned, JSON-safe facts required to revalidate execution.
reliability
Section titled “reliability”reliability:
number
Defined in: protocol-swap2-core/dist/types.d.ts:96
Provider’s reliability hint, 0 to 1.
sourceAmount
Section titled “sourceAmount”sourceAmount:
string
Defined in: protocol-swap2-core/dist/types.d.ts:81
txRequest?
Section titled “txRequest?”
optionaltxRequest?:TxRequest
Defined in: protocol-swap2-core/dist/types.d.ts:80
Present instead of a usable depositAddress for calldata providers.
validUntilMs
Section titled “validUntilMs”validUntilMs:
number
Defined in: protocol-swap2-core/dist/types.d.ts:98
Quote expiry, unix milliseconds.