POST
/quotes/{quoteId}/acceptAccept Quote
Accept a solver's quote and trigger escrow creation on the origin chain. Initiates the DvP settlement flow.
Examples
TypeScript
1const settlement = await tetrafi.quotes.accept("qt_xyz789");2console.log("Settlement:", settlement.id, settlement.status);2 linestypescript
Try it in a sandbox
acceptQuote.tstypescript
TypeScript
1const settlement = await tetrafi.quotes.accept("qt_xyz789");2console.log("Settlement:", settlement.id, settlement.status);2 linestypescript
Parameters
Path
quoteIdrequiredstring | Quote identifier |
Response body
idstringe.g. stl_def456rfqIdstringe.g. rfq_abc123quoteIdstringe.g. qt_xyz789statusstringe.g. completevalues:pendingescrow_lockedfillingcompletefailedrefundedoriginTxHashstringe.g. 0x1234...abcddestinationTxHashstringe.g. 0x5678...efghsettledAtstring(date-time)