dispatchRevokeToChain
dispatchRevokeToChain(
statementUri
,authorAccount
,authorizationUri
):Promise
<void
>
This function dispatches a revocation transaction to a blockchain network after preparing the necessary extrinsic data.
Parameters
• statementUri: stmt:cord:${string}
The statementUri
parameter represents the URI of the
statement that you want to revoke on the chain.
• authorAccount: CordKeyringPair
The authorAccount
parameter in the
dispatchRevokeToChain
function is a CordKeyringPair
object representing the account of the
author who is revoking the statement. This object typically contains the public key, private key,
and other account information needed to sign and submit transactions
• authorizationUri: auth:cord:${string}
The authorizationUri
parameter in the
dispatchRevokeToChain
function is a Uniform Resource Identifier (URI) that specifies the location
or identifier of the authorization being revoked. It is used to identify the specific authorization
that is being revoked in the context of the operation being performed.
Returns
Promise
<void
>