Module native_token

Source
Expand description

Definitions for the native SAFE token and its fractional lamports.

Structs§

Safe

Constants§

LAMPORTS_PER_SAFE
There are 10^9 lamports in one SAFE

Functions§

lamports_to_sol
Approximately convert fractional native tokens (lamports) into native tokens (SAFE)
sol_to_lamports
Approximately convert native tokens (SAFE) into fractional native tokens (lamports)