Parse a well-formatted string into a NEAR object or a Gas object.
string representing a value
parse('1 N') // => NEAR<'1000000000000000000000000'>parse('1mN') // => NEAR<'1000000000000000000000'>parse('1Tgas') // => Gas<'1000000000000'> Copy
parse('1 N') // => NEAR<'1000000000000000000000000'>parse('1mN') // => NEAR<'1000000000000000000000'>parse('1Tgas') // => Gas<'1000000000000'>
Generated using TypeDoc
Parse a well-formatted string into a NEAR object or a Gas object.