isNewWinningBid

Calls the "isNewWinningBid" function on the contract.

Example

import { isNewWinningBid } from "thirdweb/extensions/marketplace";
const result = await isNewWinningBid({
contract,
auctionId: ...,
bidAmount: ...,
});
function isNewWinningBid(
): Promise<boolean>;

Parameters

The options for the isNewWinningBid function.

Type

Returns

let returnType: Promise<boolean>;

The parsed result of the function call.