Updates an existing direct listing.
import { updateListing } from "thirdweb/extensions/marketplace";import { sendTransaction } from "thirdweb"; const transaction = updateListing({...}); await sendTransaction({ transaction, account });
function updateListing( options: BaseTransactionOptions<UpdateListingParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for updating the direct listing.
let options: BaseTransactionOptions<UpdateListingParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
The result of updating the direct listing.