Graph Node can ingest blockchain data using two different APIs:
Ethereum JSON RPC found in EVM-based chains. See the requirements and how to get started on the page below.
- If the chain does not expose an EVM JSON-RPC API, the integration should start with a Firehose instrumentation of the underlying node. StreamingFast’s documentation is a great start.
- Firehose instrumentation is always recommended, as that’s a requirement for substreams.
I'd recommend starting with the EVM JSON RPC approach for subgraph support. Here are the requirements and a cookbook for a quick integration test (with an example contract and subgraph): https://www.notion.so/thegraphfoundation/Graph-Node-EVM-JSON-RPC-API-Integration-Details-and-Cookbook-3328df9ec6044b2fa4c08c50061d1766