RecordOutgoingTransactionCommand constructor

RecordOutgoingTransactionCommand({
  1. required String walletId,
  2. required String txid,
  3. required String rawHex,
  4. required int totalInputSats,
  5. required int totalOutputSats,
  6. required int fee,
  7. required int numInputs,
  8. required int numOutputs,
  9. required int txVersion,
  10. required int txLockTime,
  11. required List<String> spentUtxoKeys,
  12. required List<String> recipientAddresses,
  13. required BigInt paymentAmount,
  14. String? changeAddress,
  15. BigInt? changeAmount,
  16. String? commandId,
  17. DateTime? timestamp,
  18. Map<String, dynamic>? metadata,
})

Implementation

RecordOutgoingTransactionCommand({
  required String walletId,
  required this.txid,
  required this.rawHex,
  required this.totalInputSats,
  required this.totalOutputSats,
  required this.fee,
  required this.numInputs,
  required this.numOutputs,
  required this.txVersion,
  required this.txLockTime,
  required this.spentUtxoKeys,
  required this.recipientAddresses,
  required this.paymentAmount,
  this.changeAddress,
  this.changeAmount,
  String? commandId,
  DateTime? timestamp,
  Map<String, dynamic>? metadata,
}) : super(
        walletId: walletId,
        commandId: commandId,
        timestamp: timestamp,
        metadata: metadata,
      );