Function useDirectListings

  • Get all direct listings

    Parameters

    • contract: RequiredParam<MarketplaceV3>

      an instance of a marketplace v3 contract

    • Optional filter: MarketplaceFilter

      filter to pass to the query for the sake of pagination & filtering

    Returns UseQueryResult

    a response object that includes an array of direct listings

    Example

    const { data: directListings, isLoading, error } = useDirectListings(contract, { start: 0, count: 100 });
    

    Twfeature

    DirectListings

    See

    Documentation

Generated using TypeDoc