Hierarchy

  • EthereumIndexerClient
    • BscIndexerClient

Implements

  • IndexerClientI

Constructors

  • Parameters

    • blockchainId: Blockchain

      The id of the blockchain the client handles

    • broker: ServiceBroker

      The broker instance to retrieve the actual service from.

    • Optional msId: MsIds

      The moleculer service id of the indexer service.

    Returns BscIndexerClient

Properties

blockchainId: Blockchain
broker: ServiceBroker
msId: MsIds
normalizeAccount: ((account: string) => string)

Type declaration

    • (account: string): string
    • Parameters

      • account: string

      Returns string

normalizeEntityId: ((entity: IndexableEntityType, id: string) => string)

Type declaration

    • (entity: IndexableEntityType, id: string): string
    • Parameters

      • entity: IndexableEntityType
      • id: string

      Returns string

Methods

  • Parameters

    • args: Omit<AccountIndexerRequestArgs, "blockchainId">
    • Optional broadcast: boolean

    Returns Promise<void>

  • Parameters

    • args: Omit<GetAccountIndexingEntityStateRequestArgs, "blockchainId">

    Returns Promise<undefined | AccountIndexerState>

  • Parameters

    • args: Omit<GetEntityPendingRequestsRequestArgs, "blockchainId">

    Returns Promise<EntityRequest[]>

  • Parameters

    • args: Omit<AccountIndexerRequestArgs, "blockchainId">
    • Optional broadcast: boolean

    Returns Promise<void>

  • Parameters

    • args: Omit<InvokeMethodRequestArgs, "blockchainId">

    Returns Promise<unknown>

Generated using TypeDoc