Function getChecksumAddress

  • Encode a passed hex string as an ERC-55 mixed-case checksum address. This function is memoized for performance.

    Returns

    The address encoded according to ERC-55.

    See

    https://eips.ethereum.org/EIPS/eip-55

    Parameters

    • hexAddress: `0x${string}`

      The hex address to encode.

    Returns Hex