Skip to main content

Options

GraphQL interface hides the internal complexity of the datasets, integrating different blockchains, real time and archive data and different ways to query them.

Top level element of the query (EVM for Ethereum like blockchains) controls the dataset settings, applied to all the query below.

Top level element of the query has 3 attributes, defining what is the source for the result data:

  1. network - blockchain chain to query
  2. dataset - what type of the database to query
  3. select_blocks - which blocks (branches or trunk only) to include in results

Dataset options

note

subscription has a different set of top level elements. For example, the dataset for subscription is always real time and not controlled.

What is the default dataset if I do not set one?

If you omit dataset, the query behaves as dataset: realtime — the rolling recent window, with all filters available. Set dataset: archive or dataset: combined explicitly when you need history, and note that aggregate datasets restrict which fields can be filtered: see Filter limitations on aggregate datasets.