FullChannelStateResponse class
Full channel state response from aggregate (for building transactions)
- Inheritance
-
- Object
- ActorResponse
- FullChannelStateResponse
Constructors
- FullChannelStateResponse({required String channelId, required String walletId, required String status, String? role, required BigInt clientBalanceSats, required BigInt serverBalanceSats, required int latestSequenceNumber, required BigInt fundingAmountSats, String? fundingTxId, String? fundingTxHex, int? fundingOutputIndex, String? clientPubKeyHex, String? serverPubKeyHex, String? clientAddressB58, String? serverAddressB58, int? derivationIndex, int? lockTimeUnix, String? signedRefundTxHex, int? fundingInputSats, bool fundingRecordedInWallet = false, bool fundingBroadcastInFlight = false, bool fundingSent = false, bool fundingFailed = false, String? clientPeerId, String? serverPeerId, String? context, String? counterpartyMarker, String? refundTxHex, String? fundingBeefHex, String? latestPaymentTxHex, String? latestClientSignatureHex, bool returnLegRecordedInWallet = false, String? refundClaimedTxId, required bool success, String? error})
Properties
- channelId → String
-
final
- clientAddressB58 → String?
-
final
- clientBalanceSats → BigInt
-
final
- clientPeerId → String?
-
final
- clientPubKeyHex → String?
-
final
- context → String?
-
final
- correlationId → String
-
finalinherited
- counterpartyMarker → String?
-
The app's opaque marker for the counterparty of this channel (bead
libspiffy-bps1, spv-understanding.md "Core Data Management"
requirement 5): it is stamped on the wallet transactions the channel
records — the funding it pays out and the settlement or refund that
comes back. Opaque and app-chosen, exactly as on every other payment;
libspiffy never interprets it.
final
- derivationIndex → int?
-
final
- error → String?
-
Why the request failed; null when success is true.
final
- fundingAmountSats → BigInt
-
final
- fundingBeefHex → String?
-
BEEF of the funding transaction journaled with the opening.
final
- fundingBroadcastInFlight → bool
-
A funding broadcast was started and has neither failed nor opened.
final
- fundingFailed → bool
-
The sent funding can never be mined; the channel never opens (bead
libspiffy-4kfq).
final
- fundingInputSats → int?
-
Total input value of the funding transaction, when known.
final
- fundingOutputIndex → int?
-
final
- fundingRecordedInWallet → bool
-
Whether the funding transaction is already recorded in the client
wallet by an earlier broadcast attempt.
final
- fundingSent → bool
-
ARC took the client's funding; the server has not opened yet, or has
(bead libspiffy-jark).
final
- fundingTxHex → String?
-
final
- fundingTxId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestClientSignatureHex → String?
-
On the client, its signature on latestPaymentTxHex: a close sends
the latest payment with it.
final
- latestPaymentTxHex → String?
-
The latest payment transaction of the channel. On the server (which
holds both signatures when it acknowledges) this is the fully signed
settlement; on the client it is the unsigned template it signed, whose
txid is not the one the signed transaction will have. Null before the
first payment. Read by the close path to find the transaction that
ends the channel (bead libspiffy-f5p2).
final
- latestSequenceNumber → int
-
final
- lockTimeUnix → int?
-
final
-
metadata
→ Map<
String, dynamic> -
finalinherited
- payload → dynamic
-
The reply itself, so
ask<ConcreteResponse>()completes with it.no setterinherited - refundClaimedTxId → String?
-
The refund transaction this channel's refund was claimed with, or null
if no claim has been journaled (bead libspiffy-07mx).
final
- refundTxHex → String?
-
Client: the refund template as built. Server: the refund it signed.
final
- replyTo → ActorRef?
-
finalinherited
- returnLegRecordedInWallet → bool
-
Whether this side's wallet already holds the transaction that ended the
channel and paid it back (bead libspiffy-lfrv).
final
- role → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → ActorRef?
-
finalinherited
- serverAddressB58 → String?
-
final
- serverBalanceSats → BigInt
-
final
- serverPeerId → String?
-
final
- serverPubKeyHex → String?
-
final
- signedRefundTxHex → String?
-
The fully signed refund transaction the client holds (null until the
server's signature is verified, and on the server side).
final
- status → String
-
final
- success → bool
-
Whether the request this reply answers succeeded.
final
- timestamp → DateTime
-
finalinherited
- walletId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited