Quote an audit
quote_auditPrice an audit without charging anything. Returns price_cents and whether the balance covers it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Source files. path is relative (e.g. src/Vault.sol); imported files must be included too. | |
| product | Yes | deep_review: AI security review on top of the analysis tools (Solidity or DAML). tools: static analysis tools only (Solidity), cheaper and faster. | |
| language | No | Source language: solidity for EVM contracts, daml for Canton/DAML packages. | solidity |
| project_name | Yes | Project or company name shown on the report. | |
| audit_targets | No | Optional: which files to audit and bill for. Default: every file sent. Imports are free. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | deep_review or tools. | |
| affordable | Yes | Whether the balance covers price_cents. | |
| price_cents | Yes | What submit_audit would charge; pass it as max_price_cents. | |
| audit_targets | Yes | The files audited and billed. | |
| balance_cents | Yes | Current prepaid balance in US cents. | |
| contract_count | Yes | Number of files audited and billed. | |
| discount_percent | Yes | Account discount applied, 0 if none. | |
| list_price_cents | Yes | Price before any account discount. |