ApiQuote
A quote as the relay returns it: the draft's Quote (firm with the solver's signature,
or indicative), and what the relay adds for display. The added fields are not signed.
Extends
Section titled “Extends”Quote
Extended by
Section titled “Extended by”Properties
Section titled “Properties”network
Section titled “network”network:
string
Inherited from
Section titled “Inherited from”Quote.network
relay:
string
Inherited from
Section titled “Inherited from”Quote.relay
requestId
Section titled “requestId”requestId:
string
Inherited from
Section titled “Inherited from”Quote.requestId
appId:
string
Inherited from
Section titled “Inherited from”Quote.appId
pair:
TokenPair
Inherited from
Section titled “Inherited from”Quote.pair
giveAmount
Section titled “giveAmount”giveAmount:
string
Inherited from
Section titled “Inherited from”Quote.giveAmount
feeDecl
Section titled “feeDecl”feeDecl:
FeeDeclaration
Inherited from
Section titled “Inherited from”Quote.feeDecl
quoteId
Section titled “quoteId”quoteId:
string
Inherited from
Section titled “Inherited from”Quote.quoteId
solverId
Section titled “solverId”solverId:
string
Inherited from
Section titled “Inherited from”Quote.solverId
wantAmount
Section titled “wantAmount”wantAmount:
string
What the user receives, after fees.
Inherited from
Section titled “Inherited from”Quote.wantAmount
settlement
Section titled “settlement”settlement:
"solver_offer"|"user_offer"
Inherited from
Section titled “Inherited from”Quote.settlement
expiresAt
Section titled “expiresAt”expiresAt:
number
Inherited from
Section titled “Inherited from”Quote.expiresAt
uses:
string[]
MIP-0005 offer ids the settlement merges besides the user's and the solver's own.
Inherited from
Section titled “Inherited from”Quote.uses
firm:
boolean
True: signed by the solver and binding. False: derived by the relay from a ladder.
Inherited from
Section titled “Inherited from”Quote.firm
solverSig?
Section titled “solverSig?”
optionalsolverSig?:Signature
Present exactly when firm is true.
Inherited from
Section titled “Inherited from”Quote.solverSig
quoteDigest
Section titled “quoteDigest”quoteDigest:
string
SHA-256 of the quote's payload: what accept names and the attestation commits to.
source
Section titled “source”source:
"rfq"|"ladder"|"matcher"
fees:
object
protocol
Section titled “protocol”protocol:
string
app:
string
spreadBps
Section titled “spreadBps”spreadBps:
number|null
Effective spread vs the reference mid, fees excluded (null without a mid).
best:
boolean