SuiWrappedObjectProcessor

Class in @sentio/sdk/sui

Defined in @sentio/sdk/sui

Extends

Properties

PropertyTypeDefault valueInherited from
configIndexConfigureundefinedSuiBaseObjectOrAddressProcessorInternal.config
objectChangeHandlersObjectChangeHandler<Data_SuiObjectChange>[][]SuiBaseObjectOrAddressProcessorInternal.objectChangeHandlers
objectHandlersObjectHandler[][]SuiBaseObjectOrAddressProcessorInternal.objectHandlers
ownerTypeMoveOwnerTypeundefinedSuiBaseObjectOrAddressProcessorInternal.ownerType
templateIdnumber | undefinedundefinedSuiBaseObjectOrAddressProcessorInternal.templateId

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

SuiBaseObjectOrAddressProcessorInternal.getChainId

onCheckpointInterval()

onCheckpointInterval(
   handler: (dynamicFieldObjects: SuiMoveObjectInput[], ctx: SuiObjectContext) => PromiseOrVoid, 
   checkpointInterval?: number, 
   backfillCheckpointInterval?: number, 
   type?: string, 
   fetchConfig?: Partial<MoveAccountFetchConfig>
): this;

Parameters

ParameterTypeDefault value
handler(dynamicFieldObjects: SuiMoveObjectInput[], ctx: SuiObjectContext) => PromiseOrVoidundefined
checkpointIntervalnumber100000
backfillCheckpointIntervalnumber400000
type?stringundefined
fetchConfig?Partial<MoveAccountFetchConfig>undefined

Returns

this

Inherited from

SuiBaseObjectOrAddressProcessorInternal.onCheckpointInterval

onInterval()

onInterval(
   handler: (dynamicFieldObjects: SuiMoveObjectInput[], ctx: SuiObjectContext) => PromiseOrVoid, 
   timeInterval: 
  | HandleInterval
  | undefined, 
   checkpointInterval: 
  | HandleInterval
  | undefined, 
   type: string | undefined, 
   fetchConfig: 
  | Partial<MoveAccountFetchConfig>
  | undefined, 
   handlerName?: string
): this;

Parameters

ParameterType
handler(dynamicFieldObjects: SuiMoveObjectInput[], ctx: SuiObjectContext) => PromiseOrVoid
timeInterval| HandleInterval | undefined
checkpointInterval| HandleInterval | undefined
typestring | undefined
fetchConfig| Partial<MoveAccountFetchConfig> | undefined
handlerNamestring

Returns

this

Inherited from

SuiBaseObjectOrAddressProcessorInternal.onInterval

onTimeInterval()

onTimeInterval(
   handler: (dynamicFieldObjects: SuiMoveObjectInput[], ctx: SuiObjectContext) => PromiseOrVoid, 
   timeIntervalInMinutes?: number, 
   backfillTimeIntervalInMinutes?: number, 
   type?: string, 
   fetchConfig?: Partial<MoveAccountFetchConfig>
): this;

Parameters

ParameterTypeDefault value
handler(dynamicFieldObjects: SuiMoveObjectInput[], ctx: SuiObjectContext) => PromiseOrVoidundefined
timeIntervalInMinutesnumber60
backfillTimeIntervalInMinutesnumber240
type?stringundefined
fetchConfig?Partial<MoveAccountFetchConfig>undefined

Returns

this

Inherited from

SuiBaseObjectOrAddressProcessorInternal.onTimeInterval

bind()

static bind(options: SuiObjectBindOptions): SuiWrappedObjectProcessor;

For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters.

Parameters

ParameterType
optionsSuiObjectBindOptions

Returns

SuiWrappedObjectProcessor

On this page