erase_attestation_payload
LGPD Art. 18 right-to-erasure composer. Revokes the attestation on-chain (compliance-registry.revoke_attestation) and returns structured erasure guidance for the off-chain payload based on the storage backend (IPFS → rotate KEK; Shadow Drive → close account; mock → local delete).
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": {
"attestationPda": "<attestationPda>",
"reason": "<reason>",
"eraseBackend": "<eraseBackend>"
},
"name": "erase_attestation_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Motivo da erasure (≤64 bytes). Selado on-chain em revocation_reason. | |
| eraseBackend | Yes | Backend onde o ciphertext vive. Determina a estratégia de erasure off-chain. | |
| storageRefUri | No | URI canônico do blob (ex.: `ipfs://bafy...` ou `shdw://{account}/{filename}`). Preservado no retorno pra auditoria. | |
| attestationPda | Yes | PDA da attestation (base58) a revogar on-chain. | |
| altSignerBase58 | No | Secret key base58 opcional. Se a attestation foi criada com signer ≠ server wallet, passar aqui. Apenas o issuer original pode revogar. |