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

# useCollectible

> Hook to fetch metadata for a specific collectible This hook retrieves metadata for an individual NFT from a collection, including properties like name, description, image, attributes, etc.

## Parameters

| Name     | Type | Description                                                                     |
| -------- | ---- | ------------------------------------------------------------------------------- |
| `params` |      | Configuration parameters                                                        |
| `params` |      | .chainId - The chain ID (must be number, e.g., 1 for Ethereum, 137 for Polygon) |
| `params` |      | .collectionAddress - The collection contract address                            |
| `params` |      | .collectibleId - The token ID of the collectible                                |
| `params` |      | .query - Optional React Query configuration                                     |

## Returns

Query result containing the collectible metadata

## Example

Basic usage:

```typescript theme={null}
const { data: collectible, isLoading } = useCollectible({
chainId: 137,
collectionAddress: '0x631998e91476da5b870d741192fc5cbc55f5a52e',
collectibleId: '12345'
})
```

With custom query options:

```typescript theme={null}
const { data } = useCollectible({
chainId: 137,
collectionAddress: '0x631998e91476da5b870d741192fc5cbc55f5a52e',
collectibleId: '12345',
query: {
enabled: Boolean(collectionAddress && tokenId),
staleTime: 30_000
}
})
```

## Basic Usage

```typescript theme={null}
import { useCollectible } from '@0xsequence/marketplace-sdk/react/hooks';

const result = useCollectible({
  // Add your parameters here
});
```
