Skip to content

require block: { number_gte: $minBlock } on subgraph queries, with refetch #208

Description

@vibern0

https://thegraph.com/docs/en/cookbook/migrating-a-subgraph/#querying-your-subgraph-on-the-decentralized-network

Note: Due to the distributed nature of the network it might be the case that different Indexers have indexed up to different blocks. In order to only receive fresh data you can specify the minimum block an Indexer has to have indexed in order to serve your query with the block: { number_gte: $minBlock } field argument

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions