toVerifyKey method

PublicKey toVerifyKey()

Returns address' public key in a form suitable for verification.

Implementation

PublicKey toVerifyKey() {
  return SimplePublicKey(
    publicKey,
    type: KeyPairType.ed25519,
  );
}