HomeDocumentationAPI Reference
Log In
API Reference

Rfq Get Best Quote

Performs a "dry run" on an RFQ, returning the estimated fee and whether the trade is expected to pass.

Should any exception be raised in the process of evaluating the trade, a standard RPC error will be returned
with the error details. Required minimum session key permission level is read_only

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Optional client that sent RFQ

counterparties
array of strings | null
Defaults to null

Optional list of market maker account addresses to request quotes from. If not supplied, all market makers who are approved as RFQ makers will be notified.

counterparties
string
enum
Defaults to buy

Planned execution direction (default buy)

Allowed:
string
Defaults to 0

Extra fee in USDC added to the total final fee paid by user and directly sent to client / builder (must be between 0.000001 and 1000 USDC). The referral_code field must also be filled out. See Builder Fee page in docs for more info.

string

Optional user-defined label for the RFQ

legs
array of objects
required

RFQ legs

legs*
string | null
Defaults to null

An optional max total cost for the RFQ. Only used when the RFQ sender executes as buyer. Polling endpoints and channels will ignore quotes where the total cost across all legs is above this value. Positive values mean the RFQ sender expects to pay $, negative mean the RFQ sender expects to receive $.This field is not disclosed to the market makers.

string | null
Defaults to null

An optional min total cost for the RFQ. Only used when the RFQ sender executes as seller. Polling endpoints and channels will ignore quotes where the total cost across all legs is below this value. Positive values mean the RFQ sender expects to receive $, negative mean the RFQ sender expects to pay $.This field is not disclosed to the market makers.

string
Defaults to 1

Optional step size for partial fills. If not supplied, the RFQ will not support partial fills.

string | null
enum
Defaults to null

If disclosed, the direction the user is aiming to execute as. Default None.

Allowed:
string

Optional referral code for the RFQ

uuid | null
Defaults to null

RFQ ID to get best quote for. If not provided, will return estimates based on mark prices

integer
required

Subaccount ID

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json