createAuction

Creates an auction.

Example

import { createAuction } from "thirdweb/extensions/marketplace";
import { sendTransaction } from "thirdweb";
const transaction = createAuction({...});
await sendTransaction({ transaction, account });
function createAuction(

Parameters

The options for creating the auction.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

The result of creating the auction.