Function useEnglishAuction

  • Get an english auction

    Parameters

    • contract: RequiredParam<MarketplaceV3>

      an instance of a marketplace v3 contract

    • auctionId: RequiredParam<BigNumberish>

      the auction id to check

    Returns UseQueryResult

    a response object that includes the desired english auction

    Example

    const auctionId = 0; // the listing id to check
    const { data: englishAuction, isLoading, error } = useEnglishAuction(contract, auctionId);

    Twfeature

    EnglishAuctions

    See

    Documentation

Generated using TypeDoc