Class AptosModulesProcessor

Hierarchy (View Summary)

  • AptosTransactionProcessor<
        GeneralTransactionResponse,
        AptosTransactionContext<GeneralTransactionResponse>,
    >
    • AptosModulesProcessor

Properties

callHandlers: CallHandler<Data_AptCall>[] = []
coder: MoveCoder
config: IndexConfigure
eventHandlers: EventHandler<Data_AptEvent>[] = []
moduleName: string
resourceChangeHandlers: ResourceChangeHandler<Data_AptResource>[] = []
transactionIntervalHandlers: TransactionIntervalHandler[] = []

Methods

  • Parameters

    • handler: (
          transaction: GeneralTransactionResponse,
          ctx: AptosTransactionContext<GeneralTransactionResponse>,
      ) => PromiseOrVoid
    • timeIntervalInMinutes: number = 60
    • backfillTimeIntervalInMinutes: number = 240
    • OptionalfetchConfig: Partial<MoveFetchConfig>

    Returns this

  • Parameters

    • handler: (
          transaction: GeneralTransactionResponse,
          context: AptosTransactionContext<GeneralTransactionResponse>,
      ) => PromiseOrVoid
    • versionInterval: number = 100000
    • backfillVersionInterval: number = 400000
    • OptionalfetchConfig: Partial<MoveFetchConfig>

    Returns this