Bitcoin Forum
October 02, 2025, 01:28:34 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Trading Discussion / Re: Kraken API help on: January 31, 2018, 06:31:22 PM
Hey Guys,
So i did some steps forward, now I get an error message saying : "Unknow Method".

If anyone have an idea about where this error could come from...

Cheers
2  Economy / Trading Discussion / Re: Kraken API help on: January 22, 2018, 06:16:45 PM
Hello "enter`name`here",
I'm struggling to get authenticated using Kraken API, I saw your messages on the forum.
Do you mind if I ask you some questions?

I use to succeed to connect to bitfinex api and do a simple trading bot, but with kraken they doesn't give much infos on how to get authenticated.

HTTP header:
API-Key = API key
API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 decoded secret API key

POST data:
nonce = always increasing unsigned 64 bit integer
otp = two-factor password (if two-factor enabled, otherwise not required)


Regarding base64 decoded secret api:
Do you decode it using ASCII or UTF-8 ?

From what I understood, usualy the post message is broken down in 3 part : the header, the payload and the signature.

In the kraken doc, it seems that you put everthing in the header : the api key, the signature, the endpoint(getBalance, order...).
So if you pass an order, where do you put the details :in the header too? Or do you create a payload?

I'm writing my program in nodejs, I don't know if it's an important info...
If you could help even just a bit that would be so appreciated

Take care,
Mac Lovin
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!