param hrpMultiplier return export function hrpToPico ( hrpMultiplier ) { if ( ! hrpMultiplier ) return BigInt ( 1e12 ) ; switch ( hrpMultiplier ) { case "m" : return BigInt ( 1e9 ) ; case "u" : return BigInt ( 1e6 ) ; case "n" : return BigInt ( 1e3 ) ; case "p" : return BigInt ( 1 ) ; default : throw new Error ( "Invalid multiplier" ) ; } }