English
The useCollectionDetails hook retrieves information about a specific collection address.
import { useCollectionDetails } from "@0xsequence/marketplace-sdk/react"; ## Into your React component: const { data: collectionDetailsData } = useCollectionDetails({ chainId: 421614, collectionAddress: "0x36631c1e690714192614364ae9629850b546d194" }); console.log(collectionDetailsData);
Show child attributes
interface UseCollectionDetailsArgs { collectionAddress: string; chainId: number; }
Contains the collection data.
Indicates whether the data is currently loading.
Was this page helpful?