bidInAuction

Places a bid in an English auction.

Example

import { bidInAuction } from "thirdweb/extensions/marketplace";
import { sendTransaction } from "thirdweb";
const transaction = bidInAuction({
contract,
auctionId: 0n,
bidAmount: "100",
});
await sendTransaction({ transaction, account });
function bidInAuction(

Parameters

The options for placing the bid.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A transaction that can be sent to place the bid.