Documentation
    Preparing search index...

    Function toUserFriendlyAddress

    • Convert a raw <workchain>:<hex> TON address into the URL-safe, non-bounceable user-friendly form (UQ… on mainnet, 0Q… on testnet).

      Parameters

      • hexAddress: string

        — raw address, e.g. '0:348bcf...0415f'.

      • OptionaltestOnly: boolean

        — set the test-only flag; Defaults to false.

      Returns string

      Base64url-encoded user-friendly address.