suwappu
v0.1.1Cross-chain DEX for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_quote
Get a swap quote for exchanging tokens. Supports EVM chains (Ethereum, Base, Arbitrum, Polygon, BSC, Optimism, Avalanche) via Li.Fi and Solana via Jupiter.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount to swap in human units (e.g. "0.5") |
from_token * | string | Source token symbol (e.g. ETH, SOL, USDC) |
to_token * | string | Destination token symbol |
chain | string | Chain name (ethereum, base, arbitrum, polygon, bsc, optimism, avalanche, solana). Defaults to ethereum. |
from_chain | string | Source chain for cross-chain swaps (optional) |
slippage | number | Slippage tolerance as decimal (0.03 = 3%). Default 0.03 |
to_chain | string | Destination chain for cross-chain swaps (optional) |
wallet_address | string | Wallet address to get executable transaction data (optional) |
get_portfolio
Get token balances and portfolio value for a wallet address across all supported chains.
| Parameter | Type | Description |
|---|---|---|
wallet_address * | string | Wallet address (0x... for EVM, base58 for Solana) |
chain | string | Filter to specific chain (optional) |
get_prices
Get current token prices in USD with 24h change. Supported: ETH, SOL, BNB, USDC, USDT, BTC, DAI, WBTC, ARB, OP, AVAX, MATIC, WETH, BONK, JUP, RAY.
| Parameter | Type | Description |
|---|---|---|
symbols * | string | Comma-separated token symbols (e.g. "ETH,SOL,USDC"). Max 20. |
list_chains
List all supported blockchain networks for swapping.
list_tokens
List available tokens on a specific chain.
| Parameter | Type | Description |
|---|---|---|
chain | string | Chain name (e.g. "base", "solana"). If omitted, returns all chains. |
search | string | Filter tokens by symbol substring (optional) |
execute_swap
Execute a swap using a previously obtained quote_id. Returns an unsigned transaction for the user to sign.
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | Quote ID from a previous get_quote call |
wallet_address * | string | Wallet address to sign the transaction |