x420_currency_convert
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. Price: $0.02 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: amount, from, to, rate, result, date, source.
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) |