Docs

cancelAuction

Prepares a transaction to call the "cancelAuction" function on the contract.

Example

import { cancelAuction } from "thirdweb/extensions/marketplace";
const transaction = cancelAuction({
contract,
auctionId: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.