toip.tools

settle/processor/log

https://toip.tools/spec/settle/processor/log/0.1

Anyone can ask the processor for its transparency log. The reply holds every entry (openings, signatures, disputes, rulings, holds and settlements, recorded as roles and hashes) and the processor's signed head.

Sent
anyone processor
Kind
Request and response. The response's type is https://toip.tools/spec/settle/processor/log/0.1#response.
Envelope
Signed by the issuer, addressed to one recipient, timestamped, and encrypted in a TSP Direct message. The signature and recipient binding prevent its use as a bearer token.
Defined in
projects/settle/src/protocol/specs.ts:22 as PROCESSOR_LOG
Handled in
projects/settle/src/agents/roles.ts
Design
9. Arbitration, transparency, privacy in projects/settle/docs/design.md

Source documentation: “Request/response: the processor's transparency log.”

Payload

TypeScriptAs the handler declares it, in projects/settle/src/agents/roles.ts
Record<string, never>

Response payload

TypeScriptAs the handler declares it, in projects/settle/src/agents/roles.ts
{ entries: LogEntry[]; head: LogHead }

Types it uses

TypeScriptprojects/settle/src/protocol/log.ts:11
export interface LogEntry {
  seq: number;
  at: string;
  kind: "opened" | "signature" | "dispute" | "ruling" | "hold" | "settled";
  termsHash: string;
  detail: Record<string, unknown>;
  prev: string;
  hash: string;
}
TypeScriptprojects/settle/src/protocol/log.ts:21
export interface LogHead {
  type: "settle/log-head";
  issuer: string;
  size: number;
  head: string;
  at: string;
  proof?: unknown;
}

Notes

The demo and tests send it. The web app reads the same log over HTTP at /api/log.

Document envelope

Every Trust Task uses this envelope. Replace payload with the structure shown above.

JSONShape of a document of this type
{
  "id": "urn:uuid:…",
  "type": "https://toip.tools/spec/settle/processor/log/0.1",
  "issuer": "did:key:… (the sender)",
  "recipient": "did:key:… (the receiver)",
  "issuedAt": "2026-11-06T18:00:00.000Z",
  "payload": { … },
  "proof": {
    "type": "DataIntegrityProof",
    "cryptosuite": "eddsa-jcs-2022",
    "verificationMethod": "did:key:…#…",
    "proofPurpose": "assertionMethod",
    "proofValue": "z…"
  }
}