EVE Frontier data without running a Sui indexer

You can read EVE Frontier data without running your own Sui indexer by calling a hosted API such as Voidwire, which has indexed the chain since genesis and serves order books, characters, tribes, hubs and the star map as joined JSON over REST, with one call per question.

What the official docs give you

The EVE Frontier builder docs point you at three ways to read game state: Sui’s GraphQL RPC, Sui’s gRPC API (which needs a gRPC-enabled full node), or a custom indexer of your own (Interfacing with the EVE Frontier world). The official World API adds static data such as item types, tribes and solar systems.

All three return chain data, and turning it into game answers is up to you. GraphQL returns objects and events one page at a time. Anything that needs history, aggregates or joins (an order book, a leaderboard, which wallet owns which character) needs an index you build and keep running.

What running your own indexer means

  • Checkpoint ingestion from genesis. Backfill every checkpoint since the world launched, then keep up with new ones.
  • Event decoding. Decode each Move event and object for every package version, and redo it when the world contracts are redeployed for a new cycle with new package IDs.
  • Joins. Tie wallets to characters, characters to tribes, items to names and pools to hubs before any of it is useful.
  • Serving it. You need a database, pagination, caching and uptime, all for one tool.

Side by side: one order book

Sui GraphQL: raw events, many pages
# The shape of it: page through every order event for a market,
# decode each payload, then rebuild the book yourself.
query OrderEvents($type: String!, $after: String) {
  events(filter: { eventType: $type }, first: 50, after: $after) {
    pageInfo { hasNextPage endCursor }
    nodes {
      timestamp
      contents { json }        # raw Move struct: ids, prices, sizes
      transactionBlock { digest }
    }
  }
}
# …repeat until hasNextPage is false, for every package version
# the game has shipped, then join item ids to names yourself.
Voidwire: one call, 50 CU
curl "https://api.voidwire.xyz/trading/v1/hubs/HUB_ID/items/ITEM_ID/orderbook" \
  -H "x-api-key: $VOIDWIRE_KEY"

# → resting bids (best first) and asks, with the pool,
#   item names and decimals, in CRED

One call per question

Freshness and read-your-own-writes

An indexer always lags the chain a little, and Voidwire tells you by how much. Responses carry an X-Indexer-Checkpoint header with the Sui checkpoint they include. After you send a transaction, pass its checkpoint as min_checkpoint and the response waits briefly until the indexer has it, or comes back with a lower checkpoint header so you know to retry.

Routes in these groups take min_checkpoint: hauling, hubs, orgs, trading, world.

Coming from EVE Online? Read Is there an ESI for EVE Frontier?

Questions

Does EVE Frontier have a GraphQL API?

Yes, in the sense that Sui has one. Sui’s GraphQL RPC can query any object or event on chain, EVE Frontier’s included. It returns raw chain data, so turning it into game answers (whose character is this, what is the order book at this hub) is left to you.

How fresh is Voidwire’s data?

Every response that supports it carries an X-Indexer-Checkpoint header naming the Sui checkpoint it includes. Pass min_checkpoint, for example the checkpoint of your own transaction, and the response waits briefly for the indexer to catch up, so you can read your own writes.

When should I still run my own indexer?

When you need events from your own Move package that Voidwire doesn’t index, or a raw per-event stream. For the shared game state (markets, characters, tribes, hubs, hauling and the star map) a hosted API saves you the pipeline.

Get a key

Sign in with a Sui wallet, create a key and make your first call in a few minutes. The free tier needs no card.

Also read: Is there an ESI for EVE Frontier?