/api/certifychiaveCertificare un hashRegistra l'hash sulla catena. Consuma un credito del tuo account. Se lo stesso hash era già certificato, restituisce il record esistente (already_exists: true) senza consumare nulla.
curl -X POST https://proovik.com/api/certify \
-H "Authorization: Bearer TUA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"description": "Contrato v2.1"
}'
{
"success": true,
"status": "success",
"confirmed": true,
"hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"txid": "b173e1ff…802889",
"explorer_url": "https://explorer.kaspa.org/txs/b173e1ff…802889",
"timestamp": "2026-01-12 20:48:30",
"credit_consumed": true,
"certificate_url": "/api/certificate?hash=e3b0c442…&t=…"
}
Errori: 400 invalid_hash · 401 invalid_api_key · 401 identification_required (senza chiave l'endpoint resta riservato al modulo web) · 429 no_credits · 502 notary_failed (non viene addebitato nulla).