Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $apikey=$datos[$i]->api_key;
- $secreat_key=$datos[$i]->security_key;
- // $nonce = time();
- $uri='https://bittrex.com/api/v1.1/account/getbalances?apikey='.$apikey.'&nonce='.'';
- $sign = hash_hmac('sha512',$uri,$secreat_key);
- $ch = curl_init($uri);
- curl_setopt($ch, CURLOPT_HTTPHEADER, array('apisign:'.$sign));
- //$execResult = curl_exec($ch);
- $obj=json_decode(curl_exec($ch));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement