Description Usage Arguments Value See Also Examples
ether.toKwei
returns the value of the cryptocurrency in Kwei.
1 | ether.toKwei(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 Kwei.
Other ether functions: ether.toEther
,
ether.toFinney
,
ether.toGether
, ether.toGwei
,
ether.toKether
,
ether.toMether
, ether.toMwei
,
ether.toSzabo
,
ether.toTether
, ether.toWei
,
gethr
1 | ether.toKwei(50, 'ether')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.