P2trAddress class

Inheritance

Constructors

P2trAddress({String? program, String? address})
Encapsulates a P2TR (Taproot) address.

Properties

getProgram String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segwitNumVersion int
latefinalinherited
type → AddressType
returns the type of address
no setter
version String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAddress(NetworkInfo networkType) String
returns the address's string encoding (Bech32)
inherited
toScriptPubKey() List<String>
returns the scriptPubKey of a P2TR witness script
toString() String
A string representation of this object.
inherited

Operators

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