Description Usage Arguments Value See Also Examples
ether.toMei returns the value of the cryptocurrency in Mwei.
1 | ether.toMwei(amount, type)
|
amount |
Integer - Amount of the cryptocurrency to convert from. |
type |
String - Unit of the cryptocurrency to convert from: wei, kwei, mwei, gwei, szabo, finney, ether, kether, mether, gether or tether. |
Integer - Value in Mwei.
Other ether functions: ether.toEther,
ether.toFinney,
ether.toGether, ether.toGwei,
ether.toKether, ether.toKwei,
ether.toMether,
ether.toSzabo,
ether.toTether, ether.toWei,
gethr
1 | ether.toMwei(50, 'ether')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.