Schema
Overview
We provide auto-generated GraphQL schema documentation for both The Graph and Envio:
Query Syntax Differences
| Feature | The Graph | Envio |
|---|---|---|
| Pagination | first | limit |
| Pagination | skip | offset |
| Get by ID | lockupStream(id: "...") / flowStream(id: "...") | LockupStream_by_pk(id: "...") / FlowStream_by_pk(id: "...") |
| Get multiple | lockupStreams{} / flowStreams{} | LockupStream(where: {...}){} / FlowStream(where: {...}){} |
| Nested items | campaigns{ 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...