Units

TOP

Nano can be represented using more than one unit of measurement. While the most common unit is the nanonano, the smallest unit is the rawraw. Below is the formula for converting between rawraw and nanonano.


1nano=1030raw1 nano = 10^{30} raw

All RPC commands expect units to be represented as rawraw.

Depending on your implementation language, you may require a big number library to perform arithmetic directly on rawraw.

Always keep units in integer rawraw amounts to prevent any floating-point error or unit confusion.