Skip to main content

Address Activity Webhook

Allows you to setup Address Activity Alchemy Webhook with help of AWS CDK.

Alchemy Documentation About This Webhook Type: https://docs.alchemy.com/reference/address-activity-webhook

Usage

import { AddressActivityWebhook, AlchemyCredential } from "@kovi-soft/cdk-alchemy-webhooks";

new AddressActivityWebhook(this, "AddressActivityExample", {
alchemyApiKey: AlchemyCredential.fromPlainText("<your-alchemy-api-key>"),
alchemyNetwork: "eth-mainnet",
alchemyAuthToken: AlchemyCredential.fromPlainText("<your-alchemy-auth-token>"),
alchemyWebhookDestinationUrl: "https://my-domain.com/destination-to-my-server",
alchemyContractAddress: "0x026224A2940bFE258D0dbE947919B62fE321F042",
alchemyWebhookName: "MyAddressActivityWebhook"
});

Props

PropTypeRequiredDescription
alchemyApiKeystring | IAlchemyCredentialYesAlchemy API key
alchemyNetworkNetwork | stringYesTarget blockchain network
alchemyAuthTokenstring | IAlchemyCredentialYesAlchemy auth token
alchemyWebhookDestinationUrlstringYesURL to receive webhook events
alchemyContractAddressstringNoContract address to monitor
alchemyWebhookNamestringNoOptional name for the webhook