Creates an auction.
import { createAuction } from "thirdweb/extensions/marketplace";import { sendTransaction } from "thirdweb"; const transaction = createAuction({...}); await sendTransaction({ transaction, account });
function createAuction( options: BaseTransactionOptions<CreateAuctionParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for creating the auction.
let options: BaseTransactionOptions<CreateAuctionParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
The result of creating the auction.