decodeAddr method
Validates and decodes the given Ripple (XRP) X-address.
Implementation
@override
List<int> decodeAddr(String addr, {List<int>? addrPrefix}) {
addrPrefix = AddrKeyValidator.getAddrArg<List<int>>(
addrPrefix,
"addrPrefix",
);
return XRPAddressUtils.decodeXAddress(addr, addrPrefix).bytes;
}