ImportanceBlockV1⚓︎
Extends⚓︎
Constructors⚓︎
new ImportanceBlockV1()⚓︎
Returns⚓︎
ImportanceBlockV1
Inherited from⚓︎
Properties⚓︎
| Property | Modifier | Type | Overrides | Inherited from |
|---|---|---|---|---|
_beneficiaryAddress |
public |
Address |
- | Block._beneficiaryAddress |
_difficulty |
public |
Difficulty |
- | Block._difficulty |
_entityBodyReserved_1 |
public |
number |
- | Block._entityBodyReserved_1 |
_feeMultiplier |
public |
BlockFeeMultiplier |
- | Block._feeMultiplier |
_generationHashProof |
public |
VrfProof |
- | Block._generationHashProof |
_harvestingEligibleAccountsCount |
public |
bigint |
- | - |
_height |
public |
Height |
- | Block._height |
_network |
public |
NetworkType |
- | Block._network |
_previousBlockHash |
public |
Hash256 |
- | Block._previousBlockHash |
_previousImportanceBlockHash |
public |
Hash256 |
- | - |
_receiptsHash |
public |
Hash256 |
- | Block._receiptsHash |
_signature |
public |
Signature |
- | Block._signature |
_signerPublicKey |
public |
PublicKey |
- | Block._signerPublicKey |
_stateHash |
public |
Hash256 |
- | Block._stateHash |
_timestamp |
public |
Timestamp |
- | Block._timestamp |
_totalVotingBalance |
public |
Amount |
- | - |
_transactions |
public |
any[] |
- | - |
_transactionsHash |
public |
Hash256 |
- | Block._transactionsHash |
_type |
public |
BlockType |
- | Block._type |
_verifiableEntityHeaderReserved_1 |
public |
number |
- | Block._verifiableEntityHeaderReserved_1 |
_version |
public |
number |
- | Block._version |
_votingEligibleAccountsCount |
public |
number |
- | - |
BLOCK_TYPE |
static |
BlockType |
- | - |
BLOCK_VERSION |
static |
number |
- | - |
TYPE_HINTS |
static |
object |
Block.TYPE_HINTS |
- |
TYPE_HINTS.beneficiaryAddress |
public |
string |
- | - |
TYPE_HINTS.difficulty |
public |
string |
- | - |
TYPE_HINTS.feeMultiplier |
public |
string |
- | - |
TYPE_HINTS.generationHashProof |
public |
string |
- | - |
TYPE_HINTS.height |
public |
string |
- | - |
TYPE_HINTS.network |
public |
string |
- | - |
TYPE_HINTS.previousBlockHash |
public |
string |
- | - |
TYPE_HINTS.previousImportanceBlockHash |
public |
string |
- | - |
TYPE_HINTS.receiptsHash |
public |
string |
- | - |
TYPE_HINTS.signature |
public |
string |
- | - |
TYPE_HINTS.signerPublicKey |
public |
string |
- | - |
TYPE_HINTS.stateHash |
public |
string |
- | - |
TYPE_HINTS.timestamp |
public |
string |
- | - |
TYPE_HINTS.totalVotingBalance |
public |
string |
- | - |
TYPE_HINTS.transactions |
public |
string |
- | - |
TYPE_HINTS.transactionsHash |
public |
string |
- | - |
TYPE_HINTS.type |
public |
string |
- | - |
Accessors⚓︎
beneficiaryAddress⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Address |
Returns⚓︎
void
Inherited from⚓︎
difficulty⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Difficulty |
Returns⚓︎
void
Inherited from⚓︎
feeMultiplier⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
BlockFeeMultiplier |
Returns⚓︎
void
Inherited from⚓︎
generationHashProof⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
VrfProof |
Returns⚓︎
void
Inherited from⚓︎
harvestingEligibleAccountsCount⚓︎
Get Signature⚓︎
Returns⚓︎
bigint
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
bigint |
Returns⚓︎
void
height⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Height |
Returns⚓︎
void
Inherited from⚓︎
network⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
NetworkType |
Returns⚓︎
void
Inherited from⚓︎
previousBlockHash⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Hash256 |
Returns⚓︎
void
Inherited from⚓︎
previousImportanceBlockHash⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Hash256 |
Returns⚓︎
void
receiptsHash⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Hash256 |
Returns⚓︎
void
Inherited from⚓︎
signature⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Signature |
Returns⚓︎
void
Inherited from⚓︎
signerPublicKey⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
PublicKey |
Returns⚓︎
void
Inherited from⚓︎
size⚓︎
Get Signature⚓︎
Returns⚓︎
number
Inherited from⚓︎
stateHash⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Hash256 |
Returns⚓︎
void
Inherited from⚓︎
timestamp⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Timestamp |
Returns⚓︎
void
Inherited from⚓︎
totalVotingBalance⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Amount |
Returns⚓︎
void
transactions⚓︎
Get Signature⚓︎
Returns⚓︎
any[]
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
any[] |
Returns⚓︎
void
transactionsHash⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
Hash256 |
Returns⚓︎
void
Inherited from⚓︎
type⚓︎
Get Signature⚓︎
Returns⚓︎
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
BlockType |
Returns⚓︎
void
Inherited from⚓︎
version⚓︎
Get Signature⚓︎
Returns⚓︎
number
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
number |
Returns⚓︎
void
Inherited from⚓︎
votingEligibleAccountsCount⚓︎
Get Signature⚓︎
Returns⚓︎
number
Set Signature⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
value |
number |
Returns⚓︎
void
Methods⚓︎
_serialize()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
buffer |
any |
Returns⚓︎
void
Inherited from⚓︎
serialize()⚓︎
Returns⚓︎
Uint8Array<ArrayBufferLike>
Inherited from⚓︎
sort()⚓︎
Returns⚓︎
void
Inherited from⚓︎
toJson()⚓︎
Returns⚓︎
object
JSON-safe representation of this object.
Inherited from⚓︎
toString()⚓︎
Returns⚓︎
string
Inherited from⚓︎
_deserialize()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
view |
any |
instance |
any |
Returns⚓︎
void
Inherited from⚓︎
deserialize()⚓︎
Parameters⚓︎
| Parameter | Type |
|---|---|
payload |
any |
Returns⚓︎
ImportanceBlockV1