How do I create a webhook?

With webhooks in AvaCloud, you can monitor real-time events on the Avalanche C-chain. For example, you can monitor smart contract events, track NFT transfers, and observe wallet-to-wallet transactions.

Log into AvaCloud and navigate to the Glacier tab.

Under the Webhooks section, click the “Create a Webhook” button.

If you haven’t connected your wallet yet, you may encounter a modal like the one below. Click "Connect Wallet" and follow the steps to download the Core extension and connect your wallet.

Note: If you’re downloading the Core extension for the first time, you may need to refresh AvaCloud before attempting to connect again.

On the Create Webhook modal, enter your webhook details.

  • Select which network and chain (e.g. Mainnet, Avalache C-chain).
  • The URL field is for the recipient where the data should be sent to. If you don't have an application yet that can listen for events, you can use a website like webhook.site to generate a unique URL and capture the activities of your webhook.
  • For the address field, enter the address(es) you'd like to monitor. You can add multiple by separating each with a comma.
  • Enter a name and description to help identify your webhook.
  • You can optionally include internal transactions and logs with each request if they’re available for the type of activity.

In the example below, the webhook has been filled out to monitor the address for the USDC contract on Avalanche Mainnet C-chain, which is 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E

Click the "Create" button to submit your new webhook, which will now appear on the main dashboard.

Navigate to the specified URL (e.g. webhook.site URL) and watch for new requests to come through. 

Note: If you don't see any requests, it's possible that there hasn't been any activity yet for the address(es) on the webhook. 

If you'd like to manage your webhook, such as edit or deactivate it, click on the menu icon to the right side of the corresponding webhook to view options.