P2wshAddress class
- Inheritance
-
- Object
- SegwitAddress
- P2wshAddress
Constructors
- P2wshAddress({required Script? script})
- Encapsulates a P2WSH 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