Places a bid in an English auction.
import { bidInAuction } from "thirdweb/extensions/marketplace";import { sendTransaction } from "thirdweb"; const transaction = bidInAuction({ contract, auctionId: 0n, bidAmount: "100",}); await sendTransaction({ transaction, account });
function bidInAuction( options: BaseTransactionOptions<BidInAuctionParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for placing the bid.
let options: BaseTransactionOptions<BidInAuctionParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A transaction that can be sent to place the bid.