balance

1. Request

param

type

description

type

string

'subscribe' | 'unsubscribe'

channel

string

'balance'

// request

{
  "type": "subscribe",
  "channel": 'balance',
}

2. Responses

param

type

description

channel

string

'balance'

data

BALANCE

See below.

//Format
{
  [currency]: {
    available: string,
    total: string,
  }
}

//Example
{
  BTC: {
    available: "0.0",
    total: "0"
  },
  ETH: {
    available: "0.3",
    total: "1"
  }
}

currency

string

Currency ID

available

string

Available amount of currency.

total

string

Total amount of currency.

//response

{
  "channel": 'balance',
  "data": {
    [currency]: {
        available: string,
        total: string,
    }
  },
}