P2MSOutputSpec class
P2MS (Pay-to-Multisig) output specification
- Inheritance
-
- Object
- InvoiceOutputSpec
- P2MSOutputSpec
Constructors
-
P2MSOutputSpec({required List<
String> publicKeys, required int threshold, required BigInt amount, String? label}) -
const
-
P2MSOutputSpec.fromMap(Map<
String, dynamic> map) -
factory
Properties
- amount → BigInt
-
Amount in satoshis for this output
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- isValid → bool
-
Validate the multisig configuration
no setter
- label → String?
-
Human-readable label for this output (optional)
finalinherited
-
publicKeys
→ List<
String> -
Public keys for the multisig (in hex format)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptType → BitcoinScriptType
-
Get the script type for this output
no setteroverride
- threshold → int
-
Number of required signatures (threshold)
final
- totalKeys → int
-
Total number of keys (n in m-of-n)
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Serialize to map for event storage
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override