SettleMint
Events

access-control.role-revoked.provisional

A role was revoked on the access-control manager; the revocation is provisional until the indexer reaches the configured reorg depth.

A role was revoked on the access-control manager; the revocation is provisional until the indexer reaches the configured reorg depth.

Delivery contract

FieldValue
Event typeaccess-control.role-revoked.provisional
Version1
Lifecycle stateprovisional
Counter-signed receiptsNo event-specific advice
SDK typeWebhook.AccessControlRoleRevokedProvisionalV1

This row gives advice only. 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:

  • idxr_access_control_role_member

When to consume this event

Consume access-control.role-revoked.provisional when your integration needs early notice that an account lost a role on an access-control manager. DALP emits the event from the indexed RoleRevoked log while the observation is still within the configured reorg depth. Use that provisional signal to stage downstream permission changes rather than to close a final audit record.

Store evt_id, request.idempotency_key when present, and the on-chain identifiers from the payload before you update a downstream authorization cache or review queue. Your consumer must handle retries for the same event and any later lifecycle outcome for the same on-chain observation.

The payload identifies the access manager, account, role, sender, owning system, chain, block, and transaction. Treat accountAddress, sender, and roleId as access-control data that can affect authorization decisions in connected systems.

See webhook idempotency and on-chain outcome for retry, replay, payload-shape, and provisional-event handling.

Payload fields

FieldTypeMeaning
accessManagerAddressEVM addressAccess-control manager contract that emitted the role-revocation log.
accountAddressEVM addressAccount whose role membership changed.
blockNumberStringBlock number for the indexed log.
chainIdIntegerEVM chain identifier for the indexed log.
roleIdStringRole identifier revoked from the account.
senderEVM addressAddress recorded by the contract as the revocation sender.
systemAddressEVM addressOwning system resolved for the indexed access-control manager.
transactionHash32-byte EVM hashTransaction that contained the role-revocation log.

Payload schema

{
  "type": "object",
  "properties": {
    "accessManagerAddress": {
      "type": "string"
    },
    "accountAddress": {
      "type": "string"
    },
    "blockNumber": {
      "type": "string"
    },
    "chainId": {
      "type": "integer",
      "exclusiveMinimum": 0
    },
    "roleId": {
      "type": "string"
    },
    "sender": {
      "type": "string"
    },
    "systemAddress": {
      "type": "string"
    },
    "transactionHash": {
      "type": "string"
    }
  },
  "required": [
    "accessManagerAddress",
    "accountAddress",
    "blockNumber",
    "chainId",
    "roleId",
    "sender",
    "systemAddress",
    "transactionHash"
  ],
  "additionalProperties": false
}

TypeScript SDK example

import { verifyWebhook } from "@settlemint/dalp-sdk/verify-webhook";
import type { Webhook } from "@settlemint/dalp-sdk";

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 === "access-control.role-revoked.provisional") {
  const event: Webhook.Event<"access-control.role-revoked.provisional"> = 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_9e21f938d0e29c40f6198130687824c9" \
  -H "webhook-timestamp: 1778112000" \
  -H "webhook-signature: v1,docs-example-signature" \
  --data '{"evt_id":"evt_9e21f938d0e29c40f6198130687824c9","lifecycle_state":"provisional","payload":{"accessManagerAddress":"0x1111111111111111111111111111111111111111","accountAddress":"0x2222222222222222222222222222222222222222","blockNumber":"18445201","chainId":537001,"roleId":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","sender":"0x3333333333333333333333333333333333333333","systemAddress":"0x4444444444444444444444444444444444444444","transactionHash":"0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"},"related":{"idxr_access_control_role_member":"idxr_access_control_role_member_example"},"type":"access-control.role-revoked.provisional","version":1,"request":{"idempotency_key":"idem_01JZP7R5W8M9N0P1Q2R3S4T5"}}'

Version history

  • v1: Initial registry entry for access-control.role-revoked.provisional.

Deprecation

This event type is not deprecated.

Manifest

The machine-readable AsyncAPI entry is published in the DALP events manifest.

On this page