• Parse a wire-format OS string into a bigint.

    The wire format is always the OS amount as a base-10 integer string.

    Parameters

    • osString: string

      OS amount as a decimal integer string.

    Returns bigint

    OS amount as bigint.

    parseOsString("1000000000") // => 1_000_000_000n