StakeCredKey.fromPublicKey constructor

StakeCredKey.fromPublicKey(
  1. List<int> pubKeyBytes
)

Constructs a StakeCredKey from a public key pubKeyBytes. It derives the credential from the public key bytes using hashing.

Implementation

StakeCredKey.fromPublicKey(List<int> pubKeyBytes)
    : super(AdaAddressUtils.publicKeyToHash(pubKeyBytes));