Skip to content

Subgraph

Subgraph components

import { SubgraphService } from '@filoz/synapse-sdk/subgraph'
ClassDescription
SubgraphServiceDefines the contract for a service that can retrieve provider information from a data source, typically a Synapse-compatible subgraph.
InterfaceDescription
DetailedSubgraphDataSetInfoDetailed data set information from subgraph with additional metadata
FaultRecordFault record information
NestedQueryOptionsOptions for nested entity queries in subgraphs
PaginationOptionsOptions for pagination in subgraph queries
PieceInfoPiece information with data set context
ProviderStatsExtended provider statistics including fault information
QueryOptionsOptions for flexible subgraph queries with custom where clauses
SubgraphDataSetInfoBasic data set information from subgraph