swap_create
Create a non-custodial cross-chain swap order across 1,200+ assets. Omit provider and SwapTitan auto-selects an exchange partner; use smart_route first to compare live prices across all rails (own Solana/EVM aggregators + exchange partners). For private swaps via Monero use private_swap. Returns payinAddress and order id.
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": {
"from": "<from>",
"to": "<to>",
"amount": "<amount>",
"address": "<address>"
},
"name": "swap_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination asset ticker (e.g. xmr, btc, sol) | |
| from | Yes | Source asset ticker (e.g. sol, btc, eth, usdt) | |
| toNet | No | Destination network override | |
| amount | Yes | Amount to send | |
| address | Yes | Destination address to receive swapped funds | |
| fromNet | No | Source network override (e.g. arbitrum, base, tron) | |
| provider | No | Optional. Omit for automatic partner selection. | |
| refundAddress | No | Optional refund address for failed swaps |