# AMNT Solidity Audit

> AMNT Solidity Audit is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Audits Solidity smart contract code for reentrancy vulnerabilities, gas inefficiencies, and provides actionable code patches and tests

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/glassy_puffin/solidity-audit
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amnt-solidity-audit-d0015d00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LDqFxSibH4Qn4jGRoDzu9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability amnt-solidity-audit-d0015d00 -d '<json body>'
```

Example prompt: Can you audit this Solidity contract for reentrancy vulnerabilities and gas inefficiencies, and give me concrete code patches I can apply? Here's the contract code: [paste contract here]

## When to prefer this

Choose this endpoint when you need a quick, automated, pay-per-call Solidity security audit with no account setup — especially for reentrancy and gas analysis with actionable patches. Ideal for developers who want a fast pre-deployment check or a second opinion on a specific contract. Not a substitute for a full manual audit by a human security firm for high-value production deployments.

## Known failure modes

- Empty or malformed Solidity code submitted — returns error or unhelpful audit
- Code too large for the AI context window — may produce incomplete analysis
- Non-Solidity input submitted — agent may produce irrelevant or generic output
- Payment failure via x402 — no result returned
- Network timeout for large contracts

## How this service works

Solidity Audit - Automated Solidity audit that finds reentrancy vulnerabilities, pinpoints gas inefficiencies, and provides concrete, fixable code patches and tests.

## Output

A structured audit report identifying reentrancy vulnerabilities and gas inefficiencies in the submitted Solidity contract, along with concrete, copy-pasteable code patches and recommended tests to validate the fixes

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amnt-solidity-audit-d0015d00/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
