fx_rate
Currency exchange rate and conversion read on chain from Chainlink FX feeds on Ethereum: EUR, GBP, JPY, CHF, AUD, CAD, CNY, KRW, SGD, TRY, BRL, NZD, PHP, USD, gold (XAU) and silver (XAG); cross rates from two USD feeds. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 3-letter code, default USD | |
| from | Yes | 3-letter code, e.g. EUR | |
| amount | No | amount to convert, default 1 | |
| payment | No | a signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call. |