useAccounts
Get all accounts
Example
const { data: accounts, isLoading, error } = useAccounts(contract);
Parameters
Returns
a response object that includes an array of all accounts with their associated admin
Get all accounts
const { data: accounts, isLoading, error } = useAccounts(contract);
a response object that includes an array of all accounts with their associated admin