fx_convert
[PAID $0.002 USDC/call, x402, eip155:8453] Convert an amount between two currencies at the official ECB reference rate, today or any date since 1999, incl. CFA franc and Gulf pegs. Returns rate, amount, rate date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO 4217 target currency, e.g. EUR, XOF, AED | |
| date | No | YYYY-MM-DD (default: latest ECB fixing) | |
| from | Yes | ISO 4217 source currency, e.g. USD | |
| amount | No | Amount to convert (default 1) |