cancelListing

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

Example

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

Parameters

Returns

A prepared transaction object.