def METHOD_NAME(cls, json_data: dict[str, Any]) -> 'KeyPair':
    priv_key_bytes = base64.b64decode(json_data['privKey'])
    address = json_data['address']
    used = json_data['used']
    return cls(private_key_bytes=priv_key_bytes, address=address, used=used)