Function useDirectListing

  • Get a direct listing

    Parameters

    • contract: RequiredParam<MarketplaceV3>

      an instance of a marketplace v3 contract

    • listingId: RequiredParam<BigNumberish>

      the listing id to check

    Returns UseQueryResult

    a response object that includes the desired direct listing

    Example

    const listingId = 0; // the listing id to check
    const { data: directListing, isLoading, error } = useListing(contract, listingId);

    Twfeature

    DirectListings

    See

    Documentation

Generated using TypeDoc