TransactionInformation class
Constructors
-
TransactionInformation({String? blockHash, required BlockNum blockNumber, required EthereumAddress from, required int gas, required EtherAmount gasPrice, required String hash, required Uint8List input, required int nonce, EthereumAddress? to, int? transactionIndex, required EtherAmount value, required BigInt r, required BigInt s, required int v})
-
-
TransactionInformation.fromMap(Map<String, dynamic> map)
-
factory
-
TransactionInformation.noSignature({required String? blockHash, required BlockNum blockNumber, required EthereumAddress from, required int gas, required EtherAmount gasPrice, required String hash, required Uint8List input, required int nonce, required EthereumAddress? to, required int? transactionIndex, required EtherAmount value})
-
-
TransactionInformation.returnFromTxHash(Map<String, dynamic> map)
-
factory
Properties
-
blockHash
→ String?
-
The hash of the block containing this transaction. If this transaction has
not been mined yet and is thus in no block, it will be
null
final
-
blockNumber
→ BlockNum
-
BlockNum of the block containing this transaction, or BlockNum.pending
when the transaction is not part of any block yet.
final
-
from
→ EthereumAddress
-
The sender of this transaction.
final
-
gas
→ int
-
How many units of gas have been used in this transaction.
final
-
gasPrice
→ EtherAmount
-
The amount of Ether that was used to pay for one unit of gas.
final
-
hash
→ String
-
A hash of this transaction, in hexadecimal representation.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
input
→ Uint8List
-
The data sent with this transaction.
final
-
nonce
→ int
-
The nonce of this transaction. A nonce is incremented per sender and
transaction to make sure the same transaction can't be sent more than
once.
final
-
r
↔ BigInt
-
ECDSA signature r
latefinal
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
s
↔ BigInt
-
ECDSA signature s
latefinal
-
signature
→ MsgSignature
-
The ECDSA full signature used to sign this transaction.
no setter
-
timestamp
↔ int?
-
The time of the transaction
getter/setter pair
-
to
→ EthereumAddress?
-
Address of the receiver.
null
when its a contract creation transaction
final
-
transactionIndex
↔ int?
-
Integer of the transaction's index position in the block.
null
when it's
pending.
getter/setter pair
-
v
↔ int
-
A cryptographic recovery id which can be used to verify the authenticity
of this transaction together with the signature r and s
latefinal
-
value
→ EtherAmount
-
The amount of Ether sent with this transaction.
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited