LedgerOperations class

LedgerOperations represents the ledger operations performed by the transaction.

Annotations
  • @freezed

Constructors

LedgerOperations({int? fee, @Default([]) List<TransactionMovement> transactionMovements, @Default([]) List<UnspentOutputs> unspentOutputs, @Default([]) List<ConsumedInputs> consumedInputs})
const
factory
LedgerOperations.fromJson(Map<String, dynamic> json)
factory

Properties

consumedInputs List<ConsumedInputs>
Remaining unspent outputs
no setterinherited
copyWith → $LedgerOperationsCopyWith<LedgerOperations>
Create a copy of LedgerOperations with the given fields replaced by the non-null parameter values.
no setterinherited
fee int?
Transaction fee (distributed over the node rewards)
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionMovements List<TransactionMovement>
Assets transfers
no setterinherited
unspentOutputs List<UnspentOutputs>
Remaining unspent outputs
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this LedgerOperations to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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