request_smart_contract_audit
Request a security audit for smart contracts to identify vulnerabilities and ensure code integrity before deployment on blockchain networks.
Instructions
Request comprehensive smart contract security audit.
Args: contract_address: Contract to audit chain: Blockchain network scope: Audit scope. Options: quick, standard, full
Returns: Audit request confirmation and estimated delivery time.
Price: $1000 (full audit)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_address | Yes | ||
| chain | No | ethereum | |
| scope | No | full |
Implementation Reference
- coinrailz_mcp/__init__.py:947-968 (handler)The 'request_smart_contract_audit' function serves as the handler for the MCP tool. It is registered using the @mcp.tool() decorator and invokes a central 'call_coinrailz_service' function.
@mcp.tool() async def request_smart_contract_audit(contract_address: str, chain: str = "ethereum", scope: str = "full") -> str: """ Request comprehensive smart contract security audit. Args: contract_address: Contract to audit chain: Blockchain network scope: Audit scope. Options: quick, standard, full Returns: Audit request confirmation and estimated delivery time. Price: $1000 (full audit) """ payload = { "contractAddress": contract_address, "chain": chain, "scope": scope } result = await call_coinrailz_service("service/smart-contract-audit", payload) return json.dumps(result, indent=2)