Create a New Webhook

You can create a webhook to receive notifications on different types of on-chain activity.

  1. Log in to the ZAN Node Service Console, Click on Webhook on the left navigation bar.
  2. Click Create New in the upper right corner of the page.

  3. In the pop-up window, fill in the name of the webhook, and then select a contract template required for the webhook subscription.

  4. According to the selected contract template, configure the corresponding parameters.
    • NFT Collection Activity
Configuration ItemsDescription
ChainRequired, currently only supports the Ethereum blockchain.
NetworkRequired, currently only supports the Ethereum blockchain.
Contract AddressRequired, you need to enter the NFT contract address. If the address is correct but not an NFT contract, the system will automatically detect it and prompt you to click Replace template to switch to the Custom Contract Webhooks.
Webhook URLRequired, please configure the URL address of the server for integration with the application, mainly used to receive messages for subscription events.
ActivityAfter configuring a valid contract address, you need to configure the corresponding activity events. You can select the following different types of events for subscription, and you can select multiple or all.
  • mint
  • burn
  • transfer
  • Specific NFT Activity
Configuration ItemsDescription
ChainRequired, currently only supports the Ethereum blockchain.
NetworkRequired, currently only supports the Ethereum blockchain.
Contract AddressRequired, you need to enter the NFT contract address. If the address is correct but not an NFT contract, the system will automatically detect it and prompt you to click Replace template to switch to the Custom Contract Webhooks.
Webhook URLRequired, please configure the URL address of the server for integration with the application, mainly used to receive messages for subscription events.
Token IDRequired, supports both single and batch addition methods, and added items can be deleted during the process.
  • Single addition: Click the Add button below and enter a single Token ID in the input box.
  • Batch fill in: Click on "Batch fill in" on the right side, and in the input box, you can enter multiple Token IDs. For each entry, click the "Add" button in the small pop-up box to confirm.
ActivityAfter configuring a valid contract address, you need to configure the corresponding activity events. You can select the following different types of events for subscription, and you can select multiple or all.
  • mint
  • burn
  • transfer
  • Token Activity
Configuration ItemsDescription
ChainRequired, currently only supports the Ethereum blockchain.
NetworkRequired, currently only supports the Ethereum blockchain.
Contract AddressRequired, you need to enter the Token contract address. If the address is correct but not an Token contract, the system will automatically detect it and prompt you to click Replace template to switch to the Custom Contract Webhooks.
Webhook URLRequired, please configure the URL address of the server for integration with the application, mainly used to receive messages for subscription events.
ActivityAfter configuring a valid contract address, you need to configure the corresponding activity events. You can select the following different types of events for subscription, and you can select multiple or all.
  • mint
  • burn
  • transfer
  • Address Activity
Configuration ItemsDescription
ChainRequired, currently only supports the Ethereum blockchain.
NetworkRequired, currently only supports the Ethereum blockchain.
Webhook URLRequired, please configure the URL address of the server for integration with the application, mainly used to receive messages for subscription events.
AddressRequired, supports both single and batch addition methods, and added items can be deleted during the process.
  • Single addition: Click the Add button below and enter a single address in the input box.
  • Batch fill in: Click on "Batch fill in" on the right side, and in the input box, you can enter multiple addresses. For each entry, click the "Add" button in the small pop-up box to confirm.
ActivityAfter configuring a valid contract address, you need to configure the corresponding activity events. You can select the following different types of events for subscription, and you can select multiple or all.
  • native_coin: native coin transactions
  • any_token: any token( ERC20, ERC721, ERC1155)
  • Custom Contract Webhooks
Configuration ItemsDescription
ChainRequired, currently only supports the Ethereum blockchain.
NetworkRequired, currently only supports the Ethereum blockchain.
Contract AddressRequired, after entering the correct contract address, obtain the ABI file corresponding to the contract address by clicking on Upload ABI or Get ABI method.
  • If the contract ABI file has not been published on the blockchain browser, click on Upload ABI" to manually upload the ABI file of the contract.
  • If the contract ABI file has been published on the blockchain browser, click on Get ABI and the platform will automatically retrieve the ABI file of the contract.

Webhook URLRequired, please configure the URL address of the server for integration with the application, mainly used to receive messages for subscription events.
ActivityAfter successfully acquiring the contract ABI file, the platform supports subscribing to all methods with event type in the contract, allowing multiple or full selection.
  1. After completing the configuration, click Confirm, and your webhook appears in the list.


    📘

    Note:

    You can manage this subscription. For details, see Manage webhooks below.