createAuction

Creates an auction.

Example

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

Parameters

Returns

The result of creating the auction.