Docs

useAccounts

Get all accounts

Example

const { data: accounts, isLoading, error } = useAccounts(contract);

Parameters

Returns

Query result object that includes an array of all accounts with their associated admin