WAXPBLOCKCHAIN WIKI
Data architecture guide

APIs, RPC and indexers

“The WAX API” is not one service. Chain state, transaction submission, searchable history and NFT queries are different workloads with different data sources and failure modes.

Updated 29 November 2026 · Independent guide

In plain English Apps use one kind of service to check who owns a card now and another to look up older activity. Start collecting · Browse collections

Choose the surface that matches the question

The official WAX API reference separates core Chain API calls, AtomicAssets queries, Hyperion history and lightweight provider-specific APIs. This distinction prevents a common architecture error: asking a current-state node to behave like a search engine, or treating an eventually updated index as the final authority for current ownership.

  • Chain RPC: current account and table state, chain information and transaction submission.
  • Hyperion: indexed action and transaction history, filters and account activity.
  • AtomicAssets API: collection, schema, template, asset and marketplace-oriented queries.
  • Light or specialised APIs: provider-specific read patterns that avoid a full history stack.

Chain RPC is closest to current state

A nodeos chain API can report chain information, accounts and contract table rows and can accept signed transactions. The get_info response reveals the chain ID, head block, last irreversible block and current producer, making it a useful health and network-identity check.

RPC nodes differ in enabled plugins, configuration, pruning, rate limits and how close they are to the head block. An HTTP response from the wrong chain is still a successful HTTP response. Validate chain ID and compare block freshness before trusting an endpoint.

Transaction submission should be safe to retry only with an understood transaction model. Rebuilding a transfer can create a second valid transaction. Keep the original transaction ID and query state before asking a user to sign again.

Hyperion and asset indexes answer richer questions

Blockchains contain historical transactions, but raw history is not automatically convenient to search. Hyperion consumes state-history data and builds searchable indexes, commonly backed by Elasticsearch and caches. It can answer questions such as “show transfers involving this account” far more efficiently than walking blocks manually.

AtomicAssets services build an asset-oriented view over contract state and history. They are useful for collection browsing, templates and ownership lists. Indexing introduces delay and operational dependencies, so critical current-state checks should fall back to the underlying contract tables where practical.

Freshness is a field, not an assumption

Record the indexed block or timestamp where the service exposes it. An apparently empty history may mean the indexer is behind, not that the action never happened.

Build an endpoint strategy

Public endpoints are excellent for learning and low-volume applications, but their availability and limits change. Provider discovery services can show current endpoints; production systems should still measure them and define fallback behaviour.

  • Use multiple providers for essential reads, not aliases pointing to the same backend.
  • Set timeouts and distinguish rate limits from invalid requests.
  • Check chain ID and block freshness during health tests.
  • Route chain, history and asset queries to the correct service type.
  • Cache safe reads, but define invalidation around ownership and balances.
  • Avoid automatic cross-provider retries for non-idempotent writes without transaction tracking.
  • Monitor error rate, latency and head-block lag.

Managed endpoints can provide predictable quotas and support. Self-hosting offers control but shifts storage, updates, security, scaling and on-call responsibility to the operator.

Debug from the bottom up

When an app looks stale, first confirm the target network and endpoint. Query get_info, compare the head block and test a direct table read. If current state is correct but history is absent, inspect the indexer. If both are correct, investigate application cache and session state.

Signing success followed by stale UI often means the transaction reached the chain but the application is waiting on an indexer. A failed history request should not be reported as a failed transaction. Keep these signals separate in logs and user messages.

Primary sources