Contract Watchers
Watches for events related to a contract on Discord/Telegram/Webhook
Last updated
Watches for events related to a contract on Discord/Telegram/Webhook
Last updated
Steps
Navigate to the Contract Watcher Setup Page and Fill in Required Fields:
Locate the contract watcher form on the platform.
Enter details like the contract address and the default event selector “Get Contract Transactions”.
Choose the network type.
Authorize Soroban Hooks to access your Discord account or connect Telegram/Webhook.
Using Webhooks as platform
Using Telegram as platform
Using Discord as platform
Enter details like the contract address and event type (e.g., "Get All Transaction History" or "Get Storage History"). "Get contract transaction" is a default selected event.
Add Alert Requirements:
Define the specific events (e.g., "Get All Transaction History" or "Get Storage History") you want to monitor.
To get all the transaction history via api endpoint
Endpoint
Query Parameters:
address: The contract address to fetch data for.
type: The type of data to fetch — set to transactions.
page: Pagination parameter — current page (default: 1).
limit: Number of results per page (default: 10).
x-api-key: Authentication key required to access the Soroban Hooks API, which can be obtained from the Profile Page.
Content-Type: Specifies the format of the request — application/json
To get all the storage history via api endpoint
Endpoint
Query Parameters:
address: The contract address to fetch data for.
type: The type of data to fetch — set to storage.
page: Pagination parameter — current page (default: 1).
limit: Number of results per page (default: 10).
x-api-key: Authentication key required to access the Soroban Hooks API, which can be obtained from the Profile Page.
Content-Type: Specifies the format of the request — application/json.
Developer Debugging and Monitoring
Monitor smart contract events during development to debug issues or ensure proper functionality.
Receive real-time updates on testnet or mainnet deployments.
Event Tracking for DeFi Protocols
Watch for transactions or balance changes in decentralized finance (DeFi) applications.
Track liquidity pool updates, staking rewards, or lending/borrowing events.
DAO and Community Notifications
Keep members informed about governance-related events or treasury activities.
Notify participants about new proposals, votes, or contract interactions.
Automated Workflow Triggers
Use Webhook integration to automate workflows based on specific contract events.
Trigger actions such as sending alerts, updating databases, or initiating trades.
Business Operations and Compliance
Monitor transactions or wallet balances to ensure compliance with internal policies or external regulations.
Receive instant updates on contract interactions related to business operations.
Security and Anomaly Detection
Track contract activity for unusual or malicious behavior, such as unauthorized withdrawals or suspicious transactions.
Get alerts to take immediate action in case of anomalies.
NFT Minting and Transfers
Watch for NFT-related events, such as minting, transfers, or metadata updates.
Notify creators and collectors of relevant contract activities.
Trading and Arbitrage Opportunities
Monitor specific contract events tied to token swaps or order execution.
Get notified about high-value transactions to exploit arbitrage opportunities.
Education and Research
Educators can demonstrate smart contract functionality by showcasing real-time event tracking.
Researchers can analyze transaction patterns and contract interactions.
Integration into Analytics Dashboards
Use Webhook to feed contract event data into analytics tools for advanced insights and reporting.