Hello Astar Community and Development Team,
We’re currently working on a project that involves extracting dApp staking data from the Astar Network, specifically focusing on historical staker information. We’ve been exploring the available APIs and indexers, and we have a few questions we’d like to ask.
Known Issues or Service Interruptions with Astar dApp Staking APIs?
We’ve attempted to use both the direct REST API endpoint for current stakers (e.g., api.astar.network/api/v3/astar/dapps-staking/stakerslist/{contractAddress}
) and the Subsquid-based GraphQL indexer (e.g., squid.subsquid.io/dapps-staking-indexer-astar/graphql
), as used in our Python script (referenced in the astar_dapp_stakers_historical
immersive artifact).
Unfortunately, we’ve encountered connection errors (specifically, NameResolutionError
for api.astar.network
and similar issues when trying to connect to the GraphQL endpoint). This suggests a potential network or API availability issue from our end or with the services themselves.
-
Are there any known issues or ongoing service interruptions with these specific dApp staking API endpoints or the Subsquid indexer for Astar Mainnet?
-
Is the
api.astar.network
domain currently operational and publicly accessible as expected?
Service Level Agreements (SLA) and Rate Limits
For projects requiring consistent and reliable data access, understanding the operational guarantees is crucial.
-
What are the Service Level Agreements (SLA) for the Astar dApp Staking REST API and the GraphQL indexer?
-
Are these public services intended for production workloads, or are there specific rate limits (e.g., requests per second, per minute) that developers should be aware of when querying data?
-
Is there a recommended approach or service for higher-throughput data access if these public endpoints have strict limitations?
Alternative Indexers for Historical dApp Staking Data
Our primary goal is to retrieve historical staker data over specific time periods for a given dApp. While the Subsquid indexer appears to offer this functionality via GraphQL queries on the stakes
entity (filtering by timestamp_gte
and timestamp_lte
), we’re keen to know if there are other reliable options.
-
Are there any other official or recommended indexers for Astar Network, beyond the Subsquid-based one, that provide reliable and comprehensive access to dApp Staking data, especially historical data?
-
Specifically, are there any indexers that make it easier to query the state of stakers for a dApp at a particular past “era” or block height?
Any insights or guidance from the Astar team or community would be greatly appreciated as we aim to build robust data solutions on the Astar Network.
Thank you!