RawBlock class

An object consist of basic information about block.

Implementers
Annotations
  • @JS()
  • @anonymous

Constructors

RawBlock()

Properties

difficulty num
The difficulty target required to be met by the miner of the block.
no setter
extraData String
This is extra data a miner may choose to include when mining a block.
no setter
gasLimit BigNumber
The maximum amount of gas that this block was permitted to use.
no setter
gasUsed BigNumber
The total amount of gas used by all transactions in this block.
no setter
hash String
The hash of this block.
no setter
hashCode int
The hash code for this object.
no setterinherited
miner String
The coinbase address of this block, which indicates the address the miner that mined this block would like the subsidy reward to go to.
no setter
nounce int
The nonce used as part of the proof-of-work to mine this block.
no setter
number int
The height (number) of this block.
no setter
parentHash String
The hash of the previous block.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
The timestamp of this block.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited