- Tools
- Chainhook
Chainhook
Chainhook is a reorg-aware indexer that serves reliable blockchain data for Bitcoin and Stacks.
Chainhook 2.0 is currently in beta. During this period, we're focused on learning about reliability, performance, and developer experience. If you encounter issues or have feedback, please reach out to support@hiro.so.
Overview
Chainhook is a reorg-aware indexer that lets you build custom event streams from Bitcoin and Stacks blockchains. Unlike traditional indexers, Chainhook automatically handles blockchain reorganizations, ensuring your data stays accurate without manual reindexing.
With Chainhook 2.0, you can manage chainhooks through:
- Chainhook SDK - TypeScript/JavaScript client for programmatic management
- Hiro Platform - Web-based UI for visual chainhook creation
- Chainhook API - Direct REST API access
To explore Chainhook features with AI, copy and paste llms.txt into your LLM of choice.
Key Features
- Reorg-aware indexing - Automatically handles blockchain forks and reorganizations
- Event filtering - Define custom logic to trigger actions on specific blockchain events
- Historical evaluation - Test chainhooks against past blocks for indexing or debugging
SDK Quickstart→
Get started with the Chainhook SDK in 5 minutes
Platform Quickstart→
Create your first chainhook in the Platform UI
Reach out to us on the #chainhook channel on Discord under the Hiro Developer Tools section.