Expand description
Definitions for the native SOL token and its fractional lamports.
Structs§
Constants§
- LAMPORTS_
PER_ SOL - There are 10^9 lamports in one SOL
Functions§
- lamports_
to_ sol - Approximately convert fractional native tokens (lamports) into native tokens (SOL)
- sol_
to_ lamports - Approximately convert native tokens (SOL) into fractional native tokens (lamports)