Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer/webhooks / TestEvent

Type Alias: TestEvent

type TestEvent = {
  appId: string;
  data: {
     message: string;
  };
  event: "test";
  uid: string;
  version: 1;
  webhookId: string;
};

Defined in: packages/sdk/src/indexer/webhooks/schemas/test.ts:40

An event sent to webhook when a test event is triggered.

Type declaration

appId

appId: string;

App ID

data

data: {
  message: string;
};

Data of the event

data.message

message: string;

Message

event

event: "test";

Event type

uid

uid: string;

Unique identifier for the event. You can use it to deduplicate events. In case of retry attempts the id is the same.

version

version: 1;

Version of the event

webhookId

webhookId: string;

Webhook ID