@sentio/sdk
Preparing search index...
iota
IotaAddressProcessorTemplate
Class IotaAddressProcessorTemplate
Hierarchy
IotaObjectOrAddressProcessorTemplate
<
(
objects
:
IotaMoveObject
[]
,
ctx
:
IotaAddressContext
)
=>
PromiseOrVoid
,
IotaBindOptions
,
IotaAddressProcessor
,
>
IotaAddressProcessorTemplate
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
IotaAddressProcessorTemplate
()
:
IotaAddressProcessorTemplate
Returns
IotaAddressProcessorTemplate
Properties
id
id
:
number
instances
instances
:
Set
<
string
>
= ...
object
Handlers
objectHandlers
:
ObjectHandler
<
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
[]
,
ctx
:
IotaAddressContext
,
)
=>
PromiseOrVoid
,
>
[]
= []
Methods
bind
bind
(
options
:
IotaBindOptions
,
ctx
:
IotaContext
)
:
void
Parameters
options
:
IotaBindOptions
ctx
:
IotaContext
Returns
void
create
Processor
createProcessor
(
options
:
IotaBindOptions
)
:
IotaAddressProcessor
Parameters
options
:
IotaBindOptions
Returns
IotaAddressProcessor
on
Checkpoint
Interval
onCheckpointInterval
(
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
[]
,
ctx
:
IotaAddressContext
,
)
=>
PromiseOrVoid
,
checkpointInterval
?:
number
,
backfillCheckpointInterval
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
[]
,
ctx
:
IotaAddressContext
,
)
=>
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
;
type
:
string
}
[]
,
ctx
:
IotaAddressContext
,
)
=>
PromiseOrVoid
,
timeInterval
:
undefined
|
HandleInterval
,
checkpointInterval
:
undefined
|
HandleInterval
,
type
:
undefined
|
string
,
fetchConfig
:
undefined
|
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
[]
,
ctx
:
IotaAddressContext
,
)
=>
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
;
type
:
string
}
[]
,
ctx
:
IotaAddressContext
,
)
=>
PromiseOrVoid
,
timeIntervalInMinutes
?:
number
,
backfillTimeIntervalInMinutes
?:
number
,
type
?:
string
,
fetchConfig
?:
Partial
<
MoveAccountFetchConfig
>
,
)
:
this
Parameters
handler
:
(
objects
:
{
dataType
:
"moveObject"
;
fields
:
MoveStruct
;
type
:
string
}
[]
,
ctx
:
IotaAddressContext
,
)
=>
PromiseOrVoid
timeIntervalInMinutes
:
number
= 60
backfillTimeIntervalInMinutes
:
number
= 240
Optional
type
:
string
Optional
fetchConfig
:
Partial
<
MoveAccountFetchConfig
>
Returns
this
on
Transaction
Block
onTransactionBlock
(
handler
:
(
transaction
:
IotaTransactionBlockResponse
,
ctx
:
IotaContext
,
)
=>
void
,
filter
?:
TransactionFilter
,
fetchConfig
?:
Partial
<
MoveFetchConfig
>
,
)
:
this
Parameters
handler
:
(
transaction
:
IotaTransactionBlockResponse
,
ctx
:
IotaContext
)
=>
void
Optional
filter
:
TransactionFilter
Optional
fetchConfig
:
Partial
<
MoveFetchConfig
>
Returns
this
start
Instance
startInstance
(
options
:
IotaBindOptions
,
ctx
:
IotaContext
)
:
void
Parameters
options
:
IotaBindOptions
ctx
:
IotaContext
Returns
void
unbind
unbind
(
options
:
IotaBindOptions
,
ctx
:
IotaContext
)
:
void
Parameters
options
:
IotaBindOptions
ctx
:
IotaContext
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...