Live offers to swap one crypto for another
get_swap_quoteBest live offers on the iEscrow marketplace to swap one crypto for another, for the given amount. Both legs are held in escrow, so there is no payment account and no bank involved. The platform fee is charged on EACH leg separately, so the reply states what the user would deliver fee included and what they would receive net. Give either give_amount or get_amount, not both. No account needed to look; taking an offer needs an iEscrow account. For crypto against government money use get_quote instead.
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": {
"give_currency": "<give_currency>",
"get_currency": "<get_currency>"
},
"name": "get_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| get_amount | No | Amount the user wants to receive. Give this OR give_amount. | |
| give_amount | No | Amount the user wants to deliver. Give this OR get_amount. | |
| get_currency | Yes | Crypto the user receives, e.g. BTC | |
| give_currency | Yes | Crypto the user delivers, e.g. USDT |