English
Hook to fetch the balance of a specific collectible for a user
args
const { data, isLoading, error } = useBalanceOfCollectible({ collectionAddress: '0x123...', collectableId: '1', userAddress: '0x456...', chainId: 1, query: { enabled: true, refetchInterval: 10000, } });
import { useBalanceOfCollectible } from '@0xsequence/marketplace-sdk/react/hooks'; const result = useBalanceOfCollectible({ // Add your parameters here });
Was this page helpful?