# settle/escrow/hold

https://toip.tools/spec/settle/escrow/hold/0.1

On a dispute, the arbiter signs a hold that pushes back the escrow's reclaim deadline, so the payer can't wait out the deadline before a ruling. The processor checks the arbiter's signature against the escrow's arbiter key and submits the hold on-chain.

- **Sent**: arbiter → 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:17`](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/settle/src/protocol/specs.ts#L17) as `ESCROW_HOLD`
- **Handled in**: [`projects/settle/src/agents/roles.ts`](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/settle/src/agents/roles.ts)
- **Design**: [16. Security review and escrow program v2 (2026-11-06)](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/settle/docs/design.md#16-security-review-and-escrow-program-v2-2026-11-06) in `projects/settle/docs/design.md`

Source documentation: “The arbiter's signed hold, so a disputed escrow can't be reclaimed before a ruling (sent to the processor to submit).”

## Payload

projects/settle/src/agents/messages.ts:46:

```ts
export interface HoldPayload {
  escrow: Address;
  until: string;
  signature: string;
}
```

## Notes

Added by the security review. The table in design section 7 doesn't list it.

## Document envelope

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

Shape of a document of this type:

```json
{
  "id": "urn:uuid:…",
  "type": "https://toip.tools/spec/settle/escrow/hold/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…"
  }
}
```

---

This is the Markdown version of https://toip.tools/spec/settle/escrow/hold/0.1/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
