findAddrType static method
Find the address type of a given ADA address.
addr
: The ADA address.
Returns the ADAAddressType
of the address.
Implementation
static ADAAddressType findAddrType(String addr) {
final decodeAddr = AdaGenericAddrDecoder().decode(addr);
return decodeAddr.type;
}