FullChannelStateResponse constructor

FullChannelStateResponse({
  1. required String channelId,
  2. required String walletId,
  3. required String status,
  4. String? role,
  5. required BigInt clientBalanceSats,
  6. required BigInt serverBalanceSats,
  7. required int latestSequenceNumber,
  8. required BigInt fundingAmountSats,
  9. String? fundingTxId,
  10. String? fundingTxHex,
  11. int? fundingOutputIndex,
  12. String? clientPubKeyHex,
  13. String? serverPubKeyHex,
  14. String? clientAddressB58,
  15. String? serverAddressB58,
  16. int? derivationIndex,
  17. int? lockTimeUnix,
  18. String? signedRefundTxHex,
  19. int? fundingInputSats,
  20. bool fundingRecordedInWallet = false,
  21. bool fundingBroadcastInFlight = false,
  22. bool fundingSent = false,
  23. bool fundingFailed = false,
  24. String? clientPeerId,
  25. String? serverPeerId,
  26. String? context,
  27. String? counterpartyMarker,
  28. String? refundTxHex,
  29. String? fundingBeefHex,
  30. String? latestPaymentTxHex,
  31. String? latestClientSignatureHex,
  32. bool returnLegRecordedInWallet = false,
  33. String? refundClaimedTxId,
  34. required bool success,
  35. String? error,
})

Implementation

FullChannelStateResponse({
  required this.channelId,
  required this.walletId,
  required this.status,
  this.role,
  required this.clientBalanceSats,
  required this.serverBalanceSats,
  required this.latestSequenceNumber,
  required this.fundingAmountSats,
  this.fundingTxId,
  this.fundingTxHex,
  this.fundingOutputIndex,
  this.clientPubKeyHex,
  this.serverPubKeyHex,
  this.clientAddressB58,
  this.serverAddressB58,
  this.derivationIndex,
  this.lockTimeUnix,
  this.signedRefundTxHex,
  this.fundingInputSats,
  this.fundingRecordedInWallet = false,
  this.fundingBroadcastInFlight = false,
  this.fundingSent = false,
  this.fundingFailed = false,
  this.clientPeerId,
  this.serverPeerId,
  this.context,
  this.counterpartyMarker,
  this.refundTxHex,
  this.fundingBeefHex,
  this.latestPaymentTxHex,
  this.latestClientSignatureHex,
  this.returnLegRecordedInWallet = false,
  this.refundClaimedTxId,
  required this.success,
  this.error,
});