applyQuote
Request a conversion quote to lock in a real-time exchange rate for 30 seconds, show users the exact amount they will receive, and validate trade parameters before execution.
Instructions
Apply for a conversion quote. The system will return:
Quote ID (quoteTxId)
Real-time exchange rate
Quote expiration time
Conversion amounts
Quote Rules:
Quotes have a time limit, typically 30 seconds
A new quote must be requested after expiration
The quote amount must be within the trading pair limits
Important: Only API keys from the Master UID can call this endpoint.
Use Cases:
Lock in an exchange rate before confirming a trade
Show users the exact amount they will receive
Validate trade parameters before execution
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": {
"fromCoin": "<fromCoin>",
"fromCoinType": "<fromCoinType>",
"toCoin": "<toCoin>",
"toCoinType": "<toCoinType>",
"requestAmount": "<requestAmount>"
},
"name": "applyQuote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toCoin | Yes | ||
| fromCoin | Yes | ||
| toCoinType | Yes | ||
| fromCoinType | Yes | ||
| requestAmount | Yes | ||
| requestCoinType | No | fiat |