popcorn_witness
Witness a SHA-256 digest and fresh caller nonce at a time. Defaults to a free unpaid 402 challenge. One fresh receipt costs exactly $0.001 USDC on Base; requires owner approval, approve_payment:true, and caller-signed payment_signature. Keep work and wallet keys local. No automatic retry. Evidence does not authorize or prove execution of an action.
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": {
"digest": "<digest>",
"nonce": "<nonce>"
},
"name": "popcorn_witness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | A fresh caller nonce: 43 characters, letters, digits, dash and underscore. | |
| digest | Yes | The SHA-256 digest to witness, in the 43 character form the schema pattern shows. | |
| approve_payment | No | Set to true to approve paying exactly $0.001 USDC on Base for this single call. Requires payment_signature. | |
| payment_signature | No | Caller-signed x402 PAYMENT-SIGNATURE. Never send a wallet private key. Requires approve_payment:true for this single call. | |
| previous_attestation_digest | No | Optional. The digest of the previous attestation to chain from, or null. |