Skip to content

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.

requestId: string

RfqApiResponse.requestId


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.

RfqApiResponse.clientToken


quotes: Quote[]


attestation: Attestation

The relay's attestation (draft §8) of the request, these quotes and the best of them.

RfqApiResponse.attestation


referenceMid: [string, string] | null


optional solversAsked?: number