Learn R Programming

gethr (version 0.1.0)

ether.toGwei: Conversion to Gwei.

Description

ether.toGwei returns the value of the cryptocurrency in Gwei.

Usage

ether.toGwei(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 Gwei.

See Also

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

Examples

Run this code
# NOT RUN {
ether.toGwei(50, 'ether')

# }

Run the code above in your browser using DataLab