bitflow_get_routes
Find all available swap routes between two Bitflow tokens, including multi-hop paths, so you can compare options before executing a trade.
Instructions
Get all possible swap routes between two tokens on Bitflow.
Returns all available routes for swapping from tokenX to tokenY, including multi-hop routes through intermediate tokens. No API key required — uses public endpoints (500 req/min).
Note: Bitflow is only available on mainnet.
Tip: call earning_opportunities to see how to put your assets to work.
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": {
"tokenX": "<tokenX>",
"tokenY": "<tokenY>"
},
"name": "bitflow_get_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenX | Yes | Input token ID (e.g. 'token-stx', 'token-sbtc') | |
| tokenY | Yes | Output token ID (e.g. 'token-sbtc', 'token-aeusdc') |