XE/USD feed
XE's own price of XE in US dollars, settled on XE by three collectors. How to read it, what a round holds, how to check it isn't stale, and what the relays and apps do when it stops.
The XE/USD feed is the price of one XE in US dollars, settled on XE by XE's three price collectors. XE's AI relays charge XE at its latest round, and any app can read it from an XE node. This page describes series 5, the current one (since 24 October 2026).
| Feed (series) id | ea54d3e775a32ef3376382299621e1f45e8caa93679a036102b912f28fe58003 |
| Service id | 7ce52d6a2f50daa9207ea34e9e6a1b8a04a268b61f2a39c4c3190e90638b7a51 (xe-feeds.xe-usd version 5) |
| Kind and unit | token_usd, usd_micro_per_token: micro-USD per XE |
| Rounds | A round when the price moves 1% or more, checked every minute, and at least every third minute |
| Agreement | 2 of the 3 collectors |
| Node | https://xe-sim-interop.enter-38b.workers.dev |
A value of 170000 is $0.17 per XE.
#Where the price comes from
XE is priced as EDGE, the token XE's test networks rate it at, from one on-chain source, dex-spot-8cc6f143900b:
- the current price of Uniswap v3's EDGE/WETH pool on Ethereum, read one block behind the head (the depth-weighted median when there is more than one pool);
- times Chainlink's ETH/USD on Ethereum, which must be at most 2 hours old and within 1% of the USDC/WETH 0.05% pool's price at the same block.
There is no time-weighted average and no smoothing: the feed follows the current price. A round is dark (no value) only when the source can't be read or a check fails.
Each collector reads the source at the same block, commits to its reading, then reveals it. Every XE node computes the round's value from the revealed readings in the round's settle. The value must lie between $0.001 and $100 per XE.
#A round's timing
| Seconds after the round starts | What happens |
|---|---|
| 0 to 90 | The collectors commit to their readings |
| After 90 | They reveal |
| Soon after | The settle, once the reveals are in |
| 210 | The deadline: the round settles with what was revealed, or times out |
#Read the latest price
GET /feeds/{feed} returns the series: its sources, parameters and subscriptions, its latest round (latest) and its latest round with a value (latest_value).
NODE=https://xe-sim-interop.enter-38b.workers.devFEED=ea54d3e775a32ef3376382299621e1f45e8caa93679a036102b912f28fe58003curl -s "$NODE/feeds/$FEED" | jq '.latest_value | {seq, final, status, value: .report.value, observed_at: .report.observed_at}'Other reads:
| Request | Returns |
|---|---|
GET /feeds/{feed}/rounds?limit=20 | Settled rounds, newest first (before=<seq> pages back, at most 200) |
GET /feeds/{feed}/rounds/{seq} | One round in full: its report, each counted reveal (readings and salt) and each source's outcome |
GET /services/7ce52d6a…7a51 | The feed's service and its manifest (sources, kind, unit) |
#What a round holds
| Field | Meaning |
|---|---|
seq | The round's number in the series, from 0 |
request, settle | The round's request block and its settle block on XE |
status | agreed when the round has a value; failed or timeout otherwise |
final | Whether the settle is final on XE |
report.value | Micro-USD per XE (0 when the round is dark) |
report.band | The stability band, in micro-USD: how far the 25th and 75th percentile votes are from the value |
report.observed_at | When the round was observed, in Unix seconds |
report.flags | 1 dark (no value), 2 even weights, 4 at least one source carried its last vote, 8 the first round |
report.sources_total, sources_fresh, sources_voting | The sources listed, read fresh this round, and voting (fresh or carried) |
report.collectors | Collectors whose readings were used |
report.max_age | Rounds since the oldest voting source's last fresh reading |
output_hash | SHA-256 of the report: what XE's validators attest |
#Check it isn't stale
Use a round only if it's final, agreed, not dark and recent. The code below allows 15 minutes, the age at which XE's relays stop treating a round as current.
#When the feed stops
On test networks the price doesn't jump each time the feed pauses:
| Who | Rule |
|---|---|
| XE's relays | Charge at the newest usable round while it is at most 15 minutes old. On a test network they then hold that round for another 24 hours (/status shows rate.held: true), and after that charge 1 XE = $1 (price_source: "testnet-fallback"). On any other network they refuse XE-priced requests; XUSD-priced requests still run |
| XE's apps | Use the newest usable round while it is at most an hour old; otherwise, on a test network, 1 XE = $1, shown as "Testnet price: 1 XE = $1 while the price feed is down". On any other network they hide the dollar figure |
Where a relay states the rate it charged, the apps show that rate rather than their own.
const NODE = "https://xe-sim-interop.enter-38b.workers.dev";const FEED = "ea54d3e775a32ef3376382299621e1f45e8caa93679a036102b912f28fe58003";const MAX_AGE_S = 15 * 60; // the relays' limit; a round comes at least every 3 minutesconst MAX_BAND = 0.05; // the band within 5% of the value /** USD per XE from the latest usable round, or an error saying why there is none. */export async function xeUsd() { const res = await fetch(`${NODE}/feeds/${FEED}`); if (!res.ok) throw new Error(`feed: ${(await res.json()).error ?? res.status}`); const round = (await res.json()).latest_value; if (!round) throw new Error("feed: no round with a value yet"); const r = round.report; const age = Date.now() / 1000 - r.observed_at; if (!round.final || round.status !== "agreed") throw new Error(`feed: round ${round.seq} isn't final`); if (r.flags & 1 || r.value === 0) throw new Error(`feed: round ${round.seq} is dark`); if (age > MAX_AGE_S) throw new Error(`feed: the latest value is ${Math.round(age / 60)} minutes old`); if (r.band > r.value * MAX_BAND) throw new Error(`feed: round ${round.seq} is too unsettled`); if (r.sources_fresh < 1) throw new Error(`feed: no source was read fresh in round ${round.seq}`); return { usdPerXe: r.value / 1e6, seq: round.seq, observedAt: new Date(r.observed_at * 1000) };}To turn a dollar amount into XE, divide by usdPerXe and round up to whole micro-XE: $1 at $0.17 per XE is 5.882353 XE, 5882353 micro-XE.
#Check a value yourself
- Each round's settle is on XE: open
settlein the explorer. - XE's validators attest each final round's report. The attestation is at
GET /attestations/{request}on each validator (Addresses and APIs), and its hash is the round'soutput_hash. - The collectors keep every raw source response.
xe-feeds reproducein XE's kit (feeds-collector/scripts/xe-feeds.mts reproduce <feed> latest) fetches a round's reveals and recomputes the published value from them.
The compute price feeds work the same way and are also posted to other chains: Price feeds.
#Troubleshooting
| You see | Why |
|---|---|
feed … has no settled round here | The series has no round yet on this node: after a network reset, the first round comes about 10 minutes after the collectors start |
"rounds": [] | The same: no settled round yet |
latest with status: "timeout" | Too few collectors revealed in time. latest_value still holds the last round with a value; check its age |
Flag 4 set | A source wasn't read fresh this round and carried its last vote. Check sources_fresh and max_age |
A round that stays final: false after its deadline | Rounds settle in their chain order, so a round whose predecessor was rolled back used to stop the series. Node release 7.3 (xe/sim-5cb773f, live since 30 October 2026) skips a rolled-back predecessor; series 4 stopped this way before it, and series 5 replaced it |