Function truncateAddress

  • Truncates the provided wallet address at the middle with an ellipsis.

    Parameters

    • address: string

      The wallet address to truncate.

    • start: number = 6

      The number of characters to show at the beginning of the address.

    • end: number = 5

      The number of characters to show at the end of the address.

    Returns string

    The truncated address.

MMNEPVFCICPMFPCPTTAAATR