vechaindocsgithub
  • Preparing search index...
  • The search index is not available
vechain-sdk
  • vechain-sdk
  • @vechain/sdk-core
  • Units
  • formatEther

Function formatEther

  • formatEther(wei): string
  • Convert a value expressed in Units.wei as a string representing the same value expressed in Units.ether.

    Parameters

    • wei: FixedPointNumber

      The value in Units.wei.

    Returns string

    The formatted string representing the value in Units.ether.

    Remarks

    The term ether refers to the order of magnitude 10E18, not to the ETH cryptocurrency.

    See

    ethers formatEther

    • Defined in packages/core/src/vcdm/currency/Units.ts:74

Settings

Member Visibility
vechaindocsgithub
vechain-sdk
  • Loading...

Generated using TypeDoc