CCC Docs
GitHub
App
Docs
Playground
Preparing search index...
@ckb-ccc ssri
ssri
Executor
Class Executor
Abstract
Represents an SSRI executor.
Hierarchy (
View Summary
)
Executor
ExecutorJsonRpc
Index
Constructors
constructor
Methods
run
Script
run
Script
Try
Constructors
constructor
new
Executor
()
:
Executor
Returns
Executor
Methods
Abstract
run
Script
runScript
(
codeOutPoint
:
OutPointLike
,
method
:
string
,
args
:
BytesLike
[]
,
context
?:
ContextTransaction
|
ContextCell
|
ContextScript
|
ContextCode
,
)
:
Promise
<
ExecutorResponse
<
`
0x
${
string
}
`
>
>
Parameters
codeOutPoint
:
OutPointLike
method
:
string
args
:
BytesLike
[]
Optional
context
:
ContextTransaction
|
ContextCell
|
ContextScript
|
ContextCode
Returns
Promise
<
ExecutorResponse
<
`
0x
${
string
}
`
>
>
run
Script
Try
runScriptTry
(
codeOutPoint
:
OutPointLike
,
method
:
string
,
args
:
BytesLike
[]
,
context
?:
ContextTransaction
|
ContextCell
|
ContextScript
|
ContextCode
,
)
:
Promise
<
undefined
|
ExecutorResponse
<
`
0x
${
string
}
`
>
>
Parameters
codeOutPoint
:
OutPointLike
method
:
string
args
:
BytesLike
[]
Optional
context
:
ContextTransaction
|
ContextCell
|
ContextScript
|
ContextCode
Returns
Promise
<
undefined
|
ExecutorResponse
<
`
0x
${
string
}
`
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
run
Script
run
Script
Try
GitHub
App
Docs
Playground
CCC Docs
Loading...
Represents an SSRI executor.