Skip to main content

DelegationTokenRevocation

@iota/identity-wasm API documentation


Class: DelegationTokenRevocation

Transaction for revoking / unrevoking a DelegationToken. If no revoke parameter is passed, or true is passed, this transaction will revoke the passed token - unrevoke otherwise.

Methods​

isRevocation()​

isRevocation(): boolean

Returns whether this transaction will revoke the given token.

Returns​

boolean


tokenId()​

tokenId(): string

Returns the ID of the token handled by this transaction.

Returns​

string