To remove all the session signers on the wallet, use the When invoked, the As an example, you might have a button within your app to allow users to remove all session signers like so:
removeSessionSigners
method from the useSessionSigners
hook:Usage
removeSessionSigners
method will remove all the session signers, so only the user can transact on the wallet.After this action, your app will no longer be able to take actions on behalf of the user with
their wallet unless the user adds more session
signers.
Check out the starter repo
for an end to end example of how to use session signers.
Parameters
TheremoveSessionSigners
method accepts a params
object with the following fields:Address of the embedded wallet to delegate.
Example remove session signers button