Last updated 1 year ago
Before starting this tutorial, make sure you've installed Third party helpers.
Only the maker of an order can cancel an opened order, they just need to pass its nonce.
const cancelTx = await nftSwapSdk.cancelOrder(order.nonce, 'ERC721')
Ultimately, the NFT swap SDK calls either the function from 0x.