A base class to handle common Subgraph query logic.

Hierarchy (view full)

Constructors

Properties

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

Type declaration

getRelevantAddressesFromResultCore: ((result) => RelevantAddressesIntermediate)

Type declaration

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

Type declaration

    • (response): Index[]
    • Parameters

      • response: IndexesQuery

      Returns Index[]

requestDocument: TypedDocumentNode<IndexesQuery, Exact<{
    block?: InputMaybe<Block_Height>;
    first?: InputMaybe<number>;
    orderBy?: InputMaybe<Index_OrderBy>;
    orderDirection?: InputMaybe<OrderDirection>;
    skip?: InputMaybe<number>;
    where?: InputMaybe<Index_Filter>;
}>>

Methods

  • Parameters

    Returns Promise<null | Index>

Generated using TypeDoc