Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Compliance

Verify the audit log's hash chain

GET/v1/audit_log/verify

Key scope: read

Every row GET /v1/audit_log reads is sealed, in order, into a hash chain (SHA-256 over each row and the previous seal). This call seals any new rows, then recomputes every seal, per log: writes (your keys' writes) and operator (SET's operator console for you).

Query parameters

log "writes" | "operator"
Verify one log only.
fromSeal integer
With log: continue from an earlier answer's nextFromSeal.

Notes

  • Keep head.hash. If a later answer's chain does not pass through it, the past was rewritten.
  • firstBroken names the seal, the row and the reason (changed, removed, added or chain) when a row no longer matches.
  • A log with more than 20,000 rows answers complete: false and nextFromSeal; call again with log and fromSeal.

Errors

  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.