delegateWallet
method from the useDelegatedActions
hook:delegateWallet
method will open a Privy modal where the user can either approve or reject the delegation.If the user approves, Privy will initiate the process to provision a session signer for the wallet. If the user refuses or there is another error during provisioning, this method will throw an error.revokeWallets
method from the useDelegatedActions
hook:revokeWallets
method will open a Privy modal where the user can either confirm the revocation of their session signer. If the user has no session signers, this method will error.Once a user confirms revocation, your app will no longer be able to take actions on behalf of the user with their wallet unless the user provisions a session signer.If a user has provisioned multiple session signers, they will all be revoked.