crypto convert
crypto_convertConvert an amount between crypto and fiat in one call: from a symbol (BTC, ETH, SOL, USDC, AERO, EURC, 40+ majors) or a Base/Ethereum token address, to up to 10 targets (USD, EUR, CAD, GBP, JPY, INR... or other coins). Returns the rate, converted amounts, each unit price in USD and the USD value. Spot mid prices from DefiLlama and ECB-based fx. $0.003. Costs $0.003 USDC per call (x402).
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>"
},
"name": "crypto_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | comma-separated targets, default USD | |
| from | Yes | ||
| amount | No |