Class SuiAddressProcessor

Hierarchy

Constructors

Properties

callHandlers: CallHandler<Data_SuiCall>[] = []
config: IndexConfigure
objectChangeHandlers: ObjectChangeHandler<Data_SuiObjectChange>[] = []
objectHandlers: ObjectHandler[] = []
ownerType: MoveOwnerType
templateId: undefined | number

Methods

  • Parameters

    • handler: (
          objects: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }[],
          ctx: SuiAddressContext,
      ) => PromiseOrVoid
    • checkpointInterval: number = 100000
    • backfillCheckpointInterval: number = 400000
    • Optionaltype: string
    • OptionalfetchConfig: Partial<MoveAccountFetchConfig>

    Returns this

  • Parameters

    • handler: (
          objects: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }[],
          ctx: SuiAddressContext,
      ) => PromiseOrVoid
    • timeInterval: undefined | HandleInterval
    • checkpointInterval: undefined | HandleInterval
    • type: undefined | string
    • fetchConfig: undefined | Partial<MoveAccountFetchConfig>

    Returns this

  • Parameters

    • handler: (
          objects: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }[],
          ctx: SuiAddressContext,
      ) => PromiseOrVoid
    • timeIntervalInMinutes: number = 60
    • backfillTimeIntervalInMinutes: number = 240
    • Optionaltype: string
    • OptionalfetchConfig: Partial<MoveAccountFetchConfig>

    Returns this