pub fn cast_avax_to_xp_navax(avax: U256) -> U256
Expand description

Converts the X/P chain AVAX unit to nano-AVAX. On the X and P-Chain, one AVAX is 10^9 units. ref. https://snowtrace.io/unitconverter If it overflows, it resets to U256::MAX.