BitcoinScript class
Constructors
- BitcoinScript.new()
- BitcoinScript.buildPayToPublicKey(Uint8List bytes)
- BitcoinScript.buildPayToPublicKeyHash(Uint8List bytes)
- BitcoinScript.buildPayToScriptHash(Uint8List bytes)
- BitcoinScript.buildPayToWitnessPubkeyHash(Uint8List bytes)
- BitcoinScript.buildPayToWitnessScriptHash(Uint8List bytes)
- BitcoinScript.createWithData(Uint8List bytes)
-
BitcoinScript.createWithScript(Pointer<
Void> script) - BitcoinScript.lockScriptForAddress(String string, int coin)
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
-
data(
) → Uint8List -
delete(
) → void -
encode(
) → Uint8List -
isPayToScriptHash(
) → bool -
isPayToWitnessPublicKeyHash(
Pointer< Void> script) → bool -
isPayToWitnessScriptHash(
) → bool -
isWitnessProgram(
) → bool -
matchPayToPubkey(
) → Uint8List? -
matchPayToPubkeyHash(
) → Uint8List? -
matchPayToScriptHash(
) → Uint8List? -
matchPayToWitnessPublicKeyHash(
) → Uint8List? -
matchPayToWitnessScriptHash(
) → Uint8List? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scriptHash(
) → Uint8List -
size(
) → int -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited