Skip to main content

HBAR from:

Construct HBAR from different representations.

HBAR to:

Convert HBAR to a different unit/format.

HBAR constants:

Provided constant values of HBAR.

HBAR units

Modify the HBAR representation to one of the HBAR denominations.

HBAR decimal places

HBAR is counted in tinybars (8 decimals) everywhere inside the network, including inside the EVM. Only the JSON-RPC relay uses 18 decimals, so that Ethereum wallets and libraries work unchanged. When an Ethereum transaction executes, the network divides its value by 10¹⁰ before the EVM runs, so a contract never sees the 18-decimal value. See HBAR decimal places for the full rules.