Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nexaid.hashkey.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Attestation Structure in NexaID

When a successful data verification process is completed, the client will receive a zkTLS attestation issued by the network attestor. The attestation is defined with the following structure.
[
  {
    "attestor": "ATTESTOR_ADDRESS",
    "taskId": "TASK_ID",
    "attestation": {
      "recipient": "YOUR_USER_ADDRESS",
      "request": [
        {
          "url": "REQUEST_URL",
          "header": "REQUEST_HEADER",
          "method": "REQUEST_METHOD",
          "body": "REQUEST_BODY"
        }
      ],
      "responseResolve": [
        {
          "oneUrlResponseResolve": [
            {
              "keyName": "VERIFY_DATA_ITEMS",
              "parseType": "",
              "parsePath": "DARA_ITEM_PATH"
            }
          ]
        }
      ],
      "data": "{ACTUAL_DATA}",
      "attConditions": "[RESPONSE_CONDITIONS]",
      "timestamp": "TIMESTAMP_OF_VERIFICATION_EXECUTION",
      "additionParams": ""
    }
  }
]