Queries
Last updated
Last updated
GraphQL's flexible query structure allows you to explore various data fetching strategies (such as direct lookup, pagination, diffing, etc). This page will help you get started by providing examples using the most techniques.
You can try out the Lockers V2 queries below using Graph Protocol's playground:
All of the examples can also be accessed from the preset dropdown.
This query returns all locks that currently exist on all AMMs for a given chain (regardless of their expiration).
The amount of locks returned might exceed the Subgraph return limit (currently at 1000
results per query). It is suggested to combine this query with various .