Giter Site home page Giter Site logo

Comments (5)

lehongvo avatar lehongvo commented on July 17, 2024 1

@ryanio thankyou so much

from opensea-js.

ryanio avatar ryanio commented on July 17, 2024 1

No only by order or by whole account (counter)

from opensea-js.

ryanio avatar ryanio commented on July 17, 2024

You can't just pass orders to cancelOrder you have to follow the provided API. If you use Typescript you will get more helpful errors from the compiler instead of asking us every time (you've opened 10+ issues in our repositories in the last month with basic troubleshooting questions and not bugs). Also please read the source and docs above each method. You have to iterate over each order and call cancelOrder with the order.

You can also use incrementCounter in seaport if you want to cancel all your orders cheaply with one transaction.

from opensea-js.

ryanio avatar ryanio commented on July 17, 2024

@lehongvo for more about incrementCounter:

https://github.com/ProjectOpenSea/seaport-js/blob/3e6b69c9fe1787c06d3b23349bb0b7ec66911ae2/src/seaport.ts#L585-L592

https://docs.opensea.io/reference/seaport-interface#incrementcounter

from opensea-js.

lehongvo avatar lehongvo commented on July 17, 2024

Hi @ryanio
Is there any way to cancel all listings of an NFT?
Thanks

from opensea-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.