Units
getSolToLamports()

Converts SOL units to lamports units.

import { getSolToLamports } from '@lndgalante/solutils';
 
const { lamports } = getSolToLamports(2.5);
 
console.log(lamports); // 2500000000