Create quote
create_quoteGet a short-lived currency exchange quote with rate, fees, and recipient amount before a transfer; use preview mode to price without committing.
Instructions
Get a quote for a currency exchange: the rate, the fees, and what the customer receives. Quotes are short-lived, so create one immediately before the transfer. Off-ramp converts a stablecoin to fiat (source network required, destination country required); on-ramp converts fiat to a stablecoin (destination address required). Set preview to price without committing.
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": {
"sourceCurrency": "<sourceCurrency>",
"sourceAmount": "<sourceAmount>",
"destinationCurrency": "<destinationCurrency>"
},
"name": "create_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | Price the quote without persisting it, to show an estimate | |
| metadata | No | Optional metadata | |
| sourceAmount | Yes | Amount to convert, in major units (e.g. '125.75') | |
| sourceNetwork | No | Blockchain network of the source. Required for off-ramp, omitted for on-ramp | |
| sourceCurrency | Yes | Source currency: a stablecoin for off-ramp (e.g. 'USDT'), fiat for on-ramp | |
| destinationAddress | No | Destination wallet address. Required for on-ramp | |
| destinationCountry | No | Destination country, ISO 2-letter. Required for off-ramp | |
| destinationNetwork | No | Off-ramp: payment network, 'swift' or 'bank'. On-ramp: blockchain network. Replaces the old paymentMethodType | |
| destinationCurrency | Yes | Destination currency: fiat for off-ramp (e.g. 'EUR'), a stablecoin for on-ramp |