ether.toMwei: Conversion to Mwei.

Description Usage Arguments Value See Also Examples

View source: R/ether.R

Description

ether.toMei returns the value of the cryptocurrency in Mwei.

Usage

1
ether.toMwei(amount, type)

Arguments

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.

Value

Integer - Value in Mwei.

See Also

Other ether functions: ether.toEther, ether.toFinney, ether.toGether, ether.toGwei, ether.toKether, ether.toKwei, ether.toMether, ether.toSzabo, ether.toTether, ether.toWei, gethr

Examples

1
ether.toMwei(50, 'ether')

gethr documentation built on May 2, 2019, 7:03 a.m.