encodeKey method
Encodes a public key or address bytes into a blockchain address.
Implementation
@override
String encodeKey(
List<int> hash, {
int? workChain,
bool bounceable = true,
bool urlSafe = true,
}) {
workChain = AddrKeyValidator.getAddrArg<int>(workChain, "workChain");
return TonAddressUtils.encodeAddress(
hash: hash,
workChain: workChain,
bounceable: bounceable,
urlSafe: urlSafe,
);
}