Transaction class

Constructors

Transaction.new({required int validUntil, Chain? network, String? from, List<OutMessage> messages = const []})

Properties

from String?
The sender address in '
final
hashCode int
The hash code for this object.
no setterinherited
messages List<OutMessage>
Messages to send: min is 1, max is 4.
final
network Chain?
The network (mainnet or testnet) where DApp intends to send the transaction. If not set, the transaction is sent to the network currently set in the wallet, but this is not safe and DApp should always strive to set the network. If the network parameter is set, but the wallet has a different network set, the wallet should show an alert and DO NOT ALLOW TO SEND this transaction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validUntil int
Sending transaction deadline in unix epoch seconds.
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

Operators

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