Module native_token

Source
Expand description

Definitions for the native MLN token and its fractional lamports.

Structs§

Mln

Constants§

LAMPORTS_PER_MLN
There are 10^9 lamports in one MLN

Functions§

lamports_to_mln
Approximately convert fractional native tokens (lamports) into native tokens (MLN)
mln_to_lamports
Approximately convert native tokens (MLN) into fractional native tokens (lamports)