DYOE Currency Conversion ($0.01)
dyoe_fxConvert currencies using live ECB exchange rates: specify source and target codes plus optional amount. Calls settle in USDC on Base via x402.
Instructions
Currency conversion + live exchange rate (ECB data). Input: ?from=USD&to=EUR&amount=100 Price: $0.01 USDC on Base per call, paid via 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>",
"to": "<to>"
},
"name": "dyoe_fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency code (e.g. EUR) | |
| from | Yes | Source currency code (e.g. USD) | |
| amount | No | Amount to convert (e.g. 100) |