Function useListingsCount

  • Beta

    Get the total count of listings

    Parameters

    • contract: RequiredParam<Marketplace>

      an instance of a marketplace contract

    Returns UseQueryResult

    a response object that includes the listing count

    Example

    const { data: listingsCount, isLoading, error } = useListingsCount(contract);
    

    See

    Documentation

Generated using TypeDoc