Left Curve Software Stack
    Preparing search index...

    Function truncateAddress

    • Truncate an address.

      Parameters

      • address: string

        The address to truncate.

      • substring: number = 4

        The number of characters to show at the end.

      Returns string

      The truncate address.