Skip to content

Accepted

POST /api/v2/rfq/:id/accept. dustMode echoes the request's (auto by default).

fillId: string

AcceptApiResponse.fillId


requestId: string

AcceptApiResponse.requestId


settlement: "solver_offer" | "user_offer"

AcceptApiResponse.settlement


solverId: string

AcceptApiResponse.solverId


optional tx?: string

solver_offer: the solver's sealed leg for the wallet to balance.

AcceptApiResponse.tx


optional offer?: string

AcceptApiResponse.offer


optional openings?: CoinOpening[]

solver_offer: the opening of the user's shielded output (receive), to check the leg.

AcceptApiResponse.openings


optional offerId?: string

AcceptApiResponse.offerId


optional terms?: object

user_offer: what the wallet's offer must give and want, and its minimum TTL.

gives: Leg[]

wants: (Leg & object)[]

expiresAt: number

AcceptApiResponse.terms


optional estimatedDust?: string

AcceptApiResponse.estimatedDust


expiresAt: number

AcceptApiResponse.expiresAt


optional source?: "rfq" | "ladder" | "matcher"


optional quotesReceived?: number


optional dustMode?: string


optional proveMs?: number


optional clientToken?: string

Added by SwapClient.accept: the request's client token, which the fill's calls (offer, sponsor, events) carry, so an Accepted handed to execute elsewhere still works.