Skip to main content
POST
Opens a request for quote. Instead of resting on the book, you name a pair, a side and a size, and registered liquidity providers respond with executable prices. Use it for sizes the visible book cannot absorb without moving. An RFQ is addressed by custody contract and token pair, not by order book ID. Providers subscribed to that pair are notified immediately over the venue’s real-time channel. If a book exists on your instance for the same triple, its price reference is used to validate quotes. RFQs are short-lived by design: a quote is only executable while the provider’s funds are still committed to it.

Lifecycle

An RFQ starts PENDING. It becomes QUOTED when a provider responds, ACCEPTED when you take a quote, CANCELLED when you withdraw it, and EXPIRED when its deadline passes. A background sweeper runs every five seconds and expires stale requests and quotes, releasing the funds each had committed. Providers quote from the Trusset issuer application rather than through this API surface, and quoting is gated on a provider being configured to respond to RFQs.

Idempotency

Accepts an optional Idempotency-Key header. A repeat with the same key and body replays the original response rather than opening a second request.

Body Parameters

string
required
Wallet asking for the quote. Only this address may accept or cancel the resulting RFQ.
string
required
Token you want to buy or sell.
string
required
Settlement token (stablecoin).
string
required
Custody contract the trade would settle through. Together with the two token addresses this is what providers subscribe to.
string
required
BUY or SELL, from the requester’s point of view.
string
required
Size in order book units, as a digit-only string. Must be greater than zero.
integer
default:"30000"
How long the request stays open, in milliseconds. Clamped to between 5000 and 60000.

Response Fields

Returns 201.
object

Error Codes