QuoteResponse
POST /api/v2/rfq, as SwapClient.quote returns it: only after the SDK has made the
client's checks of the response (the relay's attestation under the relay key this client
holds, every quote's terms and signature; §8 of the MIP draft). quotes are best first;
attestation.best is the digest of the best one, attestation.quotesReceived their number.
Extends
Section titled “Extends”Omit<RfqApiResponse,"referenceMid"|"quotes"|"solversAsked">
Properties
Section titled “Properties”requestId
Section titled “requestId”requestId:
string
Inherited from
Section titled “Inherited from”clientToken
Section titled “clientToken”clientToken:
string
The client's capability for this request and its fill, sent back as
x-si-client-token on accept, the quote view, the offer, sponsor and events. Never
fanned out to solvers.
Inherited from
Section titled “Inherited from”quotes
Section titled “quotes”quotes:
Quote[]
attestation
Section titled “attestation”attestation:
Attestation
The relay's attestation (draft §8) of the request, these quotes and the best of them.
Overrides
Section titled “Overrides”referenceMid
Section titled “referenceMid”referenceMid: [
string,string] |null
solversAsked?
Section titled “solversAsked?”
optionalsolversAsked?:number