Handles the fetching and processing of signatures on an account.

Hierarchy

Constructors

Properties

account: string

The account account to fetch related signatures for.

backwardJob: undefined | JobRunner
blockHistoryFetcher: EthereumBlockHistoryFetcher
blockchainId: Blockchain = Blockchain.Ethereum
ethereumClient: EthereumClient

The Solana RPC client.

fetcherStateDAL: FetcherStateLevelStorage<EthereumAccountTransactionHistoryPaginationCursor>

The fetcher state storage.

forwardJob: undefined | JobRunner
previousBackwardBlockCursor: number = Number.MAX_SAFE_INTEGER
times: number = 1

Methods

  • Parameters

    • type: "forward" | "backward"
    • ctx: {
          error?: Error;
          jobState: BaseFetcherJobState;
          newItems: boolean;
      }
      • Optional error?: Error
      • jobState: BaseFetcherJobState
      • newItems: boolean

    Returns Promise<boolean>

  • Parameters

    • fetcherType: "forward" | "backward"
    • ctx: {
          firstRun: boolean;
          interval: number;
      }
      • firstRun: boolean
      • interval: number

    Returns Promise<number>

  • Parameters

    • fetcherType: "forward" | "backward"

    Returns Promise<void>

  • Returns string

  • Parameters

    • Optional fetcherType: "forward" | "backward"

    Returns Promise<number>

  • Parameters

    • Optional fetcherType: "forward" | "backward"

    Returns Promise<number>

  • Parameters

    • jobType: "forward" | "backward"

    Returns void

  • Parameters

    • Optional fetcherType: "forward" | "backward"

    Returns Promise<boolean>

  • Returns Promise<unknown>

  • Saves the fetcher state in the data access layer.

    Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc