Class: Balance

wallet.Balance

new Balance(wid, id, account)

Balance

Parameters:
Name Type Description
wid WalletID
id String
account Number
Source:

Methods

equal(balance) → {Boolean}

Test whether a balance is equal.

Parameters:
Name Type Description
balance Balance
Source:
Returns:
Type
Boolean

inspect()

Inspect balance.

Parameters:
Type Description
String
Source:

toJSON(minimalnullable) → {Object}

Convert balance to a more json-friendly object.

Parameters:
Name Type Attributes Description
minimal Boolean <nullable>
Source:
Returns:
Type
Object

toString() → {String}

Convert balance to human-readable string.

Source:
Returns:
Type
String