convert: Convert between Ether units

Description Usage Arguments Value See Also

View source: R/convert.R

Description

Convert between Ether units.

Usage

1
convert(x, from = "wei", to)

Arguments

x

Numeric. A vector giving values to be converted.

from

Character. The units of Ether in which x is given. See eth_units() for valid values. Default is 'wei'.

to

Character. The target unit of Ether to which x will be converted. See eth_units() for valid values.

Value

A vector giving x in units specified by to.

See Also

eth_units()


dapped/eth documentation built on Oct. 23, 2021, 4:42 a.m.