Parties
A party represents an entity in a settlement with a specific role. Party details are provided inline when creating a settlement - there is no separate registration step.Party fields
| Field | Description |
|---|---|
role | The party’s role in the settlement (e.g. buyer, seller, lender, borrower) |
external_reference | Your platform’s identifier for this entity (e.g. user ID, account number) |
name | Optional display name for the entity |
wallet_address | The blockchain wallet used for on-chain operations |
chain_id | Blockchain network ID (optional) |
asset_provider | Optional custody provider override |
status | confirmed or pending_confirmation (cross-platform) |
Roles
Roles are defined by the template’srequired_roles field. Every settlement must include parties covering all required roles. Role names are flexible - the template defines what roles are needed.
Common role patterns:
- DvP:
buyer,seller - Repo:
cash_provider,securities_provider - Lending:
lender,borrower
Example: providing parties at settlement creation
Cross-platform parties
In cross-platform settlements, counterparty parties start as placeholders. The initiating platform specifies the counterparty by platform slug:external_reference, wallet_address, etc.) when they confirm. See Cross-Platform Settlements for the full flow.
Legs
A leg represents a single obligation within a settlement - something that needs to move from one party to another.Leg fields
| Field | Description |
|---|---|
leg_type | Type of obligation: asset, payment, collateral, fee |
instrument_id | What is being transferred (token address, currency code) |
quantity | How much |
direction | deliver or receive from the party_role’s perspective |
party_role | Which party owns this obligation |
chain_id | Blockchain network (optional) |
token_standard | Token standard like ERC-20 (optional) |
status | Current status: pending, locked, released, rolled_back |
external_reference | Optional reference for this leg (e.g. trade ID) |
How legs relate to parties
Legs reference parties by role, not by ID. This means:seller delivers 100 units of token 0xTokenAddress.”
Multiple legs
A settlement can have any number of legs. The template’srequired_leg_types ensures the minimum set is present:
| Settlement Type | Typical Legs |
|---|---|
| DvP | 1 asset leg + 1 payment leg |
| Repo | Securities + cash + return leg |
| Lending | Securities + collateral + fee |
| Netting | N legs across multiple parties |