Methods
| Method | Parameters | Returns | Notes |
|---|---|---|---|
GetWallets() | — | List<WalletItem> | |
GetWalletForCurrencyWithCode(code) | string | WalletItem? | |
GetWalletForCurrencyWithId(id) | string | WalletItem? | |
GetWallet(currency) | Currency | WalletItem? | |
GetCurrencies() | — | List<Currency> | |
GetCurrencyByCode(code) | string | Currency? | |
GetCurrencyById(id) | string | Currency? | |
Refresh() | — | void | |
AddListener(listener) | Action | void | |
RemoveListener(listener) | Action | void |
WalletItem
| Field | Type | Notes |
|---|---|---|
Id | string | |
Balance | string | String to support large values |
Currency | Currency |
Currency
| Field | Type | Notes |
|---|---|---|
Id | string | |
Name | string | |
Code | string | e.g. "GOLD" |