Official FX rate — one African pair
get_fx_officialOfficial FX rate — one African pair. Official reference rate vs USD for one of KES, NGN, GHS, TZS, UGX, ZAR, EGP, RWF, via Frankfurter (frankfurter.dev). Frankfurter blends published central-bank reference rates; the number is that blend, not a single central-bank fixing. Each response names the source and carries as_of (Frankfurter's rate date) and fetched_at. Price $0.01 USDC on Base (the /shelf/fx-official price). With a valid Shelf Pass (pass_token or X-SHELF-PASS) on a shelf priced ≤ $0.25, this returns the data. Otherwise it returns payment_required with the x402 v2 URL and header name. It does not return the rate as a bare payment link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | e.g. USD-KES (required) | |
| pass_token | No | Shelf Pass token (pass_…). On an eligible shelf the tool returns the data and spends credits. Above the pass ceiling the token is not spent. |