submit_compliance_attestation
Submete uma attestation LGPD/GDPR on-chain no compliance-registry program (create_attestation legacy path, sem ZK). Server wallet assina como issuer. Para ZK-verified use submit_verified_compliance_attestation.
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": {
"subject": "<subject>"
},
"name": "submit_compliance_attestation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Subject pubkey base58 (empresa/DID controller). | |
| expiresAt | No | Unix timestamp de expiração (opcional). | |
| storageUri | No | URI off-chain pra o documento (DPIA/audit report). Max 128 bytes. | |
| commitmentHex | No | Commitment de 32 bytes (hex, 64 chars). Se omitido, usa sha256(commitmentText). | |
| commitmentText | No | Texto a ser hashed via sha256 pra gerar o commitment. Usar OU commitmentHex OU commitmentText. | |
| schemaIdBase58 | No | Schema ID opcional (Pubkey). Default: PublicKey.default. |