Method GetBalance
GetBalance(Currency)
Gets the balance of the specified Currency.
Declaration
public static long GetBalance(Currency currency)
Parameters
| Type | Name | Description |
|---|---|---|
| Currency | currency | The currency you want the balance of. |
Returns
| Type | Description |
|---|---|
| long | The balance of the specified currency. |
GetBalance(string)
Gets the balance of the specified Currency.
Declaration
public static long GetBalance(string currencyKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | currencyKey | The identifier of the currency you want the balance of. |
Returns
| Type | Description |
|---|---|
| long | The balance of the specified currency. |