For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Verified Contract Scan

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

{
    "action": "message",
    "payload": {
        "type": "auth_token_register",
        "body": {
            "auth_token": "{Your_Auth_Token}"
        }
    }
}
{
    "type": "auth_token_register",
    "request_uuid": "Your_UUID",
    "payload": {
        "message": "Auth token registered."
    },
    "event_timestamp": "2024-04-19 11:37:17.854547"
}

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

{
  "action": "message",
  "payload": {
    "type": "private_block_scan_initiate",
    "body": {
      "contract_address": "0xd34d68A92f4E37d388bb6A72d801da575503B1C3",
      "contract_platform": "etherscan",
      "contract_chain": "mainnet"
    }
  }
}
{
    "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"
}

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

Last updated