LedgerOperations constructor

const LedgerOperations({
  1. int? fee,
  2. @Default([]) List<TransactionMovement> transactionMovements,
  3. @Default([]) List<UnspentOutputs> unspentOutputs,
  4. @Default([]) List<ConsumedInputs> consumedInputs,
})

Implementation

const factory LedgerOperations({
  /// Fee: transaction fee (distributed over the node rewards)
  int? fee,

  /// Transaction movements: assets transfers
  @Default([]) final List<TransactionMovement> transactionMovements,

  /// Unspent outputs: remaining unspent outputs
  @Default([]) final List<UnspentOutputs> unspentOutputs,

  /// Unspent outputs: remaining unspent outputs
  @Default([]) final List<ConsumedInputs> consumedInputs,
}) = _LedgerOperations;