Quote an XRP swap
quote_swapLive THORChain quote for swapping XRP to BTC, ETH or USDC: expected amount out, every fee (ours is 0.5%), minimum size and expiry. Screens the destination against the OFAC list. Read-only; builds nothing.
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": {
"to": "<to>",
"amount_xrp": "<amount_xrp>",
"destination": "<destination>"
},
"name": "quote_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | What to receive: BTC (Bitcoin), ETH (Ether) or USDC (USDC on Ethereum). | |
| amount_xrp | Yes | XRP to send, e.g. "20" (up to 6 decimals). Must be at least the quote's minimum_xrp. | |
| destination | Yes | Address that receives the coins: a Bitcoin address for BTC, an Ethereum 0x address for ETH or USDC. |