useEnglishAuctionWinningBid
Hook to get the winning bid for an English auction listing from a Marketplace V3 contract.
Example
Parameters
Returns
If there are no bids, the data
property will be undefined
. Use the isLoading
property to differentiate between
the loading state and the no bids state.
If there is a bid, the hook's data
property, once loaded, will be an object of type Bid
, containing the following properties: