07 / Data architecture

History from the subgraph. State from RPC.

History from the subgraph. State from RPC.AMM, ExitQueue, and EVE events feed GoldSky history, while direct Ethereum RPC reads supply current state to the app and integrations.READEVENTSGRAPHQLLIVE READSETHEREUMOn-chain contractsAMM · ExitQueue · EVELIVE STATEEthereum RPCDirect contract readsHISTORYGoldSky subgraphIndexed events + entitiesCONSUMERSApp & integrationsChoose the source by needINDEXED HISTORYActivity · requests · batchesCURRENT STATEBalances · prices · allowances
API / RPC readEvent indexing

Use GoldSky for activity, user aggregates, and batch or request history. Use direct RPC for balances, allowances, paused state, live prices, and current-batch request gating. Indexed history can lag the chain.