toVerifyKey method

TronVerifier toVerifyKey()

Converts the TronSigner to a TronVerifier for verification purposes.

Returns:

  • A TronVerifier representing the verification key.

Implementation

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