Search
Preparing search index...
The search index is not available
@koinos/sdk-as - v1.0.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@koinos/sdk-as - v1.0.0
pow
difficulty_metadata
Class difficulty_metadata
Hierarchy
difficulty_metadata
Index
Constructors
constructor
Properties
difficulty
last_
block_
time
target
target_
block_
interval
Methods
decode
encode
Constructors
constructor
new difficulty_
metadata
(
target
?:
null
|
Uint8Array
, last_block_time
?:
number
, difficulty
?:
null
|
Uint8Array
, target_block_interval
?:
number
)
:
difficulty_metadata
Parameters
target:
null
|
Uint8Array
= null
last_block_time:
number
= 0
difficulty:
null
|
Uint8Array
= null
target_block_interval:
number
= 0
Returns
difficulty_metadata
Properties
difficulty
difficulty
:
null
|
Uint8Array
last_
block_
time
last_
block_
time
:
number
target
target
:
null
|
Uint8Array
target_
block_
interval
target_
block_
interval
:
number
Methods
Static
decode
decode
(
reader
:
Reader
, length
:
number
)
:
difficulty_metadata
Parameters
reader:
Reader
length:
number
Returns
difficulty_metadata
Static
encode
encode
(
message
:
difficulty_metadata
, writer
:
Writer
)
:
void
Parameters
message:
difficulty_metadata
writer:
Writer
Returns
void
Exports
Internals
Arrays
Base58
Base64
Crypto
MockVM
Safe
Math
Storage
String
Bytes
System
Externals
any
authority
block_
store
block_
store_
rpc
broadcast
chain
chain_
rpc
claim
common
contract_
meta_
store
contract_
meta_
store_
rpc
error
events
governance
koin
mempool_
rpc
name_
service
object_
spaces
options
p2p_
rpc
pob
pow
protocol
resources
rpc
system_
call_
ids
system_
calls
token
transaction_
store
transaction_
store_
rpc
value
vhp
difficulty_
metadata
constructor
difficulty
last_
block_
time
target
target_
block_
interval
decode
encode
Generated using
TypeDoc