Variable: parseRLC()
December 9, 2025 ยท View on GitHub
Variable: parseRLC()
constparseRLC: (value,defaultUnit?) =>BN
parse a string formatted RLC value in nRLC big number
supported units: 'nRLC', 'RLC' default unit 'nRLC'
example:
console.log('5 RLC =' + parseEth('5 RLC') + 'nRLC');
console.log('5 RLC =' + parseEth(5, 'RLC') + 'nRLC');
Parameters
value
string
defaultUnit?
string