formatEther static method

String formatEther(
  1. String value
)

The equivalent to calling formatUnits(value, "ether").


final value = BigNumber.from("1000000000000000000");

EthUtils.formatEther(value); // '1.0'

Implementation

external static String formatEther(String value);