pub fn cast_navax_to_avax_i64(navax: U256) -> i64
Expand description

Converts the nano AVAX to AVAX/i64 unit for C-chain and other EVM-based subnets.

On the C-Chain, one AVAX is 10^18 units. ref. https://snowtrace.io/unitconverter

If it overflows, it resets to i64::MAX.