Answer the question
In order to leave comments, you need to log in
How and what headers to transfer to the exchange (exchange api)?
Site liqui
API https://goo.gl/bpm1Gu
Public api implemented without problems. I'm trying to implement a trading.
Using the API of the exchange, I want to get information about my balance.
There is no experience - what they want to say and how to do it is not very clear to me yet.
API key created (maximum rights).
There is a secret key.
The nonce parameter will always be greater than the previous one (wrote the function).
Already worked with json response in public api.
Exchange instruction
Authentication
Authentication is performed by sending HTTP headers.
Key - your API key.
Signature - POST parameters (?nonce=1¶m0=val0) signed with a private key using HMAC-SHA512. For successful authentication, you must send a nonce value greater than the previous one.
Get information
Returns information about the user's balance, API key privileges, number of open orders, time on the server. To use this method, you need the info privilege on your key.
header('Location:https://api.liqui.io/api/3/getInfo');
Answer the question
In order to leave comments, you need to log in
As I understand it - first I have to pass the headers. How to do it, where to send it and how it should be?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question