My Assets methods
Used to get the balances of the user from which the request is made. After establishing the WebSocket connection, the user has to be authorized to use this methods.
List of My Balances methods:
Asset Query method
Method name
asset.queryRequest "params" parameters
Name
Type
Description
Example
Request example 1
{
"method":"asset.query",
"params":
[
"BTC"
],
"id":1
}Response parameters
Name
Type
Description
Response example 1
Request example 2
Response example 2
Request example 3
Response example 3
Asset Subscribe method
Method
Request "params" parameters
Name
Type
Description
Example
Request example
Response example (successfully subscribed)
Response parameters ("asset.update", when the balance state was changed)
Name
Type
Description