WitnessVersion enum

Inheritance

Constructors

WitnessVersion()
const

Values

V0 → const WitnessVersion

Initial version of witness program. Used for P2WPKH and P2WPK outputs

V1 → const WitnessVersion

Version of witness program used for Taproot P2TR outputs.

V2 → const WitnessVersion

Future (unsupported) version of witness program.

V3 → const WitnessVersion

Future (unsupported) version of witness program.

V4 → const WitnessVersion

Future (unsupported) version of witness program.

V5 → const WitnessVersion

Future (unsupported) version of witness program.

V6 → const WitnessVersion

Future (unsupported) version of witness program.

V7 → const WitnessVersion

Future (unsupported) version of witness program.

V8 → const WitnessVersion

Future (unsupported) version of witness program.

V9 → const WitnessVersion

Future (unsupported) version of witness program.

V10 → const WitnessVersion

Future (unsupported) version of witness program.

V11 → const WitnessVersion

Future (unsupported) version of witness program.

V12 → const WitnessVersion

Future (unsupported) version of witness program.

V13 → const WitnessVersion

Future (unsupported) version of witness program.

V14 → const WitnessVersion

Future (unsupported) version of witness program.

V15 → const WitnessVersion

Future (unsupported) version of witness program.

V16 → const WitnessVersion

Future (unsupported) version of witness program.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<WitnessVersion>
A constant List of the values in this enum, in order of their declaration.