Skip to main content

NFT Activity Webhook

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

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

Usage

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

new NFTActivityWebhook(this, "NFTActivityExample", {
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",
alchemyTokenId: "99999",
alchemyWebhookName: "MyNFTActivityWebhook"
});

Props

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