Hosted Subgraph

In addition to Sentio processor, Sentio is also compatible Subgraph, while Sentio still provide same GraphQL API endpoint, we also provide SQL API, dashboards, multi-versioning, etc, many of the benefits that Sentio processor have provided. However in order to get max performance and usability, we still highly recommend to use Sentio Processor.

To create a Subgraph, first create a project and choose Subgraph as project type.

Then upload your graph to this project with:

npx @sentio/cli graph deploy --owner $PROJECT_OWNER --name $PROJECT_NAME

Once it get uploaded, use data-source page to view progress. And use data studio to access either GraphQL or SQL.

Recommended subgraph version is:

@graphprotocol/graph-cli: 0.68.5
@graphprotocol/graph-ts: 0.32.0

Network Supported

All the EVM network listed in here are supported.
For network field, we recommend to use chain id instead of network slug which could be ambiguous, e.g.

network: '1`

We also supported using your own customized RPC or forked network, just put the RPC endpoint in the network field, e.g.

network: 'http://my-forked-rpc-endpoint'

Docs and API

When uploading the subgraph, the API endpoint will be printed in console, you can
also find docs and API in the data studio page for the GraphQL.

Limitation

Currently Sentio Subgraph doesn't have trace handler.