Skip to main content

Schema

Overview

We provide auto-generated GraphQL schema documentation for both The Graph and Envio:

Query Syntax Differences

FeatureThe GraphEnvio
Paginationfirstlimit
Paginationskipoffset
Get by IDstream(id: "...")Stream_by_pk(id: "...")
Get multiplestreams{}Stream(where: {chainId: {_eq: ""}}){}
Nested itemscampaigns{ id, asset: {id, symbol}}Campaign{ asset_id, asset: {id, symbol}}

Entities

This is the raw GraphQL file that is used by both The Graph and Envio for generating the final schemas hosted on their services.

The schema only contains entities:

Sablier Lockup - GraphQL Schema Entities
loading...