toWei method

  1. @override
BigInt toWei()
override

Converts this Uint256 to an EtherAmount in wei.

Returns an BigInt representing the Uint256 value in wei.

Implementation

@override
BigInt toWei() {
  return toEtherAmount().getInWei;
}