# AI Audits

Welcome to [**Audit.Paal**](https://audit.paal.ai), the platform for automated smart contract security analysis. Audit.Paal supports multiple blockchain networks, providing security scores and insights for Ethereum, BSC, Base, Polygon, and Solana contracts. Below is a detailed guide for users and API integrations.

<figure><img src="/files/EEcI6tqXNdjmcdzmLL4g" alt=""><figcaption></figcaption></figure>

***

### **Platform Features**

#### **Dashboard**

* **Purpose**: Provides a central overview of token audits.
* **Features**:
  * Select networks: Ethereum, BSC, Base, and Polygon.
  * Input fields for token name and contract address to generate audits.
  * Recent audit history displayed below for quick access.

***

#### **Audit History**

* **Purpose**: View completed and pending audits.
* **Features**:
  * **Completed Audits**:
    * Displays token name, network, and security score.
    * Option to download audit reports or view detailed results.
  * **Pending Audits**:
    * Displays tokens with audits in progress.
    * Allows users to track status updates.

***

#### **Solana Audits**

* **Purpose**: Generate audits specifically for Solana contracts.
* **Features**:
  * Input token address to initiate an audit.
  * Results provide comprehensive analysis of Solana contracts.

***

#### **Profile and Credits**

* **Purpose**: Manage user profile and available credits.
* **Features**:
  * **Buy Credits**: Purchase credits for generating audits.
  * Display of available credit balance for easy tracking.

***

### **API Documentation**

For developers, Audit.Paal provides an API for seamless integration into workflows. Below are the key API endpoints:

#### **Getting Started**

* **Purpose**: Submit a smart contract for automated security analysis.
* **Endpoint**:

  ```arduino
  arduinoCopy codePOST http://44.216.8.86:3001/api/generate-audit
  ```
* **Payload Example**:

  ```json
  jsonCopy code{
    "token_name": "<Token Name>",
    "token_address": "0xdA00000000000000000000000000000000000",
    "chain_of_support": "ethereum",
    "api_key": "845902c1-1234-5678-9011-db31d872asda"
  }
  ```

#### **Audit Status**

* **Purpose**: Check the status of a previously requested audit.
* **Endpoint**:

  ```arduino
  arduinoCopy codePOST http://44.216.8.86:3001/api/audit-status
  ```
* **Payload Example**:

  ```json
  jsonCopy code{
    "token_address": "0xdA00000000000000000000000000000000000",
    "api_key": "845902c1-1234-5678-9011-db31d872asda"
  }
  ```

#### **Solana Audits**

* **Purpose**: Generate audits for Solana smart contracts.
* **Endpoint**:

  ```arduino
  arduinoCopy codePOST http://44.216.8.86:3001/api/solana-audit
  ```
* **Payload Example**:

  ```json
  jsonCopy code{
    "token_address": "0xdA00000000000000000000000000000000000",
    "api_key": "845902c1-1234-5678-9011-db31d872asda"
  }
  ```

***

### **How to Use Audit.Paal**

1. **Dashboard**:
   * Select the desired network (Ethereum, BSC, Base, Polygon).
   * Enter the token name and contract address.
   * Click "Check" to initiate an audit.
2. **Audit History**:
   * Navigate to the **Audit** section to view completed and pending audits.
   * Download or review detailed security scores and reports.
3. **Solana Audits**:
   * Use the **Solana Audits** tab to input the token address and generate a security analysis.
4. **Manage Credits**:
   * View your credit balance on the sidebar and purchase more credits as needed.

***

### **Key Benefits**

* **Multi-Network Support**: Analyze contracts across Ethereum, BSC, Base, Polygon, and Solana.
* **Comprehensive Reports**: Access detailed security scores and potential vulnerabilities.
* **Developer-Friendly APIs**: Seamless integration for automated auditing.

***

### **Learn More**

For detailed API documentation, visit:\
[**Audit API Docs**](https://audit.paal.ai/api-docs)

Start securing your smart contracts today with Audit.Paal! Let me know if you'd like to add more details or refinements.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paal.ai/features/products/ai-audits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
