P2WSH class
Pay-to-Witness-Script-Hash program taking a 32-byte script hash for a witness script whereby the witness script and other push data is to be provided as witness data.
Constructors
- P2WSH.decompile(Uint8List compiled)
- P2WSH.fromAsm(String asm)
- P2WSH.fromHash(Uint8List scriptHash)
- P2WSH.fromScript(Script script)
- Construct using an output script, not to be confused with the witness script. For that use P2WSH.fromWitnessScript.
- P2WSH.fromWitnessScript(Script witnessScript)
Properties
- data → Uint8List
-
The data of the "witness program". It is called "data" and not "program"
to avoid confusion with the more general Program class.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- script → Script
-
finalinherited
- scriptHash → Uint8List
-
no setter
- version ↔ int
-
latefinalinherited
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