get_swap_quote
Get a price quote for swapping tokens, showing expected output, rate, and fees.
Instructions
Get a price quote for swapping between two tokens. Returns expected output amount, rate, and fees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_in | Yes | Amount to swap (human-readable, e.g., '100.5') | |
| direction | Yes | ASK = sell base token, BID = buy base token | |
| market_id | Yes | Market ID (format: baseAddress-quoteAddress) |