BlockWithTransaction class

If all transactions for a block are needed, this object instead includes the full details on each transaction.

Inheritance
Annotations
  • @JS()
  • @anonymous

Constructors

BlockWithTransaction()

Properties

difficulty num
The difficulty target required to be met by the miner of the block.
no setterinherited
extraData String
This is extra data a miner may choose to include when mining a block.
no setterinherited
gasLimit BigNumber
The maximum amount of gas that this block was permitted to use.
no setterinherited
gasUsed BigNumber
The total amount of gas used by all transactions in this block.
no setterinherited
hash String
The hash of this block.
no setterinherited
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 setterinherited
nounce int
The nonce used as part of the proof-of-work to mine this block.
no setterinherited
number int
The height (number) of this block.
no setterinherited
parentHash String
The hash of the previous block.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
The timestamp of this block.
no setterinherited
transactions List<TransactionResponse>
A list of the transactions this block includes.
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