useAvaCloudWallet
The primary hook for handling authentication and basic wallet functionality.
Returns
isAuthenticated
:boolean
- Current authentication statusisLoading
:boolean
- Loading state of authenticationuser
:User | null
- User informationwallet
:Wallet | null
- Current wallet informationlogin
:() => Promise
- Trigger login flowlogout
:() => Promise
- Trigger logout flowaddAccount
:() => Promise
- Add a new account to the wallet
For any additional questions, please view our other knowledge base articles or contact a support team member via the chat button. Examples are for illustrative purposes only.
Learn More About AvaCloud | Download Case Studies | Schedule an AvaCloud Demo