secondlayerIndexSubgraphsStreamsExploreDocsWritingPricing
Subgraphs / Explore / …

secondlayer

The hosted indexer for Stacks. Inspired by the ideas behind Project Kourier.

Product
  • Index
  • Subgraphs
  • Streams
Features
  • Subscriptions
  • Explore
  • Contract discovery
  • Verification
Developers
  • Docs
  • OpenAPI
  • MCP
  • Status
Resources
  • CLI
  • SDK
  • Writing
  • Pricing
© 2026 SecondlayerAll systems operational
Subgraphs/Explore/sbtc-flows

sbtc-flows

v1.0.3public

sBTC deposits, withdrawals, signer rotations, governance by secondlayer · indexing SM3VDXK3…sbtc-registry since block 328,228

3tablessyncedfreshness8,695,121chain tip

events

GET/v1/subgraphs/sbtc-flows/events
topictext
amounttext
senderprincipal
request_iduint
burn_heightuint
bitcoin_txidtext
_block_height · _tx_idsystem

params: _limit · _order=asc|desc · cursor=<next_cursor> · _fields · col.op=value · also /count /aggregate /stream

deposits

GET/v1/subgraphs/sbtc-flows/deposits
amounttext
block_timeuint
bitcoin_txidtext
output_indexuint
_block_height · _tx_idsystem

params: _limit · _order=asc|desc · cursor=<next_cursor> · _fields · col.op=value · also /count /aggregate /stream

withdrawals

GET/v1/subgraphs/sbtc-flows/withdrawals
amounttext
senderprincipal
statustext
request_iduint
sweep_txidtext
resolved_atuint
requested_atuint
_block_height · _tx_idsystem

params: _limit · _order=asc|desc · cursor=<next_cursor> · _fields · col.op=value · also /count /aggregate /stream

try it — it's live
GET/events?_limit=3&_order=desc
idle · response shape
{
  "rows": [ { "_id": …, "_block_height": …, … } ],
  "next_cursor": "…",
  "tip": { "block_height": 8695121, "subgraph_height": 8695119, "blocks_behind": 2 }
}

press Send — no key, no login

Build one like this
CLIsl subgraphs scaffold SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-registry -o my-sbtc-flows.ts

Scaffolds a subgraph over the same contract — deploy under your own name and it lands on Explore. View source · fork it with `sl subgraphs create`.

for agents
docs.mdopenapi.jsonschema.jsonstream (SSE)