import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.webhooks.update({
id: "f33de69c-d13b-4691-908f-870d6e2e6b04",
updateWebhookRequest: {},
});
console.log(result);
}
run();{
"id": "<string>",
"url": "<string>",
"chainId": "<string>",
"status": "active",
"createdAt": 123,
"name": "<string>",
"description": "<string>",
"eventType": "address_activity",
"metadata": {
"addresses": [
"<string>"
],
"eventSignatures": [
"<string>"
]
},
"includeInternalTxs": true,
"includeLogs": true
}Updates an existing webhook.
import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.webhooks.update({
id: "f33de69c-d13b-4691-908f-870d6e2e6b04",
updateWebhookRequest: {},
});
console.log(result);
}
run();{
"id": "<string>",
"url": "<string>",
"chainId": "<string>",
"status": "active",
"createdAt": 123,
"name": "<string>",
"description": "<string>",
"eventType": "address_activity",
"metadata": {
"addresses": [
"<string>"
],
"eventSignatures": [
"<string>"
]
},
"includeInternalTxs": true,
"includeLogs": true
}Documentation Index
Fetch the complete documentation index at: https://developers.avacloud.io/llms.txt
Use this file to discover all available pages before exploring further.
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
The webhook identifier.
Successful response
active, inactive address_activity Show child attributes
Whether to include traces in the webhook payload.
Whether to include logs in the webhook payload.
Was this page helpful?