Giter Club home page Giter Club logo

Comments (7)

ryanbrwr avatar ryanbrwr commented on July 17, 2024

I dont think I was fully understood when I asked if there was support for coinbase account transfer. There is an endpoint for it and it's different than postCryptoWithdraw.

from coinbase-pro-node.

bennycode avatar bennycode commented on July 17, 2024

Hi @ryanbrwr, I am happy that you bring this up.

The endpoints /withdrawals/coinbase-account & /withdrawals/payment-method have been missing. Those endpoints will get added with this PR: #408

You will be able to access the different endpoints with the next release by using:

  • client.rest.withdraw.withdrawToCoinbaseAccount
  • client.rest.withdraw.withdrawToCryptoAddress
  • client.rest.withdraw.withdrawToPaymentMethod

There will be also:

  • client.rest.withdraw.getPaymentMethods

Thank you for your report!

from coinbase-pro-node.

ryanbrwr avatar ryanbrwr commented on July 17, 2024

Awesome thank you! Do you have any possibility why the code above returned an internal server error though?

from coinbase-pro-node.

bennycode avatar bennycode commented on July 17, 2024

From what I can see in your report, you have set the destinationTag (fourth parameter) to true. That's wrong. It must be a string.

from coinbase-pro-node.

ryanbrwr avatar ryanbrwr commented on July 17, 2024

ah I was trying to set the addFeeToTransaction parameter, what should I do for the destinationTag in this case??

from coinbase-pro-node.

bennycode avatar bennycode commented on July 17, 2024

Just keep it blank / set it to undefined.

from coinbase-pro-node.

bennycode avatar bennycode commented on July 17, 2024

You can use v2.18.0 now. With this version, client.rest.withdraw.postCryptoWithdrawal changes to client.rest.withdraw.withdrawToCryptoAddress and you have to pass in the amount as a string (not number anymore).

from coinbase-pro-node.

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.