an instance of a marketplace contract
the listing id to check
a response object that includes the address of the winner of the auction or undefined if there is no winner yet
const listingId = 0;
const { data: auctionWinner, isLoading, error } = useAuctionWinner(contract, listingId);
EnglishAuctions
Generated using TypeDoc
Get the winner of an english auction