Bitcoin Forum
May 09, 2024, 09:49:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MtGox api v1/v2  (Read 2168 times)
kakobrekla (OP)
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Psi laju, karavani prolaze.


View Profile
December 29, 2012, 04:34:38 PM
 #1

So, in the past few months I got a bunch of emails saying mtg v0 api is going out of biz with the end of 2012.

Quote
You are currently making use of a system which will be deprecated on Mon 31 Dec 2012 12:00:00 AM GMT:

Old bitcoin withdraw method for withdrawing bitcoins is deprecated. Please use https://mtgox.com/api/1/generic/bitcoin/send_simple or https://mtgox.com/api/2/money/bitcoin/send_simple instead

Please note that after this date, using this system won't be possible anymore and will instead lead to an error.

Thank you for your attention.

System Staff


Right. So we check mtgox and this is the official api site: https://en.bitcoin.it/wiki/MtGox/API/HTTP. No v2 manual there. Ok, we shall go with v1.

The instructions say withdrawal method has two required args. When I satisfy the conditions, I get a message OTP is required. So I implement OTP call as described in the wiki.

Code:
HOTP key 

https://mtgox.com/api/1/generic/hotp_gen

used to generate a new HOTP key ( useful for developers )


It returns an array with 'serial', 'name', 'key' and 'key_base32'.  I can not google my way to how exactly these vars should be processed and used to make a successful withdrawal request.


Anyone got a clue I wonder, cause my crystal ball is broked.


"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
MagicalTux
VIP
Hero Member
*
Offline Offline

Activity: 608
Merit: 501


-


View Profile
December 29, 2012, 09:59:18 PM
 #2

Hi,

Everything you need to know is there:

http://tools.ietf.org/html/rfc4226 (HOTP)
http://tools.ietf.org/html/rfc6238 (TOTP)

We use the standard defined by Google in term of OTP, which means that our OTP uses 30 secs TOTP on 6 digits (base10). Since Google uses that, a lot of documentation is available on Internet.
jago25_98
Hero Member
*****
Offline Offline

Activity: 900
Merit: 1000


Crypto Geek


View Profile WWW
January 07, 2013, 04:31:37 AM
 #3

Smpake, the forwarding service to improve MtGox deposits have decided to shut down just in case until clearer. No alternative implementation AFAIK


Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!