Module solana_program::native_token[][src]

Structs

Sol

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)