Three products send the events on this page: token sales (selling tokens to investors), trading venues (matching orders and settling trades on chain), and XvP settlements (exchanging assets between parties). Each table lists the event's lifecycle state, trigger, and recommended receiver action.
The event catalogue lists all other domains and reserved names. Payload fields, schemas, and examples live in the machine-readable event definitions and in the Webhook types of @settlemint/dalp-sdk.
In a State cell, beta is an event-contract maturity label. It is not a value of the envelope's lifecycle_state field. New endpoints use thin payloads, which omit personal data fields such as accountAddress. If your receiver needs an address field, configure fat payloads and acknowledge the required fields before the platform records those events: a replay resends the stored payload and cannot restore a field a thin event left out. Before using payload fields describes the change.
Primary market
Primary market events report the life of a token sale, and the platform sends each one after the block that holds its chain log reaches chain finality. Every event names the sale in saleAddress. An amount is an integer in base units, the smallest unit of its token or currency, so apply the asset's decimals before you show it.
Trading venue
A trading venue matches orders off chain, settles each trade on chain, and delivers assets when the instrument's holding period ends. A bust is an approved reversal of a trade.
A provisional event reports matched activity that has not settled, while trading- and trading- arrive with state final after chain finality. trading- and trading- fire when the settlement transaction confirms without waiting for chain finality, and only a bust retracts them.
The status of a trading- event is the engine status the order holds after the change: pending_reservation, armed, working, partially_filled or suspended while the order can still execute, and filled, cancelled, expired, rejected or pruned once it cannot. closeReason carries the engine's reason for a closed order.
To reconcile these events with the venue's FIX drop copy, match them on the identifiers both feeds carry. The sequence of a trading- event is the log sequence in the ExecID, tag 17, of the drop-copy reports for the same entry. That ExecID has the form <market. The event's occurredAt equals the reports' TransactTime, tag 60. For trading-, tradeId equals the TrdMatchID, tag 880, of the two fill reports, and executedAt equals their TransactTime.
XvP settlement
XvP stands for exchange-versus-payment. An XvP settlement is a contract that exchanges assets between parties in transfers called legs, where each sending participant approves and locks its assets in escrow. A settlement with a cross-chain leg also carries a hashlock that blocks execution until its secret is revealed.
Every event includes settlementAddress. The platform emits each event once its block reaches chain finality, only to endpoints on the System (the organisation's on-chain DALP deployment) that owns the settlement's factory.
Related
- Event catalogue: the events of every other domain, and the reserved names.
- Subscriptions: the patterns that select events, and the events the default subscriptions skip.
- Lifecycle states: what each state means, with worked sequences.
- Consuming webhooks: identifiers, deduplication, ordering, retries and retractions.