MultisigProgram class

Implemented types

Constructors

MultisigProgram.new(int threshold, Iterable<ECPublicKey> pubkeys)
Creates a multisig script program for a given threshold (t-of-n) and a list of public keys. The public keys are inserted into the script in the same order that they are given.
MultisigProgram.decompile(Uint8List compiled)
MultisigProgram.fromAsm(String asm)
MultisigProgram.fromScript(Script script)
MultisigProgram.sorted(int threshold, Iterable<ECPublicKey> pubkeys)
Creates a multisig script program for a given threshold (t-of-n) and a list of public keys that are sorted according to the big-endian encoded bytes. Public keys will be inserted into the script from smallest to largest encoded data.

Properties

hashCode int
The hash code for this object.
no setterinherited
pubkeys List<ECPublicKey>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script Script
final
threshold int
latefinal

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

checkmultisig ScriptOpCode
final

Constants

maxPubkeys → const int