AdaPublicKey.fromHex constructor

AdaPublicKey.fromHex(
  1. String publicKeyHex
)

Constructs an AdaPublicKey from the hexadecimal representation publicKeyHex.

Implementation

factory AdaPublicKey.fromHex(String publicKeyHex) {
  return AdaPublicKey.fromBytes(BytesUtils.fromHexString(publicKeyHex));
}