Cancelling an order

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 cancelERC721Order function from 0x.

Last updated