Revoke certification

In some cases, it make sens to have to possibility to revoke a certification.

revokeCertification(certificationId: String, signerPubKey: String)

Call this function with the same account that previously created the certification passing the two following arguments:

certificationId: Simply the txid of the certification to revoke.

signerPubKey: is a String that represents the public key of an account signing the invocation calling this method.

To get the public key using waves signer in your webapp you simply need to get it with: document.signer._userData.publicKey

Last updated