A base class to handle common Subgraph query logic.

Hierarchy (view full)

Constructors

Properties

getAddressFieldKeysFromFilter: (() => {
    accountKeys: (keyof Stream_Filter)[];
    tokenKeys: (keyof Stream_Filter)[];
})

Type declaration

getRelevantAddressesFromResultCore: ((result) => RelevantAddressesIntermediate)

Type declaration

mapFromSubgraphResponse: ((response) => Stream[])

Type declaration

    • (response): Stream[]
    • Parameters

      • response: StreamsQuery

      Returns Stream[]

requestDocument: TypedDocumentNode<StreamsQuery, Exact<{
    block?: InputMaybe<Block_Height>;
    first?: InputMaybe<number>;
    orderBy?: InputMaybe<Stream_OrderBy>;
    orderDirection?: InputMaybe<OrderDirection>;
    skip?: InputMaybe<number>;
    where?: InputMaybe<Stream_Filter>;
}>>

Methods

  • Parameters

    Returns Promise<null | Stream>

Generated using TypeDoc