Hosted Subgraphs
Hanzo Graph
Hosted Graph Node & Subgraphs
Deploy subgraphs in seconds. Query on-chain data via GraphQL. Fully managed Graph Node infrastructure.
100+
Chains
<1s
Index Latency
HA
Failover
∞
Queries
GraphQL API
Define your schema, deploy your subgraph, query with GraphQL. No backend needed.
Real-time Indexing
Events indexed in real-time. Queries reflect the latest on-chain state.
Multi-chain
Deploy the same subgraph across 100+ chains. Unified data layer.
Auto-scaling
Handle traffic spikes automatically. No manual scaling required.
High Availability
Enterprise SLA available. Redundant infrastructure across regions.
Version Control
Deploy new versions without downtime. Rollback instantly if needed.
Supported Chains
Deploy subgraphs across the entire EVM ecosystem
EthereumPolygonArbitrumOptimismBaseBNB ChainAvalancheGnosisCeloFantomMoonbeamLux Network+88 more chains
schema.graphql
# Define your schema
type Token @entity {
id: ID!
name: String!
symbol: String!
totalSupply: BigInt!
holders: [Holder!]! @derivedFrom(field: "token")
}
type Holder @entity {
id: ID!
address: Bytes!
token: Token!
balance: BigInt!
}
type Transfer @entity {
id: ID!
from: Bytes!
to: Bytes!
value: BigInt!
timestamp: BigInt!
blockNumber: BigInt!
}
# Query your data
query GetTopHolders($tokenId: ID!) {
token(id: $tokenId) {
name
symbol
totalSupply
holders(first: 10, orderBy: balance, orderDirection: desc) {
address
balance
}
}
}Deploy in 3 Steps
1
Create Subgraph
npx graph init --from-contract 0x... --network ethereum2
Build
npx graph codegen && npx graph build3
Deploy to Hanzo
npx graph deploy --node https://graph.hanzo.ai/deploy my-subgraph