Function avalanche_types::units::cast_avax_to_evm_navax
source · pub fn cast_avax_to_evm_navax(avax: U256) -> U256
Expand description
Converts the EVM AVAX unit to nano-AVAX. On the C-Chain, one AVAX is 10^18 units. ref. https://snowtrace.io/unitconverter If it overflows, it resets to U256::MAX.