P2SH class

Pay-to-Script-Hash program taking a 20-byte script hash for a redeem script.

Implemented types

Constructors

P2SH.decompile(Uint8List compiled)
P2SH.fromAsm(String asm)
P2SH.fromHash(Uint8List scriptHash)
P2SH.fromRedeemScript(Script redeemScript)
P2SH.fromScript(Script script)
Construct using an output script, not to be confused with the redeem script. For that use fromRedeemScript.

Properties

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
final
scriptHash Uint8List
no setter

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

Static Properties

template Script
final