Function chargeURI

  • Charges URI string with the given value.

    Handles primitive values, custom charge transfers, as well as arbitrary arrays and object literals.

    Parameters

    • value: unknown

      The value to encode.

    • Optional mode: UctxMode

      Charge transfer mode.

      Optional

    Returns string | undefined

    Either encoded value, or undefined if the value can not be encoded.

Generated using TypeDoc