get_quote
Fetch a swap quote across all Algorand DEXs. Provide exact input or output amounts to receive route legs and a quote ID for building swaps.
Instructions
HOGSWAP swap quote across every Algorand DEX. Give amount (exact input) OR amount_out (exact output — minimum input is solved). Amounts are base units (µ); asset 0 = ALGO. Returns expected_out, route legs, and a quote_id for build_swap.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset_in": "<asset_in>",
"asset_out": "<asset_out>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | exact input, base units | |
| sender | No | optional wallet address for sender-aware fee discounts | |
| asset_in | Yes | input asset id (0 = ALGO) | |
| asset_out | Yes | output asset id | |
| amount_out | No | exact output, base units (exact-out mode) |