TronPublicKey constructor

TronPublicKey(
  1. String pubHex
)

Factory method to create a TronPublicKey from a hexadecimal public key string

Implementation

factory TronPublicKey(String pubHex) {
  return TronPublicKey.fromBytes(BytesUtils.fromHexString(pubHex));
}