Preparing search index...
The search index is not available
@kynesyslabs/demosdk
@kynesyslabs/demosdk
types
ScriptContext
Interface ScriptContext
Context provided to script execution. Contains deterministic values only.
interface
ScriptContext
{
args
:
unknown
[]
;
blockHeight
:
number
;
caller
:
string
;
method
:
string
;
prevBlockHash
:
string
;
tokenMetadata
:
Readonly
<
TokenMetadata
>
;
tokenState
:
Readonly
<
TokenState
>
;
txTimestamp
:
number
;
}
Index
Properties
args
block
Height
caller
method
prev
Block
Hash
token
Metadata
token
State
tx
Timestamp
Properties
args
args
:
unknown
[]
block
Height
block
Height
:
number
caller
caller
:
string
method
method
:
string
prev
Block
Hash
prev
Block
Hash
:
string
token
Metadata
token
Metadata
:
Readonly
<
TokenMetadata
>
token
State
token
State
:
Readonly
<
TokenState
>
tx
Timestamp
tx
Timestamp
:
number
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
args
block
Height
caller
method
prev
Block
Hash
token
Metadata
token
State
tx
Timestamp
@kynesyslabs/demosdk
Loading...
Context provided to script execution. Contains deterministic values only.