decodeAddr method
Decodes a Monero (XMR) integrated address to extract the public key and view key components.
Implementation
@override
List<int> decodeAddr(
String addr, {
List<int>? netVersion,
List<int>? paymentId,
}) {
netVersion = AddrKeyValidator.getAddrArg<List<int>>(
netVersion,
"netVersion",
);
paymentId = AddrKeyValidator.getAddrArg<List<int>>(paymentId, "paymentId");
final decodeAddr = XmrAddrDecoder().decode(
addr,
netVerBytes: netVersion,
paymentId: paymentId,
);
return decodeAddr.keyBytes;
}