Giter Site home page Giter Site logo

Comments (7)

abandeali1 avatar abandeali1 commented on May 24, 2024

Check out https://0xproject.com/docs/0xjs#getUnavailableTakerAmountAsync

Use getFilledTakerTokenAmountAsync, getCanceledTakerTokenAmountAsync, or getUnavailableTakerAmountAsync depending on your needs.

from 0x-monorepo.

daraosn avatar daraosn commented on May 24, 2024

@abandeali1 Thank you, I'm closing this now

from 0x-monorepo.

daraosn avatar daraosn commented on May 24, 2024

@abandeali1
I'm sorry to reopen, but I haven't managed to use any of those methods to check a third party transaction, I keep getting the error:

Caught error:  Error: CONTRACT_DOES_NOT_EXIST
    at ExchangeWrapper.<anonymous> (./node_modules/0x.js/lib/src/contract_wrappers/contract_wrapper.js:94:35)
    at step (./node_modules/0x.js/lib/src/contract_wrappers/contract_wrapper.js:32:23)
    at Object.throw (./node_modules/0x.js/lib/src/contract_wrappers/contract_wrapper.js:13:53)
    at rejected (./node_modules/0x.js/lib/src/contract_wrappers/contract_wrapper.js:5:65)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:169:7)

Same happens with other methods such as getTokensAsync, what am I doing wrong?

from 0x-monorepo.

abandeali1 avatar abandeali1 commented on May 24, 2024

Are you on mainnet or Kovan? Mainnet isn't up yet, but PR #118 should be merged soon.

from 0x-monorepo.

daraosn avatar daraosn commented on May 24, 2024

@abandeali1 I'm on mainnet. Could you clarify: is the OTC dApp running on Kovan?
Thanks again for the help.

from 0x-monorepo.

abandeali1 avatar abandeali1 commented on May 24, 2024

OTC is on mainnet (and Kovan), but hasn't fully transitioned to 0x.js yet.

from 0x-monorepo.

fabioberger avatar fabioberger commented on May 24, 2024

@daraosn, we just released 0x.js V0.9.2 with the updated artifacts with the latest Kovan and Mainnet deploys: https://www.npmjs.com/package/0x.js

from 0x-monorepo.

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.