register_popia_io
Registra um Information Officer formal no popia_info_officer_registry program (POPIA §55, África do Sul). Server wallet assina como Responsible Party. Retorna tx signature + appointment PDA. Para produção use SDK; tool é pra validação dev/devnet.
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": {
"informationOfficer": "<informationOfficer>",
"contactHashHex": "<contactHashHex>"
},
"name": "register_popia_io"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storageUri | No | URI off-chain pra evidência da nomeação. Max 128 bytes. | |
| contactHashHex | Yes | sha256 hex (32 bytes) dos contatos do IO — kept off-chain for POPIA Condition 4 minimization. | |
| organizationId | No | ID da organização (e.g., CIPC company number). Será sha256-hashed on-chain. | |
| informationOfficer | Yes | Pubkey do Information Officer (base58). | |
| organizationIdHashHex | No | 32-byte hash hex da organização (alternativa a organizationId). |