> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequence.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# useCollectionBalanceDetails

> The useCollectionBalanceDetails hook retrieves the token balances of multiple wallet addresses across one or more specified collections in your Marketplace from Builder.

```typescript theme={null}
import { useCollectionBalanceDetails } from "@0xsequence/marketplace-sdk/react";

// Into your React component:

const { data: collectionBalanceDetailsData } = useCollectionBalanceDetails({
  chainId: 421614,
  filter: {
    accountAddresses: ["0x2b54eAE39bdcDbBE1bbe001a4329C38cD58679D1"],
    omitNativeBalances: true,
    contractWhitelist: ["0x36631c1e690714192614364ae9629850b546d194"],
  },
  query: {
    enabled: true,
  },
});

console.log(collectionBalanceDetailsData);
```

<ResponseField name="useCollectionBalanceDetails details">
  <ResponseField name="* params" />

  <Expandable>
    ```typescript theme={null}
    interface UseCollectionBalanceDetailsArgs {
      chainId: number;
      filter: {
        accountAddresses: Address[];
        omitNativeBalances: boolean;
        contractWhitelist?: Address[];
      };
      query?: {
        enabled?: boolean;
      };
    }
    ```
  </Expandable>

  <ResponseField name="* return properties" />

  <Expandable>
    <ParamField path="data" type="GetTokenBalancesDetailsReturn">
      Contains the token balances data.
    </ParamField>

    <ParamField path="isLoading" type="boolean">
      Indicates whether the data is currently loading.
    </ParamField>
  </Expandable>
</ResponseField>
