AcceptChannelCommand constructor

AcceptChannelCommand({
  1. required String channelId,
  2. required String walletId,
  3. required String clientPeerId,
  4. required String clientPubKeyHex,
  5. required String clientAddressB58,
  6. required String serverPubKeyHex,
  7. required String serverAddressB58,
  8. required int derivationIndex,
  9. required BigInt fundingAmountSats,
  10. required int lockTimeUnix,
  11. String? context,
  12. String? commandId,
  13. DateTime? timestamp,
  14. Map<String, dynamic>? metadata,
})

Implementation

AcceptChannelCommand({
  required String channelId,
  required this.walletId,
  required this.clientPeerId,
  required this.clientPubKeyHex,
  required this.clientAddressB58,
  required this.serverPubKeyHex,
  required this.serverAddressB58,
  required this.derivationIndex,
  required this.fundingAmountSats,
  required this.lockTimeUnix,
  this.context,
  String? commandId,
  DateTime? timestamp,
  Map<String, dynamic>? metadata,
}) : super(
        channelId: channelId,
        commandId: commandId,
        timestamp: timestamp,
        metadata: metadata,
      );