# Webhooks — Hanzo AI

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

Available Now

# Webhooks

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.

### 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.

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

## Get Your API Key

Start building in under 5 minutes

HA

Failover

<50ms

Latency

100+

Chains

Start Building Free

View Documentation

No credit card required. Free tier includes 300M compute units/month.

Trusted by developers building:

DeFiNFTsPaymentsGamingAI Agents

## Key Capabilities

Everything you need, nothing you don&#x27;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.

Solidity

Node

Python

Go

Rust

C

C++

Ruby

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); } }
```

## Built For

### Payment Processing

Instant confirmation of crypto deposits and payments.

### DeFi Monitoring

Track liquidations, swaps, and position changes.

### NFT Notifications

Alert users on sales, bids, and transfers.

### Security Alerts

Monitor for suspicious contract interactions.

## Supported Chains

EthereumPolygonArbitrumOptimismBaseBNB ChainAvalanchezkSyncScrollLinea

## 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

[Explore All Web3 Products](https://hanzo.ai/blockchain)

## Get Webhooks

Deploy in seconds or self-host with the open-source release.

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