Proof Plan
plan_zkml_costsProof Plan estimates proving compute and onchain verification costs from your own measurements. It checks a per-job latency target and preserves model, input and verification-key hashes. It plans an integration; it does not generate or verify a zero-knowledge proof. No ZK proof generation or cryptographic verification. File hashing verifies bytes only; it is not proof of model correctness. Retrieve proof with fetch or read its example resource to obtain exact inputs. Parameters are processed remotely without application persistence.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"statement": "<statement>",
"modelHash": "<modelHash>",
"inputHash": "<inputHash>",
"verificationKeyHash": "<verificationKeyHash>",
"verifierVersion": "<verifierVersion>",
"jobs": "<jobs>",
"proveSeconds": "<proveSeconds>",
"verifyMs": "<verifyMs>",
"proofBytes": "<proofBytes>",
"gasPerVerify": "<gasPerVerify>",
"gasPriceGwei": "<gasPriceGwei>",
"nativePriceUsd": "<nativePriceUsd>",
"computeHourlyUsd": "<computeHourlyUsd>",
"budgetUsd": "<budgetUsd>",
"latencySlaSeconds": "<latencySlaSeconds>"
},
"name": "plan_zkml_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | Jobs | |
| verifyMs | Yes | Verification time (ms) | |
| budgetUsd | Yes | Budget (USD) | |
| inputHash | Yes | Input Hash (preserve source text; decimal amounts must stay strings) | |
| modelHash | Yes | Model Hash (preserve source text; decimal amounts must stay strings) | |
| statement | Yes | Statement (preserve source text; decimal amounts must stay strings) | |
| proofBytes | Yes | Proof size (bytes) | |
| gasPerVerify | Yes | Gas per verification | |
| gasPriceGwei | Yes | Gas Price Gwei | |
| proveSeconds | Yes | Proving time (seconds) | |
| nativePriceUsd | Yes | Native token price (USD) | |
| verifierVersion | Yes | Verifier Version (preserve source text; decimal amounts must stay strings) | |
| computeHourlyUsd | Yes | Proving compute (USD/hour) | |
| latencySlaSeconds | Yes | Latency target (seconds) | |
| verificationKeyHash | Yes | Verification Key Hash (preserve source text; decimal amounts must stay strings) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | ||
| toolId | Yes | ||
| version | Yes | ||
| citation | Yes | ||
| revision | Yes | ||
| processing | Yes | ||
| limitations | Yes | ||
| evidenceStatus | Yes | ||
| officialReferences | Yes |