Transaction class

A generic object to represent a transaction.

Implementers
Annotations
  • @JS()
  • @anonymous

Constructors

Transaction()

Properties

chainId int
The chain ID for transaction. This is used as part of EIP-155 to prevent replay attacks on different networks.
no setter
data → dynamic
The data for transaction. In a contract this is the call data.
no setter
from String
The address transaction is from.
no setter
gasLimit BigNumber
The gas limit for transaction.
no setter
gasPrice BigNumber
The price (in wei) per unit of gas for transaction.
no setter
hash String
The transaction hash, which can be used as an identifier for transaction. This is the keccak256 of the serialized RLP encoded representation of transaction.
no setter
hashCode int
The hash code for this object.
no setterinherited
nounce int
The nonce for transaction.
no setter
r String
The r portion of the elliptic curve signatures for transaction.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
s String
The s portion of the elliptic curve signatures for transaction.
no setter
to String?
The address transaction is to.
no setter
v int
The v portion of the elliptic curve signatures for transaction.
no setter
value BigNumber
The value (in wei) for transaction.
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