-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
midegdugarova
committed
Jun 29, 2023
1 parent
30aeb44
commit 847d318
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Covalent Indexing and Querying API | ||
[Covalent](https://www.covalenthq.com/?utm_source=astar&utm_medium=partner-docs) is a hosted blockchain data solution providing access to historical and current on-chain data for 100+ supported blockchains, including [Astar](https://www.covalenthq.com/docs/networks/astar/?utm_source=astar&utm_medium=partner-docs). | ||
|
||
Covalent maintains a full archival copy of every supported blockchain, meaning every balance, transaction, log event, and NFT asset data is available from the genesis block. This data is available via: | ||
|
||
1. [Unified API](#unified-api) - Incorporate blockchain data into your app with a familiar REST API | ||
2. [Increment](#increment) - Create and embed custom charts with no-code analytics | ||
|
||
**Use Covalent if you need:** | ||
* Structured and enhanced on-chain data well beyond what you get from RPC providers | ||
* Broad and deep multi-chain data at scale | ||
* Enterprise-grade performance | ||
|
||
> **[Sign up to start building on Astar](https://www.covalenthq.com/platform/?utm_source=astar&utm_medium=partner-docs)** | ||
| ||
## Unified API | ||
|
||
[![example-api-response-json](https://www.datocms-assets.com/86369/1686098284-example-api-response-json-astar.png)](https://www.covalenthq.com/docs/api/balances/get-token-balances-for-address/?utm_source=astar&utm_medium=partner-docs) | ||
|
||
The Covalent API is RESTful and offers the following for Astar: | ||
|
||
| **Features**| | | ||
|---|---| | ||
| Response Formats | JSON, CSV | | ||
| Real-Time Data Latency | 2 blocks | | ||
| Batch Data Latency | 30 minutes | | ||
| Supported Network: `chainName`, `chainId` | Mainnet: `astar-mainnet`, `592` Testnet: `astar-shibuya`, `81` | | ||
| API Tiers | [Free tier](https://www.covalenthq.com/docs/unified-api/pricing/?utm_source=astar&utm_medium=partner-docs#free-tier) [Premium tier](https://www.covalenthq.com/docs/unified-api/pricing/?utm_source=astar&utm_medium=partner-docs#premium-tier) | | ||
| API Categories | [Balances](https://www.covalenthq.com/docs/api/balances/get-token-balances-for-address/?utm_source=astar&utm_medium=partner-docs) [NFTs](https://www.covalenthq.com/docs/api/nft/get-nfts-for-address/?utm_source=astar&utm_medium=partner-docs) [Transactions](https://www.covalenthq.com/docs/api/transactions/get-transactions-for-address/?utm_source=astar&utm_medium=partner-docs) [Security](https://www.covalenthq.com/docs/api/security/get-token-approvals-for-address/?utm_source=astar&utm_medium=partner-docs) [Log Events & Others](https://www.covalenthq.com/docs/api/base/get-log-events-by-contract-address/?utm_source=astar&utm_medium=partner-docs) | ||
|
||
### Get started | ||
- [API Key](https://www.covalenthq.com/platform/?utm_source=astar&utm_medium=partner-docs) - sign up for free | ||
- [Quickstart](https://www.covalenthq.com/docs/unified-api/quickstart/?utm_source=astar&utm_medium=partner-docs) - summary of key resources to get you building immediately on blockchain | ||
- [API Reference](https://www.covalenthq.com/docs/api/?utm_source=astar&utm_medium=partner-docs) - try all the endpoints directly from your browser | ||
- [Guides](https://www.covalenthq.com/docs/unified-api/guides/?utm_source=astar&utm_medium=partner-docs) - learn how to build dapps, fetch data and extend your Web3 knowledge | ||
|
||
## Increment | ||
|
||
[![example-increment-chart](https://www.datocms-assets.com/86369/1684974544-increment-example-partner-docs.png)](https://www.covalenthq.com/platform/increment/#/?utm_source=astar&utm_medium=partner-docs) | ||
|
||
Increment is a novel no-code charting and reporting tool powered by Covalent, revolutionizing how the Web3 space approaches analytics. Many analytics tools let you write SQL to create charts, but *Increment is the only one to encode business logic - Reach, Retention, and Revenue - into an SQL compiler that can write valid SQL for you.* | ||
|
||
### Use cases | ||
Increment can be used for: | ||
|
||
- [Analyzing Blockchain Networks](https://www.covalenthq.com/docs/increment/data-models/chain-gdp/?utm_source=astar&utm_medium=partner-docs) | ||
- [Analyzing DEXs](https://www.covalenthq.com/docs/increment/data-models/swap-land/?utm_source=astar&utm_medium=partner-docs) | ||
- [Analyzing NFT Marketplaces](https://www.covalenthq.com/docs/increment/data-models/jpeg-analysis/?utm_source=astar&utm_medium=partner-docs) | ||
|
||
For example, click on the following table to get the latest number of active wallets, transactions and tokens by day, week, month or year for Astar: | ||
[![example-network-status-increment-ftm](https://www.datocms-assets.com/86369/1686100924-example_network_status_increment_general.png)](https://www.covalenthq.com/docs/networks/astar/?utm_source=astar&utm_medium=partner-docs#network-status) | ||
|
||
|
||
### Get started | ||
|
||
- [Increment](https://www.covalenthq.com/platform/increment/#/?utm_source=astar&utm_medium=partner-docs) - login via the Covalent Platform | ||
- [Docs](https://www.covalenthq.com/docs/increment/?utm_source=astar&utm_medium=partner-docs) - learn how to use Increment to build dynamic, custom charts | ||
- [Data Models Demo](https://www.covalenthq.com/docs/increment/data-models/model-intro/?utm_source=astar&utm_medium=partner-docs) - build analytics in 3 clicks | ||
- [Explore Models. Seek Alpha.](https://www.covalenthq.com/platform/increment/#/pages/covalent/chain-gdp/?utm_source=astar&utm_medium=partner-docs) - browse all data models | ||
- [Use Models. Become Alpha.](https://www.covalenthq.com/platform/increment/#/sql/query_b6c88fd8604f49d5920ca86fa7/?utm_source=astar&utm_medium=partner-docs) - use a data model |