Docs

useAccountsForAddress

Get all accounts associated with the provided address

Example

const {
  data: accountsForAddress,
  isLoading,
  error,
} = useAccountsForAddress(contract, "{{account_address}}");

Parameters

Returns

Query result object that includes an array of all accounts associated with the address