When developing Avalanche, you will frequently need to think about units of measure used for various amounts of AVAX.

This is a list of common units of measure:

NanoAvax uint64 = 1
MicroAvax uint64 = 1000 * NanoAvax
Schmeckle uint64 = 49*MicroAvax + 463*NanoAvax
MilliAvax uint64 = 1000 * MicroAvax
Avax uint64 = 1000 * MilliAvax
KiloAvax uint64 = 1000 * Avax
MegaAvax uint64 = 1000 * KiloAvax

The full list can be accessed here: https://github.com/ava-labs/avalanchego/blob/master/utils/units/avax.go

For any additional questions, please visit our knowledge base or contact a support team member via the chat button at support.avax.network.

Chat with Ava Labs | Use Apps on Avalanche | Validate on Avalanche

Build on Avalanche

Did this answer your question?