Vkey.fromPubKey constructor

Vkey.fromPubKey(
  1. List<int> pubKeyBytes
)

Constructor to create a Vkey from a public key byte array.

Implementation

Vkey.fromPubKey(List<int> pubKeyBytes)
    : super(AdaAddressUtils.validatePubkeyAndRemovePrefix(pubKeyBytes),
          AdaTransactionConstant.blake2b256DigestSize);