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({
  /// Transaction fee (distributed over the node rewards)
  int? fee,

  /// Assets transfers
  @Default([]) final List<TransactionMovement> transactionMovements,

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

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