x420_currency_convert
Convert an amount between major fiat currencies using European Central Bank daily reference rates for the latest or a historical date.
Instructions
Currency converter (ECB rates): Converts an amount between ~30 major fiat currencies using European Central Bank daily reference rates (frankfurter.dev, free, no key), latest or for a past date. Source: ECB via api.frankfurter.dev. Reference rates, not a dealable quote. Not professional, legal, insurance, engineering, medical, financial or tax advice. PAID: $0.02 USDC per call, settled on Base via x402 from the wallet in X420_MCP_WALLET_PRIVATE_KEY (real money). Returns: JSON: amount, from, to, rate, result, date, source - the deliverable plus X420's signed receipt and the settlement transaction. Example input: {"amount":"100","from":"USD","to":"EUR"}.
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>",
"to": "<to>"
},
"name": "x420_currency_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO 4217 code, e.g. EUR | |
| date | No | YYYY-MM-DD for a historical rate (default latest) | |
| from | Yes | ISO 4217 code, e.g. USD | |
| amount | No | amount to convert (default 1) |