Spot Advanced Swap Orders
v2.3.2Create gasless market, limit, TWAP, stop-loss, take-profit, and delayed-start swap orders.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
prepare_order Prepare order
Prepare approval calldata, typed data, submit payload, and query URL.
| Parameter | Type | Description |
|---|---|---|
params * | object |
submit_order Submit order
Submit a prepared order with a signature.
| Parameter | Type | Description |
|---|---|---|
prepared * | ||
signature * |
query_orders Query orders
Query orders by swapper and/or order hash.
| Parameter | Type | Description |
|---|---|---|
hash | string | |
swapper | string |