ArbitTransaction class
- Inheritance
-
- Object
- Transaction
- ArbitTransaction
- Annotations
-
- @JsonSerializable(checked: true, explicitToJson: true)
Constructors
-
ArbitTransaction({required List<
SimpleRecipient> recipients, required List<ToplAddress> sender, required String propositionType, ToplAddress? changeAddress, PolyAmount? fee, Latin1Data? data, ToplAddress? consolidationAddress}) -
ArbitTransaction.fromJson(Map<
String, dynamic> json) -
A necessary factory constructor for creating a new ArbitTransaction instance
from a map. Pass the map to the generated
_$ArbitTransactionFromJson()
constructor. The constructor is named after the source class, in this case, ArbitTransaction.factory
Properties
- changeAddress → ToplAddress?
-
The recipient of the returned UTXOs from poly transactions including
left-over network fees
finalinherited
- consolidationAddress → ToplAddress?
-
The recipient of the change from the arbitTransaction
final
- data → Latin1Data?
-
Data string which can be associated with this transaction (may be empty)
finalinherited
- fee → PolyAmount?
-
The maximum amount of polys to spend on the network fee.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- propositionType → String
-
Type of proposition, eg., PublicKeyCurve25519, ThresholdCurve25519, PublicKeyEd25519
finalinherited
-
recipients
→ List<
SimpleRecipient> -
The recipient of this transaction
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sender
→ List<
ToplAddress> -
The address of the sender/s of this transaction.
finalinherited
Methods
-
copy(
{List< SimpleRecipient> ? recipients, List<ToplAddress> ? from, String? propositionType, ToplAddress? changeAddress, PolyAmount? fee, Latin1Data? data, bool? minting, ToplAddress? consolidationAddress}) → ArbitTransaction -
copyWith(
{List< ToplAddress> ? sender, String? propositionType, ToplAddress? changeAddress, PolyAmount? fee, Latin1Data? data}) → Transaction -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toJson
is the convention for a class to declare support for serialization to JSON. The implementation simply calls the private, generated helper method_$ArbitTransactionToJson
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited