Inquire Account Balance History - coinexcom/coinex_exchange_api GitHub Wiki
Inquire Account Balance History
-
Request description: Inquire Account Balance History
-
Request type: GET
-
Signature required: Yes
-
Request Header:
authorization:"xxxx"(32-digit capital letters, see generating method in <API invocation instruction>) -
Request Url:https://api.coinex.com/v1/account/balance/history
-
Request parameter:
name type required description access_id String Yes access_id tonce Integer Yes Tonce is a timestamp with a positive Interger that represents the number of milliseconds from Unix epoch to the current time. Error between tonce and server time can not exceed plus or minus 60s asset String No asset name, e.g. BCH. start_time Integer No timestamp for start time, e.g. 1633046400. end_time Integer No timestamp for end time, e.g. 1633046400. page Integer No Page, start from 1 Limit Integer No Amount per page(1-100) -
Return value description:
name description time create time account account id business business name, e.g. Deposit asset asset name change change balance balance afer change -
Example:
# Request
GET https://api.coinex.com/v1/account/balance/history?access_id=4DA36FFC61334695A66F8D29020EB589&tonce=1513746038205&asset=BCH
# Response
{
"code": 0,
"data": [
{
"asset": "BCH",
"change": "-1.00000000",
"time": 1524228297,
"account": 0,
"business": "deposit",
"balance": "2.00000000"
}
],
"message": "Ok"
}