decodeAddr method
Decodes a given blockchain address string.
Throws AddressConverterException on invalid input.
Implementation
@override
BuBytes decodeAddr(String addr) {
final addrDecBytes = Bech32Decoder.decode(
AddrKeyValidator.getConfigArg(
CoinsConf.zilliqa.params.addrHrp,
"addrHrp",
),
addr,
);
AddrDecUtils.validateBytesLength(addrDecBytes, ZilAddrConst.sha256ByteLen);
return addrDecBytes;
}