Skip to content

Documentation / expo / useDelegatedActions

Function: useDelegatedActions()

useDelegatedActions(): UseDelegatedActionsInterface

A hook to prompt the user for permission to execute certain transactions to the wallet API, with Privy-powered UI. Controls both the consent and revoke flows.

Depends on PrivyElements being mounted in the component tree.

Returns

UseDelegatedActionsInterface

an object with the delegateWallet and revokeWallets methods.