Function shortenWalletAddress

  • Shortens an EVM compatible address to show the first 6 and last 4 characters

    Parameters

    • Optional str: string

      The address to shorten

    • extraShort: boolean = true

      If true, show the first 4 and last 3 characters

    Returns undefined | string

    The shortened address

Generated using TypeDoc