getAdressBTCP2PKHFomat method

Future<String> getAdressBTCP2PKHFomat(
  1. String publicKeyHEX,
  2. bool needKeyHash
)

Implementation

Future<String> getAdressBTCP2PKHFomat(
    String publicKeyHEX, bool needKeyHash) async {
  final res = await jsVMService.callJS(
      "window.BitcoinBlockchain.getAdressBTCFromHexPublicKeyP2PKH('$publicKeyHEX', $needKeyHash)");
  return res.toString();
}