Example 1: As a query string
queryString: symbol=LTCBTC&side=BUY&type=LIMIT&timeInForce=GTC&quantity=1&price=0.1&recvWindow=5000×tamp=1499827319559
HMAC SHA256 signature:
[linux]$ echo -n “symbol=LTCBTC&side=BUY&type=LIMIT&timeInForce=GTC&quantity=1&price=0.1&recvWindow=5000×tamp=1499827319559” | openssl dgst -sha256 -hmac “NhqPtmdSJYdKjVHjA7PZj4Mge3R5YNiP1e3UZjInClVN65XAbvqqM6A7H5fATj0j” (stdin)= c8db56825ae71d6d79447849e617115f4a920fa2acdcab2b053c4b2838bd6b71
He needs to add a timestamp parameter and then sign the entire querystring.
I try.
var querystr =
exchange.IOThe following is a list of the most commonly used APIs (api,
If not signed
{
aimmpanHow long will it take for the Bitcoin to arrive?
sikaruIt's done, don't use the official v3, you can change it to v1, e.IO (("api", "POST", "/wapi/v1/withdraw.html", "amount=" + amount + "&asset=" + currency + "&address=" + address);
Inventors quantify - small dreamsThe IO function does not require a signature.
Inventors quantify - small dreamsThis IO that is wrapped in BotVS is supposed to be V1 and not V3.
sikaruI tried not to sign, and it gives an error....