SettleMint
API referenceEvents

trading-venue.order-status.provisional

An order's state changed on the venue engine log. Fills are matched off chain and settle later, so a filled status is not a settled trade.

Delivery contract

FieldValue
Event typetrading-venue.order-status.provisional
Version1
Lifecycle stateprovisional
Counter-signed receiptsNo event-specific advice
SDK typeWebhook.TradingVenueOrderStatusProvisionalV1

The receipt recommendation does not change delivery behavior. DALP waits for a counter-signed receipt only if the webhook endpoint's counterSignedReceipts value is true when DALP queues the delivery. When the value is false, a normal 2xx response completes the delivery.

Related references:

  • marketId
  • orderId

Payload schema

The schema and examples describe the full payload. Thin delivery omits personal data fields. Use the payload-shape guidance to choose the endpoint configuration.

{
  "type": "object",
  "properties": {
    "marketId": {
      "type": "string",
      "minLength": 1
    },
    "orderId": {
      "type": "string",
      "minLength": 1
    },
    "chainId": {
      "type": "integer",
      "exclusiveMinimum": 0
    },
    "makerAddress": {
      "type": "string",
      "minLength": 42,
      "maxLength": 42,
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "A valid Ethereum address (42 characters, starting with 0x)",
      "examples": ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
    },
    "side": {
      "type": "string",
      "enum": ["buy", "sell"]
    },
    "status": {
      "type": "string",
      "enum": [
        "pending_reservation",
        "armed",
        "working",
        "partially_filled",
        "filled",
        "cancelled",
        "expired",
        "rejected",
        "pruned"
      ]
    },
    "closeReason": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "quantity": {
      "type": "string",
      "pattern": "^(?:0|[1-9]\\d*)$"
    },
    "filledQuantity": {
      "type": "string",
      "pattern": "^(?:0|[1-9]\\d*)$"
    },
    "remainingQuantity": {
      "type": "string",
      "pattern": "^(?:0|[1-9]\\d*)$"
    },
    "sequence": {
      "type": "string",
      "pattern": "^(?:0|[1-9]\\d*)$"
    },
    "occurredAt": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$"
    }
  },
  "required": [
    "marketId",
    "orderId",
    "chainId",
    "makerAddress",
    "side",
    "status",
    "closeReason",
    "quantity",
    "filledQuantity",
    "remainingQuantity",
    "sequence",
    "occurredAt"
  ],
  "additionalProperties": true
}

TypeScript SDK example

Use the request's raw body and headers with your endpoint's webhook secret. This handler illustrates verification and event selection. Before writing downstream state, deduplicate deliveries by evt_id and recognize replayed outcomes by their domain identifiers.

const result = await verifyWebhook({
  rawBody,
  headers,
  secret: process.env.DALP_WEBHOOK_SECRET!,
});

if (!result.ok) {
  throw new Error(`Webhook verification failed: ${result.code}`);
}

if (result.event.type === "trading-venue.order-status.provisional") {
  const event: Webhook.Event<"trading-venue.order-status.provisional"> = result.event;
  console.log(event.payload);
}

HTTP delivery example

This illustrative request shows the delivery shape. Its timestamp and signature are placeholders; a verifier rejects them. Use a signed platform delivery to verify your endpoint.

curl -X POST https://consumer.example.com/dalp/webhooks \
  -H "content-type: application/json" \
  -H "webhook-id: evt_7bb94bf7d402764471fa80c5a738ad66" \
  -H "webhook-timestamp: 1778112000" \
  -H "webhook-signature: v1,docs-example-signature" \
  --data '{"evt_id":"evt_7bb94bf7d402764471fa80c5a738ad66","source_id":"example:trading-venue.order-status.provisional@1:0","lifecycle_state":"provisional","payload":{"marketId":"mkt_01J9ZQ4F3K8V2N6T0R5W7Y1B3D","orderId":"ord_01J9ZQ5A2C4E6G8J0L2N4P6R8T","chainId":537001,"makerAddress":"0x8888888888888888888888888888888888888888","side":"buy","status":"partially_filled","closeReason":null,"quantity":"100","filledQuantity":"40","remainingQuantity":"60","sequence":"1842","occurredAt":"2026-09-28T09:15:02.417Z"},"related":{"marketId":"marketId_example","orderId":"orderId_example"},"type":"trading-venue.order-status.provisional","version":1,"request":{"idempotency_key":"idem_01JZP7R5W8M9N0P1Q2R3S4T5"}}'

Version and manifest

This page documents version 1 of trading-venue.order-status.provisional. This event type is not deprecated. The DALP events manifest contains the machine-readable AsyncAPI entry.

On this page