Lamport
Last updated:
The RPC method
getBalance: Returns an account's balance in lamports. To convert lamports to SOL, divide by 1,000,000,000 (10^9): 2,500,000,000 lamports is 2.5 SOL. To convert SOL to lamports, multiply by 1,000,000,000. getBalance reference →
Applies to: Solana
Endpoint and plans: Solana RPC endpoint.
In more detail
RPC methods such as getBalance return amounts in lamports, so a value must be divided by 1,000,000,000 to show SOL. Transaction fees and rent-exempt minimums are also expressed in lamports.