settle/arbiter/ruling
https://toip.tools/spec/settle/arbiter/ruling/0.1
The arbiter sends its signed ruling on a disputed payment, with the evidence it relied on and its own outcome signature. Each party runs its policy on the ruling and, if the policy allows, signs the same outcome. The processor logs the ruling and counts the arbiter's signature toward the threshold.
- Sent
- arbiter payer's party, payee's party and processor
- Kind
- One-way. No response is expected; any answer is a separate message.
- 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:14asARBITER_RULING- Handled in
projects/settle/src/agents/party.ts,projects/settle/src/agents/roles.ts- Design
- 7. The Trust Tasks in
projects/settle/docs/design.md
Payload
export interface RulingPayload {
ruling: Ruling;
evidence: Evidence;
signature: OutcomeSignature;
}
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"id": "urn:uuid:…",
"type": "https://toip.tools/spec/settle/arbiter/ruling/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…"
}
}