popcorn_verify_v2
Verify TAIN 2.0 evidence against keys fetched from the fixed POPCORN issuer URL. Caller jwks is replaced with published keys, including predecessors. Send a digest, never private work. Free; does not grant authority, establish current time, or verify settlement on chain.
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": {
"response": "<response>",
"jwks": "<jwks>",
"expected_nonce": "<expected_nonce>",
"expected_payload_digest": "<expected_payload_digest>"
},
"name": "popcorn_verify_v2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwks | Yes | Accepted to match the call shape. The check replaces it with the published keys fetched from the fixed POPCORN issuer address. | |
| response | Yes | The TAIN 2.0 receipt response to verify. Send a digest, never private work. | |
| expected_nonce | Yes | The nonce the receipt must carry. | |
| expected_node_id | No | Optional. The node id the receipt must carry. | |
| previous_receipt | No | Optional. A previous receipt to check this one against. | |
| expected_payload_digest | Yes | The payload digest the receipt must carry. | |
| max_clock_accuracy_radius_ms | No | Optional. The largest clock accuracy radius, in milliseconds, the check accepts. |