For the complete documentation index, see llms.txt. This page is also available as Markdown.

Types

Types

All types below ship with @trustless-work/escrow. Import them from the package root or from @trustless-work/escrow/types.

import type {
  DeploySingleReleaseEscrowPayload,
  EscrowSummary,
  Roles,
} from "@trustless-work/escrow";

Three buckets

  1. Entities β€” on-chain shapes (roles, milestones, escrow).

  2. Payloads β€” what you send to operate hooks / REST (deploy, fund, release, …).

  3. Reads & responses β€” what Core returns after build, submit, or GET.

Browse by topic

  • Entities β€” Roles, milestones, SingleReleaseEscrow / MultiReleaseEscrow, trustline

  • Payloads β€” Deploy, update, fund, release, dispute, manage milestones

  • Reads & responses β€” EscrowSummary, snapshots, list params, build/send responses

  • Errors β€” ApiProblemDetails and escrow error codes

Core values

Value
Meaning

single-release

One payout for the whole escrow after milestones are done

multi-release

Each milestone can be released on its own

active / released / disputed

Derived status on list/detail rows

Quick map

You want to…
Start with

Deploy an escrow

Payloads β€” DeploySingleReleaseEscrowPayload / DeployMultiReleaseEscrowPayload

Fund / release / dispute

Show a list in the UI

Reads & responses β€” EscrowSummary

Show one escrow

Reads & responses β€” EscrowDetail

Sign & submit

BuildTransactionResponse β†’ wallet β†’ SendTransactionResponse

Handle failures

Errors

Last updated