> ## 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.

# useCollection

> The useCollection hook retrieves information about a specific collection address in your Marketplace from Builder. The returned data includes details such as the chainId, address, symbol, and more.

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

## Into your React component:

const { data: collectionData } = useCollection({
  chainId: 137,
  collectionAddress: "0x0e5566a108e617baedbebb44e3fcc7bf03e3a839",
  query: {
    enabled: true,
  },
});

console.log(collectionData);
```

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

  <Expandable>
    ```typescript theme={null}
    interface UseCollectionArgs {
      chainId: number;
      collectionAddress: Address;
      query?: {
        enabled?: boolean;
      };
    }
    ```
  </Expandable>

  <ResponseField name="* return properties" />

  <Expandable>
    <ParamField path="data" type="ContractInfo">
      Contains the collection data.
    </ParamField>

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