DOCS

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