Queries from your App via APIs (Offchain)
Overview
You can query SXT Chain data (either verifiable indexed data collected directly from other popular chains, or data from your own custom tamperproof tables secured by SXT Chain) directly from your apps, dashboards, and frontends using our Managed DB APIs. You can query your own tables, indexed data, and these are fast cheap queries executed via Apache Spark (rather than with ZK-proofs). Learn more about our Managed DB APIs for querying data offchain.
When querying SXT Chain data from your smart contract (with ZK-verification onchain) you call a SXT query relayer contract and pay per query using crypto funds onchain. But as a convenience to users, our Managed DB APIs allow you to use a traditional API subscription.
More Details
Zero-knowledge proven SQL queries aren’t always necessary, especially for frontend apps that just need fast chain data to power dashboard metrics and chain analytics. The Space and Time ecosystem has a solution!
The Space and Time Managed DB operated by MakeInfinite Labs is a high performance environment for running optimistic queries on blockchain index data, as well as customer-owned and loaded data.
The database is built on Apache Spark, auto-scales horizontally on performant cloud infra, and offers a complete (and cheap to query) copy of all data on SXT Chain as well as indexed data many other chains including Ethereum, Bitcoin, Base, Optimism, Arbitrum, ZKsync, Avalanche, Polygon, Sui, and many testnets. It contains over 100TB of indexed data from popular chains, organized and ready to query via MakeInfinite's APIs.
To get started, check out these pages on the MakeInfinite Docs:
Updated 2 days ago