API for interacting with balances.
Methods
-
<inner> list(params)
-
Get asset balances by account.
Parameters:
Name Type Description params
Object Filter and pagination information.
Properties
Name Type Description account_id
String account id.
account_alias
String name of account.
Returns:
The result balances.
- Type
- Promise.<Array.<Balance>>
-
<inner> listAll()
-
List all assets Balances in one Bytom node.
Returns:
The result balances.
- Type
- Promise.<Array.<Balance>>