@sentio/sdk
Preparing search index...
sui
SuiAddressProcessorTemplate
Class SuiAddressProcessorTemplate
Hierarchy
SuiObjectOrAddressProcessorTemplate
<
(
objects
:
SuiMoveObject
[]
,
ctx
:
SuiAddressContext
)
=>
PromiseOrVoid
,
SuiBindOptions
,
SuiAddressProcessor
,
>
SuiAddressProcessorTemplate
Index
Constructors
constructor
Properties
id
instances
object
Handlers
Methods
bind
create
Processor
on
Checkpoint
Interval
on
Interval
on
Time
Interval
on
Transaction
Block
start
Instance
unbind
Constructors
constructor
new
SuiAddressProcessorTemplate
()
:
SuiAddressProcessorTemplate
Returns
SuiAddressProcessorTemplate
Properties
id
id
:
number
instances
instances
:
Set
<
string
>
= ...
object
Handlers
objectHandlers
:
ObjectHandler
<
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
hasPublicTransfer
:
boolean
;
type
:
string
;
}
[]
,
ctx
:
SuiAddressContext
,
)
=>
PromiseOrVoid
,
>
[]
= []
Methods
bind
bind
(
options
:
SuiBindOptions
,
ctx
:
SuiContext
)
:
void
Parameters
options
:
SuiBindOptions
ctx
:
SuiContext
Returns
void
create
Processor
createProcessor
(
options
:
SuiBindOptions
)
:
SuiAddressProcessor
Parameters
options
:
SuiBindOptions
Returns
SuiAddressProcessor
on
Checkpoint
Interval
onCheckpointInterval
(
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
hasPublicTransfer
:
boolean
;
type
:
string
;
}
[]
,
ctx
:
SuiAddressContext
,
)
=>
PromiseOrVoid
,
checkpointInterval
?:
number
,
backfillCheckpointInterval
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
hasPublicTransfer
:
boolean
;
type
:
string
;
}
[]
,
ctx
:
SuiAddressContext
,
)
=>
PromiseOrVoid
checkpointInterval
:
number
= 100000
backfillCheckpointInterval
:
number
= 400000
Optional
type
:
string
Optional
fetchConfig
:
Partial
<
MoveAccountFetchConfig
>
Returns
this
Protected
on
Interval
onInterval
(
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
>
,
)
:
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
on
Time
Interval
onTimeInterval
(
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
hasPublicTransfer
:
boolean
;
type
:
string
;
}
[]
,
ctx
:
SuiAddressContext
,
)
=>
PromiseOrVoid
,
timeIntervalInMinutes
?:
number
,
backfillTimeIntervalInMinutes
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
hasPublicTransfer
:
boolean
;
type
:
string
;
}
[]
,
ctx
:
SuiAddressContext
,
)
=>
PromiseOrVoid
timeIntervalInMinutes
:
number
= 60
backfillTimeIntervalInMinutes
:
number
= 240
Optional
type
:
string
Optional
fetchConfig
:
Partial
<
MoveAccountFetchConfig
>
Returns
this
on
Transaction
Block
onTransactionBlock
(
handler
:
(
transaction
:
SuiTransactionBlockResponse
,
ctx
:
SuiContext
,
)
=>
void
,
filter
?:
TransactionFilter
,
fetchConfig
?:
Partial
<
MoveFetchConfig
>
,
)
:
this
Parameters
handler
:
(
transaction
:
SuiTransactionBlockResponse
,
ctx
:
SuiContext
)
=>
void
Optional
filter
:
TransactionFilter
Optional
fetchConfig
:
Partial
<
MoveFetchConfig
>
Returns
this
start
Instance
startInstance
(
options
:
SuiBindOptions
,
ctx
:
SuiContext
)
:
void
Parameters
options
:
SuiBindOptions
ctx
:
SuiContext
Returns
void
unbind
unbind
(
options
:
SuiBindOptions
,
ctx
:
SuiContext
)
:
void
Parameters
options
:
SuiBindOptions
ctx
:
SuiContext
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
id
instances
object
Handlers
Methods
bind
create
Processor
on
Checkpoint
Interval
on
Interval
on
Time
Interval
on
Transaction
Block
start
Instance
unbind
@sentio/sdk
Loading...