Events
compliance.freeze.recalled
A compliance officer recalled an earlier compliance freeze event.
A compliance officer recalled an earlier compliance freeze event.
Delivery contract
| Field | Value |
|---|---|
| Event type | compliance.freeze.recalled |
| Version | 1 |
| Lifecycle state | recalled |
| Counter-signed receipt required | true |
| SDK type | Webhook.ComplianceFreezeRecalledV1 |
Related references:
idxr_compliance_statusidxr_token
Payload schema
{
"type": "object",
"properties": {
"tokenAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"chainId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"subjectAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"recalledBy": {
"type": "string"
},
"reasonCode": {
"type": "string"
},
"supersedes": {
"type": "string",
"pattern": "^evt_[a-zA-Z0-9]+$"
}
},
"required": ["tokenAddress", "chainId", "subjectAddress", "recalledBy", "reasonCode", "supersedes"],
"additionalProperties": false
}TypeScript SDK example
import { verifyWebhook, type Webhook } from "@settlemint/dalp-sdk";
const result = verifyWebhook({
rawBody,
headers,
secret: process.env.DALP_WEBHOOK_SECRET!,
});
if (!result.ok) {
throw new Error(`Webhook verification failed: ${result.code}`);
}
if (result.event.type === "compliance.freeze.recalled") {
const event: Webhook.Event<"compliance.freeze.recalled"> = result.event;
console.log(event.payload);
}curl example
curl -X POST https://consumer.example.com/dalp/webhooks \
-H "content-type: application/json" \
-H "webhook-id: evt_docs_compliance_freeze_recalled_001" \
-H "webhook-timestamp: 1778112000" \
-H "webhook-signature: v1,docs-example-signature" \
--data '{"evt_id":"evt_docs_compliance_freeze_recalled_001","type":"compliance.freeze.recalled","version":1,"lifecycle_state":"recalled","supersedes":"evt_docs_original_001","request":{"idempotency_key":"idem_01JZP7R5W8M9N0P1Q2R3S4T5"},"related":{"idxr_compliance_status":"idxr_compliance_status_example","idxr_token":"idxr_token_example"},"payload":{"tokenAddress":"0x3333333333333333333333333333333333333333","chainId":537001,"subjectAddress":"0x4444444444444444444444444444444444444444","recalledBy":"compliance-ops","reasonCode":"manual-review-overturned","supersedes":"evt_recalledFreeze001"}}'Version history
v1: Initial registry entry forcompliance.freeze.recalled.
Deprecation
This event type is not deprecated.
Manifest
The machine-readable AsyncAPI entry is published in the DALP events manifest.