What problem does it solve? Reading historical blockchain data is not possible with plain RPC calls — eth_call only reads current state, and scanning millions of blocks with eth_getLogs times out or gets rate-limited. This Skill teaches the correct patterns for querying onchain history using events, indexers, and The Graph. ## Core Features & Use Cases - Event-First Contract Design: Guidance on emitting and indexing Solidity events so frontends, indexers, and explorers can query every state change. - The Graph Subgraphs: End-to-end walkthrough of schema definition, mapping handlers, deployment, and GraphQL queries for historical data. - Alternative Indexers & APIs: Comparison of Dune Analytics, Alchemy/QuickNode APIs, Ponder, and direct RPC, plus Multicall batching and WebSocket subscriptions for real-time updates. - Use Case: You are building an NFT marketplace frontend that needs an activity feed and ownership history. Use this Skill to design events, deploy a subgraph, and query transfers via GraphQL instead of scanning blocks. ## Quick Start Ask the AI to explain how to index and query historical events from your smart contract using The Graph instead of looping through blocks.