Hierarchy

Constructors

Properties

accountDAL: PendingAccountStorage
accountEntityHistoryDAL: AccountEntityHistoryStorage<EthereumAccountLogHistoryStorageEntity>
accountLogHistoryDAL: EthereumAccountLogHistoryStorage
blockHistoryFetcher: EthereumBlockHistoryFetcher
blockchainId: Blockchain = Blockchain.Ethereum
ethereumClient: EthereumClient

The ethereum mainnet public RPC client to use.

fetcherClient: FetcherMsClient
fetcherStateDAL: FetcherStateLevelStorage<any>

The fetcher state storage.

id: string
pendingAccounts: FetcherPool<string[]>
type: IndexableEntityType

Methods

  • Assigns to a fetcher instance an account owned by the specific program and initializes it.

    Parameters

    • args: AddAccountEntityRequestArgs

      Account address to asign to the fetcher instance,

    Returns Promise<void>

  • Stops the fetching process of that instance of the fetcher for that account.

    Parameters

    • args: DelAccountEntityRequestArgs

    Returns Promise<void>

  • Parameters

    • args: FetchAccountEntitiesByDateRequestArgs

    Returns Promise<void | AsyncIterable<string[]>>

  • Parameters

    • ids: string[]
    • byDateArgs: FetchAccountEntitiesByDateRequestArgs

    Returns Promise<void>

  • Parameters

    • args: GetAccountEntityStateRequestArgs

    Returns Promise<undefined | AccountEntityHistoryState<EthereumAccountLogHistoryPaginationCursor>>

  • Returns Promise<AccountEntityHistoryFetcherState>

  • Parameters

    • args: FetchAccountEntitiesByDateRequestArgs

    Returns Promise<StorageStream<string, EthereumAccountLogHistoryStorageEntity>>

  • Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc