Hook for fetching paginated primary sale items
UseInfiniteQueryResult
Parameter | Type | Description |
---|---|---|
chainId | number | The chain ID (e.g., 1 for Ethereum, 137 for Polygon) |
primarySaleContractAddress | string | The primary sale contract address |
filter | object | (Optional) Filter parameters for the query |
filter.status | string | (Optional) Filter by item status (e.g., ‘active’) |
page | object | (Optional) Pagination configuration |
page.pageSize | number | (Optional) Number of items per page |
query | object | (Optional) React Query configuration options |
config | object | (Optional) SDK configuration options |
isFetchingNextPage
when implementing infinite scroll functionality.primarySaleContractAddress
must be a valid contract address that
supports primary sales. Invalid addresses will result in failed queries.