latestOpenAPI 3.1.12026-08-107910.9 KB
be934981453a
RFQ
Request for Quote (RFQ)
Get a quote for minting or redeeming tokens. Returns pricing, amounts, gas costs, and an RFQ ID that can be used to submit an order.
get/rfq
Query parameters
pairstring required
Trading pair (e.g. 'USDC/USDe')
side'MINT' | 'REDEEM' required
Order side: MINT to create tokens, REDEEM to redeem tokens
sizestring required
Size of the order (max 9 decimal places)
type_'ALGO' | 'UI'
RFQ type: ALGO for algorithmic trading, UI for user interface
benefactorstring required
Ethereum address of the benefactor
Response
Successful RFQ response
Example response
{
"amount": "9.95",
"collateral_amount": "10000000000",
"collateral_asset_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"gas": "0.05",
"minting_contract_address": "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3",
"pair": "USDC/USDe",
"rfq_id": "RFQ-6HYXR08YOMBUS",
"side": "MINT",
"size": "10"
}