Script class

Bitcoin Scripts

Constructors

Script()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
number → NumberCodec
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature → SignatureCodec
final

Methods

compile(dynamic _chunks) Uint8List
Compile script
decompile(dynamic _buffer) List?
Decompile script
fromASM(String asm) Uint8List
Get op chunks from assembly string
isCanonicalPubKey(Uint8List buffer) bool
Is buffer Canonical PubKey
isCanonicalScriptSignature(Uint8List buffer) bool
Is buffer Canonical Script Signature
isDefinedHashType(int hashType) bool
Is hashType Defined Hash Type
isPushOnly(dynamic value) bool
List is push only chunk
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toASM(dynamic chunks) String
convert op chunks to Assembly
toStack(dynamic _chunks) → dynamic
convert op chunks to Stack
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited