P2wpkhAddress class

Inheritance

Constructors

P2wpkhAddress({String? address, String? program, String version = P2WPKH_ADDRESS_V0})
Encapsulates a P2WPKH 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 P2WPKH witness script
toString() String
A string representation of this object.
inherited

Operators

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