hyperd.dex.quote
Compare swap quotes from Paraswap and 0x aggregators to find the route with the highest output. Returns per-source quotes and best route, with a fixed cost of $0.02 in USDC.
Instructions
Get the best DEX swap route across multiple aggregators (Paraswap + 0x). Returns the highest output amount and per-source quotes. Costs $0.02 in USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Source token symbol or contract address | |
| to | Yes | Destination token symbol or contract address | |
| amount | Yes | Decimal amount of source token | |
| chain | No | Chain. Default 'base'. | |
| slippage | No | Max slippage in basis points. Default 50. | |
| taker | No | Optional payer address for 0x quote (improves accuracy) |