Function useEnglishAuctionWinningBid

  • Get the winning bid for an english auction

    Parameters

    • contract: RequiredParam<MarketplaceV3>

      an instance of a marketplace contract

    • auctionId: RequiredParam<BigNumberish>

      the auction id to check

    Returns UseQueryResult

    a response object that includes the Bid that is winning the auction

    Example

    const listingId = 0;
    const { data: winningBid, isLoading, error } = useWinningBid(contract, listingId);

    Twfeature

    EnglishAuctions

    See

    Documentation

Generated using TypeDoc