revokeSessions method that can be used to revoke session keys from the connected Abstract Global Wallet.
This allows you to invalidate existing session keys, preventing them from being used for future transactions.
Usage
Revoke session(s) by providing either:- The session configuration object(s) (see parameters).
- The session hash(es) returned by getSessionHash().
Parameters
The session(s) to revoke. Can be provided in three formats:
-
A single
SessionConfigobject - A single session key creation transaction hash from createSession.
-
An array of
SessionConfigobjects and/or session key creation transaction hashes.
SessionConfig object.Returns
The transaction hash of the revocation transaction.