SignRefundTransactionMessage class
Request to sign refund transaction (server side)
The server signs with the key of the wallet that accepted the channel, at the key index, public keys, amount and lockTime its channel journal holds (libspiffy-36f): walletId, clientPubKeyHex, serverPubKeyHex, derivationIndex, fundingAmountSats and lockTimeUnix are not used to sign, and a request whose non-empty walletId is not the channel's wallet is refused.
fundingTxId, fundingOutputIndex and fundingTxHex name the funding output the refund spends (from refund_sign_request); the server refuses a refund that spends anything else, and journals them (libspiffy-fsy).
Constructors
- SignRefundTransactionMessage({required String channelId, required String walletId, required String refundTxHex, required String clientPubKeyHex, required String serverPubKeyHex, required String serverAddressB58, required int derivationIndex, required BigInt fundingAmountSats, required int lockTimeUnix, String? fundingTxId, int? fundingOutputIndex, String? fundingTxHex})
Properties
- channelId → String
-
final
- clientPubKeyHex → String
-
final
- correlationId → String
-
finalinherited
- derivationIndex → int
-
final
- fundingAmountSats → BigInt
-
final
- fundingOutputIndex → int?
-
final
- fundingTxHex → String?
-
final
- fundingTxId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lockTimeUnix → int
-
final
-
metadata
→ Map<
String, dynamic> -
finalinherited
- payload → dynamic
-
no setter
- refundTxHex → String
-
final
- replyTo → ActorRef?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → ActorRef?
-
finalinherited
- serverAddressB58 → String
-
final
- serverPubKeyHex → String
-
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