PoX-5 events
Index on the pox-5 boot contract: decoded bond prints, and a webhook when a registration lands. Same loop as any other Index feed. Not a stacking product; positions and payouts are a subgraph you deploy.
Protocol-bond registrations are prints on pox-5. Filter the Index feed by topic.
curl "http://127.0.0.1:3800/v1/index/pox5/events?topic=register-for-bond&limit=5"Each row has bond_index, amount_sats, is_l1_lock, and data.btc-lockup (L1 txids). This is the print log, not a position scoreboard. Envelope, cursors, ?confirmed=true: Index.
A chain webhook POSTs matching prints to your URL.
secondlayer webhooks create pox5-bonds \
--url https://example.com/webhook \
--trigger '{"type":"print_event","contractId":"SP000000000000000000002Q6VF78.pox-5","topic":"register-for-bond"}'Same shape for bond-distribution when payouts start. Trigger grammar and signatures: Webhooks. Bond-level tables (positions, allowlist, payouts) are a subgraph you deploy: Subgraphs.