Preparing search index...
The search index is not available
@sentio/sdk
@sentio/sdk
eth
EthPlugin
Class EthPlugin
Hierarchy
Plugin
EthPlugin
Index
Constructors
constructor
Properties
handlers
name
preprocess
Handlers
supported
Handlers
Methods
configure
preprocess
Binding
preprocess
Block
preprocess
Log
preprocess
Trace
preprocess
Transaction
process
Binding
process
Block
process
Log
process
Trace
process
Transaction
shutdown
Server
start
start
Server
state
Diff
Constructors
constructor
new
EthPlugin
()
:
EthPlugin
Returns
EthPlugin
Properties
handlers
handlers
:
Handlers
= ...
name
name
:
string
= 'EthPlugin'
preprocess
Handlers
preprocessHandlers
:
PreprocessHandlers
= ...
supported
Handlers
supportedHandlers
:
HandlerType
[]
= ...
Methods
configure
configure
(
config
:
ProcessConfigResponse
)
:
Promise
<
void
>
Parameters
config
:
ProcessConfigResponse
Returns
Promise
<
void
>
preprocess
Binding
preprocessBinding
(
request
:
DataBinding
,
preprocessStore
:
{
[
k
:
string
]:
any
}
,
)
:
Promise
<
PreprocessResult
>
Parameters
request
:
DataBinding
preprocessStore
:
{
[
k
:
string
]:
any
}
Returns
Promise
<
PreprocessResult
>
preprocess
Block
preprocessBlock
(
binding
:
DataBinding
,
preprocessStore
:
{
[
k
:
string
]:
any
}
,
)
:
Promise
<
PreprocessResult
>
Parameters
binding
:
DataBinding
preprocessStore
:
{
[
k
:
string
]:
any
}
Returns
Promise
<
PreprocessResult
>
preprocess
Log
preprocessLog
(
request
:
DataBinding
,
preprocessStore
:
{
[
k
:
string
]:
any
}
,
)
:
Promise
<
PreprocessResult
>
Parameters
request
:
DataBinding
preprocessStore
:
{
[
k
:
string
]:
any
}
Returns
Promise
<
PreprocessResult
>
preprocess
Trace
preprocessTrace
(
binding
:
DataBinding
,
preprocessStore
:
{
[
k
:
string
]:
any
}
,
)
:
Promise
<
PreprocessResult
>
Parameters
binding
:
DataBinding
preprocessStore
:
{
[
k
:
string
]:
any
}
Returns
Promise
<
PreprocessResult
>
preprocess
Transaction
preprocessTransaction
(
binding
:
DataBinding
,
preprocessStore
:
{
[
k
:
string
]:
any
}
,
)
:
Promise
<
PreprocessResult
>
Parameters
binding
:
DataBinding
preprocessStore
:
{
[
k
:
string
]:
any
}
Returns
Promise
<
PreprocessResult
>
process
Binding
processBinding
(
request
:
DataBinding
,
preparedData
:
undefined
|
PreparedData
,
)
:
Promise
<
ProcessResult
>
Parameters
request
:
DataBinding
preparedData
:
undefined
|
PreparedData
Returns
Promise
<
ProcessResult
>
process
Block
processBlock
(
binding
:
DataBinding
,
preparedData
:
undefined
|
PreparedData
,
)
:
Promise
<
ProcessResult
>
Parameters
binding
:
DataBinding
preparedData
:
undefined
|
PreparedData
Returns
Promise
<
ProcessResult
>
process
Log
processLog
(
request
:
DataBinding
,
preparedData
:
undefined
|
PreparedData
,
)
:
Promise
<
ProcessResult
>
Parameters
request
:
DataBinding
preparedData
:
undefined
|
PreparedData
Returns
Promise
<
ProcessResult
>
process
Trace
processTrace
(
binding
:
DataBinding
,
preparedData
:
undefined
|
PreparedData
,
)
:
Promise
<
ProcessResult
>
Parameters
binding
:
DataBinding
preparedData
:
undefined
|
PreparedData
Returns
Promise
<
ProcessResult
>
process
Transaction
processTransaction
(
binding
:
DataBinding
,
preparedData
:
undefined
|
PreparedData
,
)
:
Promise
<
ProcessResult
>
Parameters
binding
:
DataBinding
preparedData
:
undefined
|
PreparedData
Returns
Promise
<
ProcessResult
>
shutdown
Server
shutdownServer
()
:
void
method used by action server only
Returns
void
start
start
(
request
:
StartRequest
)
:
Promise
<
void
>
Parameters
request
:
StartRequest
Returns
Promise
<
void
>
start
Server
startServer
(
port
?:
number
)
:
Promise
<
void
>
method used by action server only
Parameters
Optional
port
:
number
Returns
Promise
<
void
>
state
Diff
stateDiff
(
config
:
ProcessConfigResponse
)
:
boolean
Parameters
config
:
ProcessConfigResponse
Returns
boolean
Deprecated
The method should not be used, use ctx.states instead
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
handlers
name
preprocess
Handlers
supported
Handlers
Methods
configure
preprocess
Binding
preprocess
Block
preprocess
Log
preprocess
Trace
preprocess
Transaction
process
Binding
process
Block
process
Log
process
Trace
process
Transaction
shutdown
Server
start
start
Server
state
Diff
@sentio/sdk
Loading...
method used by action server only