-
ArkService– the primary access point for real-time coordination, batch participation, intent management, and transaction submission. It enables clients to register intents, coordinate multi-party batches, sign with MuSig2, and spend VTXOs without relinquishing control of their funds. Event-driven endpoints likeGetEventStreamandGetTransactionsStreamlet clients stay synchronized with network activity. -
IndexerService– optimized for historical queries, auditing, and VTXO tree navigation. It provides functions for VTXO lifecycle analysis, chain tracing, sweep monitoring, and connector tree exploration. Use it to reconstruct offchain state, audit fund flows, and handle data-rich workflows.
GetVtxoTreeLeaves vs. full GetVtxoTree). Batch sweep tracking provides visibility into operator claims and onchain unroll scenarios.
The complete interfaces for both services are defined in the protocol buffer specification and are available in the buf.build registry:
- buf.build ArkService interface (+ API reference)
- buf.build IndexerService interface (+ API reference)
TL;DR. Use ArkService for coordination, signing, and settlement and use IndexerService for querying, tracing, and auditing.