Files

1 line
3.4 KiB
JSON

{"text":["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","Get Your API Key","Start building in under 5 minutes","HA","Failover","<50ms","Latency","100+","Chains","Try Hanzo","View Documentation","No credit card required.","Trusted by developers building:","DeFi","NFTs","Payments","Gaming","AI Agents","Key Capabilities","Everything you need, nothing you don't.","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++","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,","token,","uint256 amount,","bytes32","orderId,","uint256 timestamp",");","LiquidationAlert","user,","market,","uint256 collateralValue,","uint256 debtValue,","uint256","blockNumber","NFTActivity","collection,","tokenId,","address from,","address to,","uint256 price,","string activityType // \"sale\"","\"bid\"","\"transfer\"","SecurityAlert","target,","alertType,","address triggeredBy,","bytes data","// Emit payment for webhook notification","function","emitPayment","address token","uint256 amount","bytes32 orderId","external","emit","msg.sender","token","amount","orderId","block.timestamp","// Emit liquidation alert for DeFi monitoring","emitLiquidationAlert","address user","address market","uint256 collateralValue","uint256 debtValue","user","market","collateralValue","debtValue","block.number","// Emit NFT activity for marketplace webhooks","emitNFTActivity","address collection","uint256 tokenId","address from","address to","uint256 price","string","calldata","activityType","collection","tokenId","from","to","price","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","Ethereum","Polygon","Arbitrum","Optimism","Base","BNB Chain","Avalanche","zkSync","Scroll","Linea","Start Building with Webhooks","Get your free API key and ship your first request in under 5 minutes. No credit card required.","Explore All Web3 Products","Get Webhooks","Deploy to Cloud"],"links":["/blockchain","https://platform.hanzo.ai/api-keys","https://platform.hanzo.ai/deploy"]}