decodeAddr method

  1. @override
List<int> decodeAddr(
  1. String addr, {
  2. XlmAddrTypes? addrType,
})
override

Decode a Stellar (XLM) address and return the public key.

Implementation

@override
List<int> decodeAddr(String addr, {XlmAddrTypes? addrType}) {
  final decodeAddress = decode(addr, addrType: addrType);
  return decodeAddress.pubKeyBytes;
}