Hook to list all accounts associated with the current WaaS session
UseListAccountsResult
IntentResponseAccountList | undefined
The list of accounts if the query was successful. Contains an array of account objects with properties like id
and address
.
boolean
Whether the query is currently in progress. Useful for showing loading states.
Error | null
Any error that occurred during the query. Will be null
if no error occurred.
() => Promise<void>
Function to manually trigger a refresh of the accounts list.