• Extract the raw hex string from an Identity, regardless of variant.

    Parameters

    • id: Identity

      The identity to extract from.

    Returns string

    The 0x-prefixed hex address or contract ID string.