@sentio/sdk
Preparing search index...
.
ProcessorV3Client
Interface ProcessorV3Client<CallOptionsExt>
interface
ProcessorV3Client
<
CallOptionsExt
=
{}
>
{
getConfig
(
request
:
{}
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
Promise
<
ProcessConfigResponse
>
;
processBindingsStream
(
request
:
AsyncIterable
<
{
binding
?:
{
chainId
?:
string
;
data
?:
{
aptCall
?:
{
rawTransaction
?:
string
}
;
aptEvent
?:
{
eventIndex
?:
number
;
rawEvent
?:
string
;
rawTransaction
?:
string
;
}
;
aptResource
?:
{
rawResources
?:
string
[]
;
timestampMicros
?:
bigint
;
version
?:
bigint
;
}
;
cosmosCall
?:
{
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
}
;
ethBlock
?:
{
block
?:
{
[
key
:
string
]:
any
}
}
;
ethLog
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
log
?:
{
[
key
:
string
]:
any
}
;
rawBlock
?:
string
;
rawLog
?:
string
;
rawTransaction
?:
string
;
rawTransactionReceipt
?:
string
;
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
ethTrace
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
;
trace
?:
{
[
key
:
string
]:
any
}
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
ethTransaction
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
rawBlock
?:
string
;
rawTrace
?:
string
;
rawTransaction
?:
string
;
rawTransactionReceipt
?:
string
;
timestamp
?:
Date
;
trace
?:
{
[
key
:
string
]:
any
}
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
fuelBlock
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
}
;
fuelLog
?:
{
receiptIndex
?:
bigint
;
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
}
;
fuelTransaction
?:
{
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
}
;
solInstruction
?:
{
accounts
?:
string
[]
;
instructionData
?:
string
;
parsed
?:
{
[
key
:
string
]:
any
}
;
programAccountId
?:
string
;
slot
?:
bigint
;
}
;
starknetEvents
?:
{
result
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
}
;
suiCall
?:
{
rawTransaction
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
}
;
suiEvent
?:
{
rawEvent
?:
string
;
rawTransaction
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
;
}
;
suiObject
?:
{
objectDigest
?:
string
;
objectId
?:
string
;
objectVersion
?:
bigint
;
rawObjects
?:
string
[]
;
rawSelf
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
;
}
;
suiObjectChange
?:
{
rawChanges
?:
string
[]
;
slot
?:
bigint
;
timestamp
?:
Date
;
txDigest
?:
string
;
}
;
}
;
handlerIds
?:
number
[]
;
handlerType
?:
HandlerType
;
}
;
dbResult
?:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
...
]:
...
}
}
[]
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
...
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
;
processId
?:
number
;
start
?:
boolean
;
}
,
>
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
AsyncIterable
<
ProcessStreamResponseV3
>
;
start
(
request
:
{
templateInstances
?:
{
baseLabels
?:
{
[
key
:
string
]:
any
}
;
contract
?:
{
abi
?:
string
;
address
?:
string
;
chainId
?:
string
;
name
?:
string
;
}
;
endBlock
?:
bigint
;
startBlock
?:
bigint
;
templateId
?:
number
;
}
[]
;
}
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
Promise
<
Empty
>
;
updateTemplates
(
request
:
{
chainId
?:
string
;
templateInstances
?:
{
baseLabels
?:
{
[
key
:
string
]:
any
}
;
contract
?:
{
abi
?:
string
;
address
?:
string
;
chainId
?:
string
;
name
?:
string
;
}
;
endBlock
?:
bigint
;
startBlock
?:
bigint
;
templateId
?:
number
;
}
[]
;
}
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
Promise
<
Empty
>
;
}
Type Parameters
CallOptionsExt
=
{}
Index
Methods
get
Config
process
Bindings
Stream
start
update
Templates
Methods
get
Config
getConfig
(
request
:
{}
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
Promise
<
ProcessConfigResponse
>
Parameters
request
:
{}
Optional
options
:
CallOptions
&
CallOptionsExt
Returns
Promise
<
ProcessConfigResponse
>
process
Bindings
Stream
processBindingsStream
(
request
:
AsyncIterable
<
{
binding
?:
{
chainId
?:
string
;
data
?:
{
aptCall
?:
{
rawTransaction
?:
string
}
;
aptEvent
?:
{
eventIndex
?:
number
;
rawEvent
?:
string
;
rawTransaction
?:
string
;
}
;
aptResource
?:
{
rawResources
?:
string
[]
;
timestampMicros
?:
bigint
;
version
?:
bigint
;
}
;
cosmosCall
?:
{
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
}
;
ethBlock
?:
{
block
?:
{
[
key
:
string
]:
any
}
}
;
ethLog
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
log
?:
{
[
key
:
string
]:
any
}
;
rawBlock
?:
string
;
rawLog
?:
string
;
rawTransaction
?:
string
;
rawTransactionReceipt
?:
string
;
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
ethTrace
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
;
trace
?:
{
[
key
:
string
]:
any
}
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
ethTransaction
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
rawBlock
?:
string
;
rawTrace
?:
string
;
rawTransaction
?:
string
;
rawTransactionReceipt
?:
string
;
timestamp
?:
Date
;
trace
?:
{
[
key
:
string
]:
any
}
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
fuelBlock
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
}
;
fuelLog
?:
{
receiptIndex
?:
bigint
;
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
}
;
fuelTransaction
?:
{
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
}
;
solInstruction
?:
{
accounts
?:
string
[]
;
instructionData
?:
string
;
parsed
?:
{
[
key
:
string
]:
any
}
;
programAccountId
?:
string
;
slot
?:
bigint
;
}
;
starknetEvents
?:
{
result
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
}
;
suiCall
?:
{
rawTransaction
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
}
;
suiEvent
?:
{
rawEvent
?:
string
;
rawTransaction
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
;
}
;
suiObject
?:
{
objectDigest
?:
string
;
objectId
?:
string
;
objectVersion
?:
bigint
;
rawObjects
?:
string
[]
;
rawSelf
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
;
}
;
suiObjectChange
?:
{
rawChanges
?:
string
[]
;
slot
?:
bigint
;
timestamp
?:
Date
;
txDigest
?:
string
;
}
;
}
;
handlerIds
?:
number
[]
;
handlerType
?:
HandlerType
;
}
;
dbResult
?:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
...
]:
...
}
}
[]
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
...
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
;
processId
?:
number
;
start
?:
boolean
;
}
,
>
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
AsyncIterable
<
ProcessStreamResponseV3
>
Parameters
request
:
AsyncIterable
<
{
binding
?:
{
chainId
?:
string
;
data
?:
{
aptCall
?:
{
rawTransaction
?:
string
}
;
aptEvent
?:
{
eventIndex
?:
number
;
rawEvent
?:
string
;
rawTransaction
?:
string
;
}
;
aptResource
?:
{
rawResources
?:
string
[]
;
timestampMicros
?:
bigint
;
version
?:
bigint
;
}
;
cosmosCall
?:
{
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
}
;
ethBlock
?:
{
block
?:
{
[
key
:
string
]:
any
}
}
;
ethLog
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
log
?:
{
[
key
:
string
]:
any
}
;
rawBlock
?:
string
;
rawLog
?:
string
;
rawTransaction
?:
string
;
rawTransactionReceipt
?:
string
;
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
ethTrace
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
;
trace
?:
{
[
key
:
string
]:
any
}
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
ethTransaction
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
rawBlock
?:
string
;
rawTrace
?:
string
;
rawTransaction
?:
string
;
rawTransactionReceipt
?:
string
;
timestamp
?:
Date
;
trace
?:
{
[
key
:
string
]:
any
}
;
transaction
?:
{
[
key
:
string
]:
any
}
;
transactionReceipt
?:
{
[
key
:
string
]:
any
}
;
}
;
fuelBlock
?:
{
block
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
}
;
fuelLog
?:
{
receiptIndex
?:
bigint
;
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
}
;
fuelTransaction
?:
{
timestamp
?:
Date
;
transaction
?:
{
[
key
:
string
]:
any
}
;
}
;
solInstruction
?:
{
accounts
?:
string
[]
;
instructionData
?:
string
;
parsed
?:
{
[
key
:
string
]:
any
}
;
programAccountId
?:
string
;
slot
?:
bigint
;
}
;
starknetEvents
?:
{
result
?:
{
[
key
:
string
]:
any
}
;
timestamp
?:
Date
}
;
suiCall
?:
{
rawTransaction
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
}
;
suiEvent
?:
{
rawEvent
?:
string
;
rawTransaction
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
;
}
;
suiObject
?:
{
objectDigest
?:
string
;
objectId
?:
string
;
objectVersion
?:
bigint
;
rawObjects
?:
string
[]
;
rawSelf
?:
string
;
slot
?:
bigint
;
timestamp
?:
Date
;
}
;
suiObjectChange
?:
{
rawChanges
?:
string
[]
;
slot
?:
bigint
;
timestamp
?:
Date
;
txDigest
?:
string
;
}
;
}
;
handlerIds
?:
number
[]
;
handlerType
?:
HandlerType
;
}
;
dbResult
?:
{
data
?:
{
[
key
:
string
]:
any
}
;
entities
?:
{
entities
?:
{
fields
?:
{
[
key
:
...
]:
...
}
}
[]
}
;
entityList
?:
{
entities
?:
{
data
?:
{
fields
?:
...
}
;
entity
?:
string
;
genBlockChain
?:
string
;
genBlockNumber
?:
bigint
;
genBlockTime
?:
Date
;
}
[]
;
}
;
error
?:
string
;
list
?:
any
[]
;
nextCursor
?:
string
;
opId
?:
bigint
;
}
;
processId
?:
number
;
start
?:
boolean
;
}
,
>
Optional
options
:
CallOptions
&
CallOptionsExt
Returns
AsyncIterable
<
ProcessStreamResponseV3
>
start
start
(
request
:
{
templateInstances
?:
{
baseLabels
?:
{
[
key
:
string
]:
any
}
;
contract
?:
{
abi
?:
string
;
address
?:
string
;
chainId
?:
string
;
name
?:
string
;
}
;
endBlock
?:
bigint
;
startBlock
?:
bigint
;
templateId
?:
number
;
}
[]
;
}
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
Promise
<
Empty
>
Parameters
request
:
{
templateInstances
?:
{
baseLabels
?:
{
[
key
:
string
]:
any
}
;
contract
?:
{
abi
?:
string
;
address
?:
string
;
chainId
?:
string
;
name
?:
string
;
}
;
endBlock
?:
bigint
;
startBlock
?:
bigint
;
templateId
?:
number
;
}
[]
;
}
Optional
options
:
CallOptions
&
CallOptionsExt
Returns
Promise
<
Empty
>
update
Templates
updateTemplates
(
request
:
{
chainId
?:
string
;
templateInstances
?:
{
baseLabels
?:
{
[
key
:
string
]:
any
}
;
contract
?:
{
abi
?:
string
;
address
?:
string
;
chainId
?:
string
;
name
?:
string
;
}
;
endBlock
?:
bigint
;
startBlock
?:
bigint
;
templateId
?:
number
;
}
[]
;
}
,
options
?:
CallOptions
&
CallOptionsExt
,
)
:
Promise
<
Empty
>
Parameters
request
:
{
chainId
?:
string
;
templateInstances
?:
{
baseLabels
?:
{
[
key
:
string
]:
any
}
;
contract
?:
{
abi
?:
string
;
address
?:
string
;
chainId
?:
string
;
name
?:
string
;
}
;
endBlock
?:
bigint
;
startBlock
?:
bigint
;
templateId
?:
number
;
}
[]
;
}
Optional
options
:
CallOptions
&
CallOptionsExt
Returns
Promise
<
Empty
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Config
process
Bindings
Stream
start
update
Templates
@sentio/sdk
Loading...