Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 4.62 KB

webhookresponse.md

File metadata and controls

42 lines (37 loc) · 4.62 KB

WebhookResponse

Example Usage

import { WebhookResponse } from "@avalabs/avacloud-sdk/models/components";

let value: WebhookResponse = {
  id: "<id>",
  eventType: "address_activity",
  metadata: {
    addresses: [
      "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    ],
    eventSignatures: [
      "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64",
    ],
  },
  url: "https://thick-jungle.biz",
  chainId: "<id>",
  status: "inactive",
  createdAt: 1293.55,
  name: "<value>",
  description: "ew airmail abaft until against however",
};

Fields

Field Type Required Description
id string ✔️ N/A
eventType components.EventType ✔️ N/A
metadata components.WebhookResponseMetadata ✔️ N/A
includeInternalTxs boolean Whether to include traces in the webhook payload.
includeLogs boolean Whether to include logs in the webhook payload.
url string ✔️ N/A
chainId string ✔️ N/A
status components.WebhookStatusType ✔️ N/A
createdAt number ✔️ N/A
name string ✔️ N/A
description string ✔️ N/A