publicKeyToCredential static method
Convert a public key byte list to a StakeCredKey.
pubKeyBytes
: The public key byte list.
Returns a StakeCredKey object.
Implementation
static StakeCredKey publicKeyToCredential(List<int> pubKeyBytes) {
return StakeCredKey(publicKeyToHash(pubKeyBytes));
}