Account
Request append param
name
type
required
detail
symbol
String
√
{
"symbol": "ETH",
"method": "SUBSCRIBE",
"apiKey": "?",
"signType": 2,
"signature": "?",
"event": "api_account",
"timestamp": 1657157345159
}Receive data:
name
type
required
detail
data
Object
accoint info
event
String
api_account
success
Boolean
true,false
Data object:
name
type
required
detail
availableAmount
String
frozenAmount
String
logId
Long
Flow ID: determines the version. If the logId is small, the history balance is displayed
operateAmount
String
symbol
String
coinId
Long
Example:
1 Get current timestamp(ms):
2 Sign the string format of the timestamp, result:
3 Assembling parameters, including basic parameters for subscription and custom additional parameters for the interface.
4 Returns after a successful subscription
5 Server websocket push data.
Last updated