AssemblerInputType enum
Describes how an AssemblerInput is spent. This drives both the BIP-143 / legacy sighash computation and the construction of the signed input.
Values
- p2pkh → const AssemblerInputType
-
Legacy pay-to-pubkey-hash. scriptSig =
[sig, pubkey]. - p2shP2wpkh → const AssemblerInputType
-
Nested segwit (P2SH-wrapped P2WPKH). scriptSig = push(redeemScript), witness =
[sig, pubkey]. - p2wpkh → const AssemblerInputType
-
Native segwit v0 pay-to-witness-pubkey-hash. witness =
[sig, pubkey]. - p2tr → const AssemblerInputType
-
Taproot key-path spend. witness =
[schnorrSig].NOTE: not yet wired in TxAssembler - see TxAssembler.build.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
AssemblerInputType> - A constant List of the values in this enum, in order of their declaration.