Introduction

In the fast-paced world of blockchain development, real-time data access and efficient blockchain indexing are critical to infrastructure success. StakeStone, an omnichain liquidity protocol, faced challenges scaling its operations across multiple EVM chains. That’s when they turned to SubQuery, a decentralised data indexer optimised for multi-chain environments.

This case study dives into how SubQuery helped StakeStone achieve seamless liquidity tracking, scale efficiently, and improve its overall platform performance.

Table of Contents

The Challenge

As an omnichain liquidity protocol, StakeStone operates across multiple blockchain networks, which presents a unique set of challenges:

  • Efficiently tracking transactions across various ecosystems
  • Accessing real-time and historical data without delays or inefficiencies.
  • Ensuring smooth liquidity and yield distribution for users.
  • Integrating a scalable solution that supports multiple EVM-compatible chains.

Initially, StakeStone explored different blockchain data indexing partners, but they encountered limitations in chain support and indexing performance. They needed a robust and flexible solution capable of handling data across multiple blockchain environments without compromising speed or accuracy.

Why SubQuery?

StakeStone turned to SubQuery for its advanced blockchain data indexing capabilities and extensive chain support (nearly 300 networks). Unlike other providers with restricted multi-chain support, SubQuery seamlessly tracks any EVM-compatible network, making it the perfect fit for StakeStone’s needs.

By leveraging SubQuery, StakeStone benefits from:

  • Fast and efficient data querying.
  • Seamless integration with multiple EVM-compatible networks.
  • A scalable and developer-friendly solution for real-time analytics and custom crypto APIs
  • Reliable access to both historical and live on-chain data.

Ivan K, CMO of StakeStone, stated:

“We rely on partnering with multiple ecosystems constantly, we initially tried other infra partners, but their chain support is limited, so we switched to SubQuery. SubQuery can track any EVM-compatible network and that is the most ideal solution for us.”

Key Metrics at a Glance

  • More than 300,000 users have accessed StakeStone powered by the SubQuery API
  • Stakestone track data on 20+ protocols across 6 main Layer-2s using their SubQuery indexers
  • Approximately 60 entities indexed
  • Active SubQuery indexers: 6

The Role of SubQuery in StakeStone

To demonstrate the effectiveness of SubQuery’s integration, the following screenshots from the indexer playground showcase some relevant queries.

  1. Locked BTC: This query is used to fetch all BTC deposit records, Current global statistics about BTC locks, all individual user lock details and associated reward/point estimates.
  1. cStone data: This query helps you to understand who burned tokens and how much they were compensated (cStoneBurnCompensations), track user indexing logic or counters (cStoneHolderIdxes).
  1. Hub Data: This query gives you a complete view of all token deposits into the hub, token withdrawals from the hub. These can be used to track user activity, monitor token flow in/out of the protocol, generate statistics like net inflow/outflow, build dashboards or trigger alerts for high-value movements.
  1. lStone Data: This query provides a comprehensive view of lStone borrows, mints, and holder balances. It tracks user borrow activity, mint events, and snapshots of user balances, which can be used to monitor token flow, track user participation, and calculate reward points.

These queries reflect the power of SubQuery's API for blockchain indexing — essential infrastructure for tracking cross-chain assets, yield flows, and governance data.

The Road Ahead for StakeStone

StakeStone’s unique LiquidityPad will empower users to easily deploy liquidity strategies across multiple ecosystems, ensuring higher yield generation without the need for complex setups. StakeStone is working towards deeper integrations with major ecosystems and protocols to expand its utility, enabling users to access decentralised lending, yield farming, and staking opportunities directly from StakeStone’s ecosystem.SubQuery is a powerful blockchain data indexing solution that can dramatically improve the efficiency and accessibility of StakeStone’s infrastructure. SubQuery will continue to help StakeStone users to easily track their transactions and rewards across various blockchains, simplifying portfolio management and user-friendly dashboards with real-time analytics powered, providing insights into staking performance, yield optimization, and liquidity pool health.

Common Questions About SubQuery & StakeStone

1. What is SubQuery used for in blockchain development?

SubQuery indexes blockchain data and makes it accessible through performant APIs. It’s essential for building dApps with real-time data needs.

2. Why did StakeStone choose SubQuery over The Graph or others?

SubQuery supports more chains, delivers faster performance, and has dedicated infrastructure for EVM chains, making it ideal for omnichain projects.

3. Can developers build custom queries with SubQuery?

Yes, developers can fully customise data sources and use GraphQL to query indexed blockchain data efficiently. This is especially useful for those building applications with specific needs for example a custom API for blockchain analytics.

4. Is SubQuery only for large protocols like StakeStone?

Not at all. SubQuery is designed to be accessible to solo developers, startups, and large enterprises alike. Its open-source SDKs and managed services make it easy to define your own indexers, whether you’re experimenting or building production-ready crypto APIs.

Conclusion

StakeStone needed support in tracking transactions across multiple networks and ensuring real-time access to liquidity data. By integrating SubQuery’s indexing solution, StakeStone has successfully brought its user experience to another level, enhancing its platform’s efficiency and user experience. SubQuery has proven to be the ideal solution for StakeStone’s growing needs. As both companies continue to innovate, this partnership will play a vital role in shaping the future of omni-chain liquidity management.

Start building your SubQuery indexer

About SubQuery

SubQuery Network is innovating in web3 infrastructure with tools that empower builders to decentralise without compromise. SubQuery’s infrastructure network offers everything from data indexers, RPCs and AI agents - all fully decentralised and production ready.

Our fast, flexible, and open data indexer supercharges thousands of dApps on nearly 300 networks. Our Sharded Data Node will provide breakthroughs in the RPC industry and our AI App framework makes building AI apps easier than ever before. We pioneer the web3 revolution for visionaries and forward-thinkers. We’re not just a company — we’re a movement driving an inclusive and decentralised web3 era, together.

​​​​Linktree | Website | Discord | Telegram | Twitter | Blog | Medium | LinkedIn | YouTube

Share this post