cancelOffer

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

Example

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

Parameters

Returns

A prepared transaction object.