EthereumTransaction class

An ethereum transaction message

Constructors

EthereumTransaction()
Constructor
EthereumTransaction.fromMap(Map<String, dynamic>? result)
From map

Properties

blockHash EthereumData?
Block hash. Hash of the block where this transaction was in. Null when the transaction is pending.
no setter
blockNumber int?
Block number. Block number of this transaction. Null when the transaction is pending.
no setter
from EthereumAddress?
From. Address of the sender.
no setter
gas int?
Gas. Gas provided by the sender.
no setter
gasPrice int?
Gas price. Gas price provided by the sender in Wei.
no setter
hash EthereumData?
Hash. hash of the transaction.
no setter
hashCode int
The hash code for this object.
no setterinherited
input EthereumData?
Input. Data sent with the transaction.
no setter
nonce int?
Nonce. The number of transactions made by the sender prior to this one.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to EthereumAddress?
To. Address of the receiver. Null when a contract creation transaction.
no setter
transactionIndex int?
Transaction index. The transactions index position in the block. Null when the transaction is pending.
no setter
value int?
Value. Value transferred in Wei.
no setter

Methods

construct(Map<String, dynamic>? data) → void
Construct from the supplied Map, only check for the keys we need.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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