cancel_listing
Cancel an active ENS name listing by generating Seaport cancel() calldata. Pass order hash and seller wallet; optionally include sibling hashes to cancel multiple orders atomically.
Instructions
Cancel an active ENS name listing by submitting Seaport's cancel() on-chain.
Returns the unsigned Seaport cancel() transaction calldata. Your wallet signs and submits; once mined, Seaport marks the order invalid and no marketplace (NW, Grails, OpenSea) can fulfill it anymore.
Only the original seller (the order's offerer) can cancel. If you cross-posted to OpenSea, you signed a second 'opensea' variant of the listing — pass BOTH order hashes as alsoCancel so a single tx kills both variants atomically.
For cancelling offers you've made as a buyer, use cancel_offer instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderHash | Yes | Seaport order hash of the listing to cancel (from get_name_details or the orderbook) | |
| alsoCancel | No | Sibling order hashes to cancel atomically in the same tx (e.g. the OpenSea-variant counterpart of an NW listing). Seaport.cancel() accepts an array — cancelling N orders costs barely more than cancelling one. | |
| walletAddress | Yes | Wallet address of the seller. Must match the original offerer on the order. |