SmartAuditor.AI (onchain scanner & monitor)

SmartAuditor.AI (onchain scanner & monitor) · GPT-Aktionen

SmartAuditor.AI API

  • GET /api/chatgpt_static.phpRetrieve information based on address and net

    This endpoint retrieves information based on the provided `address` and `net` parameters.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "SmartAuditor.AI API",
    "version": "2.0.0"
  },
  "contact": {
    "email": "support@defensahacker.com"
  },
  "servers": [
    {
      "url": "https://app.smartauditor.ai"
    }
  ],
  "paths": {
    "/api/chatgpt_static.php": {
      "get": {
        "summary": "Retrieve information based on address and net",
        "description": "This endpoint retrieves information based on the provided `address` and `net` parameters.\n",
        "operationId": "scanAddress",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "required": true,
            "description": "The address parameter to be used.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "net",
            "in": "query",
            "required": true,
            "description": "The net parameter to be used.",
            "schema": {
              "type": "string",
              "default": "available",
              "enum": [
                "eth-mainnet",
                "bsc-mainnet",
                "bsc-testnet",
                "poly",
                "avax-mainnet",
                "avax-testnet",
                "arbi-mainnet",
                "arbi-testnet",
                "gno",
                "optim",
                "base"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "object",
                      "example": {}
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Invalid parameters",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters provided."
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "An unexpected error occurred."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "message": {
            "type": "string",
            "example": "An error occurred."
          }
        }
      }
    }
  }
}