@evefrontier/dapp-kit - v0.0.1
    Preparing search index...

    Function formatM3

    • Format a raw volume value to cubic meters (m³).

      Converts from the on-chain representation (wei-like, 10^18) to m³.

      Parameters

      • quantity: string | bigint

        The raw volume value as string or bigint

      Returns number

      Volume in cubic meters

      const m3 = formatM3(BigInt("1000000000000000000")); // 1.0 m³