getBase58PubKeyFromHexValue method
Implementation
Future<String> getBase58PubKeyFromHexValue(
{required String? hexEncodedPubKey}) async {
if (hexEncodedPubKey == null) {
throw Exception('hexEncodedPubKey is incorrect');
}
final res = await jsVMService.callJS(
"window.NearBlockchain.getBase58PubKeyFromHexValue('$hexEncodedPubKey')");
return res.toString();
}