# Verified Contract Scan

Step 1. Auth Token Registration Description: The first step is to register with your auth token to generate an UUID.

{% tabs %}
{% tab title="Request" %}

```json
{
    "action": "message",
    "payload": {
        "type": "auth_token_register",
        "body": {
            "auth_token": "{Your_Auth_Token}"
        }
    }
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "type": "auth_token_register",
    "request_uuid": "Your_UUID",
    "payload": {
        "message": "Auth token registered."
    },
    "event_timestamp": "2024-04-19 11:37:17.854547"
}
```

{% endtab %}
{% endtabs %}

Step 2. Now send the scan message a sample message Request & Response is shared below:

{% tabs %}
{% tab title="Payload" %}

```
{
  "action": "message",
  "payload": {
    "type": "private_block_scan_initiate",
    "body": {
      "contract_address": "0xd34d68A92f4E37d388bb6A72d801da575503B1C3",
      "contract_platform": "etherscan",
      "contract_chain": "mainnet"
    }
  }
}
```

{% endtab %}

{% tab title="Response" %}

```
{
    "type": "scan_status",
    "payload": {
        "scan_id": "4db440faba1f2097",
        "scan_status": "scan_done",
        "project_id": "8d9fb842ce0b7b7b236083a313b29469",
        "scan_details": {
            "link": "https://credshields-prod.s3.amazonaws.com/private_scan_details/e2b646e6d4dce482.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR53KSZKUQRM7COPC%2F20240213%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20240213T152828Z&X-Amz-Expires=60000&X-Amz-SignedHeaders=host&X-Amz-Signature=d7ca74728a4009e5f900068bbb845a907905699bd8dad06aa9ad4ef9cabaf412"
        }
    },
    "event_timestamp": "2024-02-13 15:28:28.928343"
}
```

{% endtab %}
{% endtabs %}

The scan data can be fetched from the S3 bucket. The JSON of the scan data sample can be found below.

{% file src="<https://4103464763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaqKivgb07WQWzl1XsCC9%2Fuploads%2Fgit-blob-e07147068f480104f189427042d83902ebd52b4c%2Fresponse.json?alt=media&token=57e3308f-eeab-4ef5-bb56-8e230bc37b59>" %}
