register_ccpa_optout
Registra um opt-out CCPA §1798.135 (Califórnia) no ccpa_optout_registry program. 3 kinds: 1=sale, 2=share, 3=sensitive. PDA usa hash do consumidor (não pubkey direta) — ledger sem PII, conforme CCPA §1798.100(c) data minimization.
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": {
"optoutKind": "<optoutKind>",
"viaGpc": "<viaGpc>"
},
"name": "register_ccpa_optout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viaGpc | Yes | Se foi disparado pelo Global Privacy Control signal (Cal. Code Regs. tit. 11 §7025). | |
| consumerId | No | ID opaco do consumidor (NÃO wallet pubkey). Será sha256-hashed. | |
| optoutKind | Yes | 1=sale (§1798.120), 2=share (CPRA cross-context), 3=sensitive (§1798.121). | |
| storageUri | No | URI off-chain pra evidência (form, GPC header). Max 128 bytes. | |
| consumerCommitmentHashHex | No | 32-byte hex do commitment do consumidor (alternativa a consumerId). |