generate_zk_compliance_proof
Generate a zero-knowledge compliance proof to shield exact mine coordinates and unit costs while proving concession validity and China content below 0.1%.
Instructions
Generates a zero-knowledge compliance proof that shields exact extraction coordinates and unit production costs while mathematically proving concession validity and China content < 0.1%. Returns structured JSON verdict, audit metadata, and cryptographic reference. Requires x402 USDC payment (Polygon/Base/Arbitrum/Solana) or Pre-Funded Agent Vault key after 1 free One-Shot Proof.
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": {
"batch_id": "<batch_id>",
"mineral_type": "<mineral_type>",
"secret_mine_latitude": "<secret_mine_latitude>",
"secret_mine_longitude": "<secret_mine_longitude>",
"secret_supplier_id": "<secret_supplier_id>",
"secret_unit_cost_usd": "<secret_unit_cost_usd>",
"public_china_origin_ratio": "<public_china_origin_ratio>",
"public_carbon_intensity_kg_co2": "<public_carbon_intensity_kg_co2>"
},
"name": "generate_zk_compliance_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | Unique mineral batch identifier to bind to the zero-knowledge compliance proof. | |
| mineral_type | Yes | Critical mineral commodity type (e.g. LITHIUM_HYDROXIDE, NICKEL_MHP, COBALT_HYDROXIDE). | |
| secret_supplier_id | Yes | Confidential supplier identifier hashed into the private ZK witness. | |
| secret_mine_latitude | Yes | Confidential mine latitude kept private inside the ZK witness (-90 to 90). | |
| secret_unit_cost_usd | Yes | Confidential unit procurement price in USD per metric ton kept private. | |
| secret_mine_longitude | Yes | Confidential mine longitude kept private inside the ZK witness (-180 to 180). | |
| public_china_origin_ratio | Yes | Publicly disclosed China/FEOC origin share ratio (0.0 to 1.0) proven below statutory threshold. | |
| public_carbon_intensity_kg_co2 | Yes | Publicly disclosed carbon footprint intensity in kg CO2e per kg of mineral. |