Skip to main content

Method Signature

Parameters

string
required
Amount in ether

Returns

Returns the amount in wei as a bigint.

Examples

Use in Transaction

Format Ether

Convert wei to ether

Parse Amount

Parse token amounts