Marketplace
Cometh ConnectCometh MarketplaceCometh checkout
  • Demo
  • API reference doc
  • SDK reference doc
  • 🚀Quickstart
    • Getting started
    • Core concepts
    • API cheatsheet
    • Third party helpers
  • 🛠️Core features
    • Get collection data
    • Assets search engine
    • Creating an order
    • Searching orders
    • Filling an order
    • Cancelling an order
  • ⚗️Advanced features
    • Tracking indexing
    • Get asset transfers
    • Admin routes
    • Refreshing metadata
    • Webhooks
  • 📖Resources
    • Why Cometh Marketplace
    • Order flow
    • Preparing for transactions
    • Sponsoring transactions
Powered by GitBook
On this page
  1. Core features

Cancelling an order

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.

🛠️
cancelERC721Order