Hbars
Constructor | Type | Description |
| Hbar | Initializes the Hbar object |
Hbar from:
Construct hbars from different representations.
Method | Type | Description |
| HbarUnit | Hbars from the provided denomination |
| long | Hbars converted from tinybars |
Hbar to:
Convert hbars to a different unit/format.
Method | Type | Description |
| HbarUnit | Specify the unit of hbar to convert to. Use |
| Long | Hbar value converted to tinybars |
Hbar constants:
Provided constant values of hbars.
Method | Type | Description |
| Hbar | A constant value of the maximum number of hbars (50_000_000_000 hbars) |
| Hbar | A constant value of the minimum number of hbars (-50_000_000_000 hbars) |
| Hbar | A constant value of zero hbars |
Hbar units
Modify the hbar representation to one of the hbar denominations.
Function | Description |
| The atomic (smallest) unit of hbar, used natively by the Hedera network |
| Equivalent to 100 tinybar or 1⁄1,000,000 hbar. |
| Equivalent to 100,000 tinybar or 1⁄1,000 hbar |
| The base unit of hbar, equivalent to 100 million tinybar. |
| Equivalent to 1 thousand hbar or 100 billion tinybar.HbarUnit.Megabar |
| Equivalent to 1 million hbar or 100 trillion tinybar. |
| Equivalent to 1 billion hbar or 100 quadrillion tinybar. |
Last updated