decodeAddr method
List<int>
decodeAddr(
- String addr, {
- List<
int> ? netVersion, - Base58Alphabets alphabet = Base58Alphabets.bitcoin,
override
Overrides the base class method to decode a P2SH (Pay-to-Script-Hash) address.
Implementation
@override
List<int> decodeAddr(
String addr, {
List<int>? netVersion,
Base58Alphabets alphabet = Base58Alphabets.bitcoin,
}) {
return P2PKHAddrDecoder().decodeAddr(
addr,
netVersion: netVersion,
alphabet: alphabet,
);
}