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
protocol
block
Class block
Hierarchy
block
Index
Constructors
constructor
Properties
header
id
signature
transactions
Methods
decode
encode
Constructors
constructor
new block
(
id
?:
null
|
Uint8Array
, header
?:
null
|
block_header
, transactions
?:
transaction
[]
, signature
?:
null
|
Uint8Array
)
:
block
Parameters
id:
null
|
Uint8Array
= null
header:
null
|
block_header
= null
transactions:
transaction
[]
= []
signature:
null
|
Uint8Array
= null
Returns
block
Properties
header
header
:
null
|
block_header
id
id
:
null
|
Uint8Array
signature
signature
:
null
|
Uint8Array
transactions
transactions
:
transaction
[]
Methods
Static
decode
decode
(
reader
:
Reader
, length
:
number
)
:
block
Parameters
reader:
Reader
length:
number
Returns
block
Static
encode
encode
(
message
:
block
, writer
:
Writer
)
:
void
Parameters
message:
block
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
block
constructor
header
id
signature
transactions
decode
encode
Generated using
TypeDoc