ScriptPattern class

Constructors

ScriptPattern()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

LEGACY_ADDRESS_LENGTH int
An address is a RIPEMD160 hash of a public key, therefore is always 160 bits or 20 bytes.
final

Static Methods

isP2SH(SVScript script) bool
Whether or not this is a scriptPubKey representing a P2SH output. In such outputs, the logic that controls reclamation is not actually in the output at all. Instead there's just a hash, and it's up to the spending input to provide a program matching that hash.