graphprotocol / graph-client

The Graph library for building GraphQL-based dapps in a decentralized way.
MIT License
174 stars 44 forks source link

Research possible support for indexer/admin GraphQL endpoints #63

Open dotansimha opened 2 years ago

dotansimha commented 2 years ago

This architecture is really awesome. if we could have a health-check endpoint to get chainHeadBlock, its also helpful. I think the following is an ideal configuration.

Current configuration ==>

sources:

Proposed configuration ==>

sources:

Originally posted by @wanglonghong in https://github.com/graphprotocol/graph-client/issues/46#issuecomment-1108273307

dotansimha commented 2 years ago

More info on the admin/indexer endpoints and their supported features: https://thegraph.com/docs/en/indexing/#graph-node (the schema is in https://github.com/graphprotocol/graph-node/blob/master/server/index-node/src/schema.graphql )