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 IDlockupStream(id: "...") / flowStream(id: "...")LockupStream_by_pk(id: "...") / FlowStream_by_pk(id: "...")
Get multiplelockupStreams{} / flowStreams{}LockupStream(where: {...}){} / FlowStream(where: {...}){}
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 Streams - GraphQL Schema Entities
loading...