github.com/MetalBlockchain/metalgo@v1.11.9/utils/units/avax.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package units 5 6 // Denominations of value 7 const ( 8 NanoAvax uint64 = 1 9 MicroAvax uint64 = 1000 * NanoAvax 10 Schmeckle uint64 = 49*MicroAvax + 463*NanoAvax 11 MilliAvax uint64 = 1000 * MicroAvax 12 Avax uint64 = 1000 * MilliAvax 13 KiloAvax uint64 = 1000 * Avax 14 MegaAvax uint64 = 1000 * KiloAvax 15 )