Get a signed Aqua0 quote for one fill
Reserves Aqua0 liquidity for one exact-in fill and returns the signed hook data for the Tycho router. An approval left unused past its deadline earns a temporary ban, so request one only to execute it.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/tycho/rfq/quote" \ -H "Content-Type: application/json" \ -d '{ "requestId": "tycho-rfq-7f3c2a91", "componentId": "0x5709d9536a3f7cc3c39103a67920d0a68fcc5dc7c5f9f640fd8209c96dc3f44d", "chainId": 8453, "poolId": "0x5622e547d200169623684248c4e4ac258688aea6dd540acf5fb26965861e8639", "classId": "38960560214548620419581884607967218229413556116830054641371650059665611327033", "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "tokenOut": "0x4200000000000000000000000000000000000006", "amountIn": "25000000", "expectedRouter": "0xAbA5B53b03eAfaD1C5fc8BD5Fc765fC85Bb3de67" }'{ "schemaVersion": "aqua0-rfq-quote-v1", "requestId": "tycho-rfq-7f3c2a91", "componentId": "0x5709d9536a3f7cc3c39103a67920d0a68fcc5dc7c5f9f640fd8209c96dc3f44d", "chainId": 8453, "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "tokenOut": "0x4200000000000000000000000000000000000006", "amountIn": "25000000", "amountOut": "9972081663927454", "router": "0xAbA5B53b03eAfaD1C5fc8BD5Fc765fC85Bb3de67", "executor": "0xAbA5B53b03eAfaD1C5fc8BD5Fc765fC85Bb3de67", "hookData": "0x02dfe74a2cb04a2c6a71d638e9f410dd0f3b846e3cf9c99f3239274c7fb4345b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000020c8d483a4b57bd2e901b087e9cefb7370051ea6898738129b51b45df6a5e7394c5622e547d200169623684248c4e4ac258688aea6dd540acf5fb26965861e86395622e547d200169623684248c4e4ac258688aea6dd540acf5fb26965861e86390000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8287c0000000000000000000000000fffd8963efd1fc6a506488495d951d5263988d250000000000000000000000000000000000000000000346c5f3090f523fa75662000000000000000000000000000000000000000000000000000000000000002b000000000000000000000000000000000000000000000000000000006ad7613e000000000000000000000000aba5b53b03eafad1c5fc8bd5fc765fc85bb3de67000000000000000000000000aba5b53b03eafad1c5fc8bd5fc765fc85bb3de6700000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000041fdcfefcac14c902f22d4bdd91a6f008c46604d3a62e3a8cb9ff441cdda630d171b69a0a113d67d234a56d6041e4a2c0a5d256daaadd516e26e8f7a762f9f07aa1b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000011111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcf61cfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcfe14000000000000000000000000000000000000000000000000000000fe9558d1e10000000000000000000000000000000000000000000000000000000000000000", "swapId": "0xc8d483a4b57bd2e901b087e9cefb7370051ea6898738129b51b45df6a5e7394c", "nonce": "43", "deadline": "1792500030", "ranges": [ { "tickLower": -199140, "tickUpper": -197100, "liquidity": "1093427319265" } ]}{ "error": "string", "code": "string", "message": "string", "details": {}}{ "error": "string", "code": "string", "message": "string", "details": {}}{ "error": "string", "code": "string", "message": "string", "details": {}}{ "error": "string", "code": "string", "message": "string", "details": {}}