Skip to main content

get_balance

Get the available balance of the wallet.

Parameters

  • currency: (string) [required] The currency of tokens to get the available balance of.

Returns

A string containing the available balance.

Example

Request

{
"id": 1,
"jsonrpc": "2.0",
"method": "get_balance",
"params": {
"currency": "BCH",
}
}

Response

{
"id": 1,
"jsonrpc": "2.0",
"result": "1.3421",
}