P2shAddress class

Inheritance

Constructors

P2shAddress({String? address, String? hash160, Script? script})
Encapsulates a P2SH address.
P2shAddress.fromSegwitScript({Script? script, AddressType type = AddressType.p2sh})

Properties

getH160 String
returns the address's hash160 hex string representation
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
type → AddressType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAddress(NetworkInfo networkType, {Uint8List? h160}) String
returns the address's string encoding
inherited
toScriptPubKey() List<String>
Returns the scriptPubKey (P2SH) that corresponds to this address
toString() String
A string representation of this object.
inherited

Operators

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