toVerifyKey method

CosmosVerifier toVerifyKey()

Converts the CosmosSecp256k1Signer to a CosmosVerifier for verification purposes.

Returns:

Implementation

CosmosVerifier toVerifyKey() {
  return CosmosVerifier.fromKeyBytes(
      _ecdsaSigningKey.privateKey.publicKey.toBytes());
}