Get Current G10 FX Rate
get_fx_rate_currentReturns the current exchange rate for a G10 currency pair. Source: European Central Bank. Supported: EURUSD, GBPUSD, USDJPY, USDCHF, USDCAD, AUDUSD, NZDUSD, USDSEK, USDNOK. Price: $0.01 USDC per call via x402 (Base or Solana).
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": {
"pair": "<pair>"
},
"name": "get_fx_rate_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | G10 currency pair, e.g. EURUSD |