solana_program

Module native_token

source
Expand description

Definitions for the native SOL token and its fractional lamports.

Structs§

Constants§

Functions§

  • Approximately convert fractional native tokens (lamports) into native tokens (SOL)
  • Approximately convert native tokens (SOL) into fractional native tokens (lamports)