RFQ Methods + Flows
aori_rfq
A user / taker can send RFQs to the RFQ feed to be broadcasted out to market makers and solvers to respond with price quotes to.
These RFQs can be "partial requests" or "full requests".
Partial Requests
Parameters | Type | Required | Description |
---|---|---|---|
address | string | Yes | Address of the user / taker |
inputToken | string | Yes | Address of the input token |
outputToken | string | Yes | Address of the output token |
inputAmount | bigint | Yes | Amount of the input token |
outputAmount | bigint | Yes | Amount of the output token |
zone | string | No | Aori Zone to use |
chainId | number | No | Chain ID to use |
deadline | number | No | Deadline for the RFQ |
Full Requests
Parameters | Type | Required | Description |
---|---|---|---|
order | LimitOrder | Yes | Market order from the taker |
signature | string | Yes | Signature of the order |
seatId | number | No | Seat ID to use for the trade for lower fees. Default is seat 0. |
aori_subscribe
Parameters | Type | Required | Description |
---|---|---|---|
rfqId | string | Yes | ID of the RFQ to subscribe to, or ALL to subscribe to all RFQs |
aori_respond
Parameters | Type | Required | Description |
---|---|---|---|
rfqId | string | Yes | Id being responded to |
order | LimitOrder | Yes | Matching order response from the maker |
signature | string | Yes | Signature of the order |