# Webhooks — Hanzo AI

> Real-time blockchain webhooks for on-chain events. Subscribe to token transfers, smart contract events, and wallet transactions reliably.

Real-time blockchain event notifications

Get instant notifications for on-chain events. Subscribe to transfers, contract events, address activity, and more with reliable webhook delivery.

[Try Hanzo](https://hanzo.ai/signup)[View Documentation](https://docs.hanzo.ai/)

Available Now[Back to Web3 Overview](https://hanzo.ai/blockchain)

## Key Capabilities

Everything you need, nothing you don't.

- ### Event Subscriptions
  
  Subscribe to transfers, logs, contract events, and more.
  
- ### Instant Delivery
  
  Sub-second event detection and webhook dispatch.
  
- ### Signed Payloads
  
  HMAC signatures for webhook authenticity verification.
  
- ### Automatic Retries
  
  Failed deliveries retry with exponential backoff.
  
- ### Multi-chain
  
  Monitor events across all supported networks.
  
- ### Filters & Conditions
  
  Fine-grained filtering by address, topic, or value.
  
- ### Event History
  
  Query and replay past webhook deliveries.
  
- ### Block Confirmations
  
  Configure confirmation count for finality.
  
- ### Delivery Analytics
  
  Monitor success rates and latency metrics.
  

## Simple to Integrate

Get started with just a few lines of code. SDKs for every language.

WebhookTrigger.sol

```
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
 
import "@hanzo/webhooks/IHanzoWebhooks.sol";
 
/// @title WebhookTrigger - Emit events for webhook notifications
/// @notice Structured events for reliable webhook delivery
contract WebhookTrigger {
    // Events optimized for webhook subscriptions
    event PaymentReceived(
        address indexed from,
        address indexed token,
        uint256 amount,
        bytes32 indexed orderId,
        uint256 timestamp
    );
 
    event LiquidationAlert(
        address indexed user,
        address indexed market,
        uint256 collateralValue,
        uint256 debtValue,
        uint256 indexed blockNumber
    );
 
    event NFTActivity(
        address indexed collection,
        uint256 indexed tokenId,
        address from,
        address to,
        uint256 price,
        string activityType // "sale", "bid", "transfer"
    );
 
    event SecurityAlert(
        address indexed target,
        bytes32 indexed alertType,
        address triggeredBy,
        bytes data
    );
 
    // Emit payment for webhook notification
    function emitPayment(
        address token,
        uint256 amount,
        bytes32 orderId
    ) external {
        emit PaymentReceived(msg.sender, token, amount, orderId, block.timestamp);
    }
 
    // Emit liquidation alert for DeFi monitoring
    function emitLiquidationAlert(
        address user,
        address market,
        uint256 collateralValue,
        uint256 debtValue
    ) external {
        emit LiquidationAlert(user, market, collateralValue, debtValue, block.number);
    }
 
    // Emit NFT activity for marketplace webhooks
    function emitNFTActivity(
        address collection,
        uint256 tokenId,
        address from,
        address to,
        uint256 price,
        string calldata activityType
    ) external {
        emit NFTActivity(collection, tokenId, from, to, price, activityType);
    }
}
```

SolidityNodePythonGoRustCC++Ruby

## Built For

Instant confirmation of crypto deposits and payments.

Track liquidations, swaps, and position changes.

Alert users on sales, bids, and transfers.

Monitor for suspicious contract interactions.

## Supported Chains

_✓_**Ethereum**

- [Bundler API](https://hanzo.ai/blockchain/bundler)
- [Hanzo Chains](https://hanzo.ai/blockchain/chains)
- [Hanzo DeFi](https://hanzo.ai/blockchain/defi)
- [Hanzo Explorer](https://hanzo.ai/blockchain/explorer)
- [Gas Manager](https://hanzo.ai/blockchain/gas)
- [Hanzo Indexer](https://hanzo.ai/blockchain/indexer)
- [NFT API](https://hanzo.ai/blockchain/nft)
- [Hanzo Oracle](https://hanzo.ai/blockchain/oracle)
- [Hanzo Pay](https://hanzo.ai/blockchain/pay)
- [Token API](https://hanzo.ai/blockchain/tokens)
- [Transfers API](https://hanzo.ai/blockchain/transfers)
- [Smart Wallets](https://hanzo.ai/blockchain/wallets)
- [Websockets](https://hanzo.ai/blockchain/websockets)

## Start Building with Webhooks

Get your free API key and ship your first request in under 5 minutes. No credit card required.

[Get Your API Key](https://platform.hanzo.ai/api-keys)[Explore All Web3 Products](https://hanzo.ai/blockchain)

### Get Webhooks

[Deploy to Cloud](https://platform.hanzo.ai/deploy)
