settle/escrow/opened
https://toip.tools/spec/settle/escrow/opened/0.1
After the escrow opens on-chain, the payer announces it with the terms, both acceptances, the escrow address and the opening transaction signature. The payee checks the escrow on-chain, field by field. The attester and the arbiter accept it only if it comes from the payer, carries both acceptances and matches the chain. The processor records it in its transparency log.
- Sent
- payer's party payee's party, attester, arbiter 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:10asESCROW_OPENED- 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 OpenedPayload {
terms: Terms;
acceptances: Acceptance[];
escrow: Address;
transaction: string;
}
Notes
The design says the payer or the processor sends it. In the code only the payer does.
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"id": "urn:uuid:…",
"type": "https://toip.tools/spec/settle/escrow/opened/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…"
}
}