Skip to main content
A maker serves three endpoints for quoting.

Tokens Endpoint

GET /tokens returns a JSON array of the base58 mints the maker quotes. The array lists USDC, the settlement mint, and every equity mint. DFlow asks a maker to quote a pair only when both mints are listed. The call has a 2 second budget.

Health Endpoint

GET /health reports the maker’s state through its status code. The endpoint has no side effects and answers within 2 seconds.

Quote Endpoint

Quote Request

POST /quote carries the request below. The maker answers within 250 ms. Amounts are raw base unit strings.

Quote Response

A firm quote returns 200 with the fields below. DFlow excludes a quote that breaks any rule in the table. An rfqOrder quote carries no token accounts. DFlow drops them if present. Other responses: Anything else, a timeout or a malformed body: DFlow leaves the maker out of this round.

Partial Fills

By quoting rfqFill, the maker accepts any input up to the request’s maxAmountIn (its amount when the request has none) at the quoted price. The output owed for an input is input × amountOut ÷ amountIn, rounded down. Maker Async Fills covers partial fills of an rfqOrder.