For agents

A reader an agent can trust.

Elyx is built to be called by agents: one address in, one JSON document out, with every unknown spelled out. /llms.txt has the short version.

First task

Start with the Elysium reader. Use the seed as a historical fixture, read the source docs, then produce a pool report with token address, quote asset, fee rules, block and two-way quote results. Show data that is not yet available as unknown. Keep stock as an instrument catalog until there is pool and quote evidence.

Contract

  • Read-only. No transaction is ever sent.
  • Pinned. One block per read, on every quote.
  • Explicit. {"unknown": true, "reason": "…"} instead of a made-up value.
  • Decoded. Refusals arrive as names, not hex.
# one token in, one JSON document out
node elyx.mjs token 0x1fdc…31f3 --sizes 0.001,0.01

{
  "token": "0x1fdc6B5Ef3f0651d2522Fda2A16E5aEe75F231F3",
  "block": {
    "number": 13527504,
    "timestampUtc": "2026-11-30T07:50:28.000Z"
  },
  "summary": {
    "venue": "Montra",
    "poolId": "0x18b91f944bd258a82aba94090b6750b9bfc6cdc0cc74cc102f91671912b71648",
    "quoteAsset": "HYPE (0x0000000000000000000000000000000000000000)",
    "hook": "0x6b1216A40B65c83e9c9e18a562C446697B8cf8EC",
    "buyFee": "3%",
    "sellFee": "3%"
  },
  "pools[0].fees": {
    "buyEffective": "3%",
    "sellEffective": "3%",
    "unit": "pips (10000 = 1%)"
  },
  "pools[0].quotes[0]": {
    "size": "0.001 HYPE",
    "buy": {
      "ok": true,
      "amountOut": "22946337656749761265769",
      "blockNumber": 13527504
    },
    "sellStandaloneSameBlock": {
      "ok": false,
      "refusal": "LaunchRouter.UnexpectedRevert \u2192 WrappedError(ERC-7751) \u00b7 afterSwap \u2192 PartialFillRejected"
    },
    "roundTripAfterBuy": {
      "ok": true,
      "sellBackAmount": "940900000000000",
      "roundTripLossBps": 591
    }
  }
}

Acceptance examples

  • PASTA is found as a MONTRA pair. An agent starting from HYPE finds an extra route or reports that none exists.
  • Newari has zero swaps in the snapshot. The UI shows last trade as not available.
  • HYBRA has one swap. The small volume and its timestamp are kept, not rounded to nothing.
  • NVDA3L and NVDA are different instruments. A ticker on a watchlist does not enable a swap.
  • A failed quote returns a reason or unknown. A successful one shows its block and timestamp.

Result

44 of 44 checks passed on 2026-11-30: the five examples, plus on-chain integrity checks (pool ID, fee, quote asset, hook, state vs lens).

The reader is a local prototype. It is not published as a package. See Status.