My Specific Trade Balance
This method returns a user balance for a specific asset.
Details
POST
https://api.earnbit.com/api/v1/account/balance
Headers
Name
Type
Description
X-TXC-PAYLOAD*
STRING
Сonverted Base64 string containing body JSON
X-TXC-SIGNATURE*
STRING
Encrypted HmacSHA512 string containing body JSON with a API secret key
Request Body
Name
Type
Description
Example
currency*
STRING
Ticker of asset
USDT
request*
STRING
A request path without the domain name
/api/v1/account/balance
nonce*
NUMERIC
A 13-character number that must always be greater than the nonce of the previous completed request (we suggest generating a nonce as the UNIX timestamp in milliseconds)
1704070810000
Response parameters:
Name
Type
Description
available
NUMERIC
Aviailable amount (without active orders)
freeze
STRING
Freezed amount (in active orders)
Response example:
{
"code": 200,
"success": true,
"message": "",
"result": {
"available": "0",
"freeze": "0"
}
}
Last updated