Skip to content

Commit 6b8ec9a

Browse files
authored
Merge pull request #7448 from greefea/patch-1
Moved up Block explorers section; added Dune section
2 parents 2d0f009 + 8c92b52 commit 6b8ec9a

File tree

1 file changed

+9
-4
lines changed
  • src/content/developers/docs/data-and-analytics

1 file changed

+9
-4
lines changed

src/content/developers/docs/data-and-analytics/index.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,25 @@ You should understand the basic concept of [Block Explorers](/developers/docs/da
1717

1818
In terms of architectural fundamentals, understanding what an [API](https://www.wikipedia.org/wiki/API) and [REST](https://www.wikipedia.org/wiki/Representational_state_transfer) are, even in theory.
1919

20+
## Block explorers {#block-explorers}
21+
22+
Many [Block Explorers](/developers/docs/data-and-analytics/block-explorers/) offer [RESTful](https://www.wikipedia.org/wiki/Representational_state_transfer) [API](https://www.wikipedia.org/wiki/API) gateways that will provide developers visibility into real-time data on blocks, transactions, miners, accounts, and other on-chain activity.
23+
24+
Developers can then process and transform this data to give their users unique insights and interactions with the [blockchain](/glossary/#blockchain).
25+
2026
## The Graph {#the-graph}
2127

2228
The [Graph Network](https://thegraph.com/) is a decentralized indexing protocol for organizing blockchain data. Instead of building and managing off-chain and centralized data stores to aggregate on-chain data, with The Graph, developers can build serverless applications that run entirely on public infrastructure.
2329

2430
Using [GraphQL](https://graphql.org/), developers can query any of the curated open APIs, known as sub-graphs, to acquire the necessary information they need to drive their dapp. By querying these indexed sub-graphs, Reports and dapps not only get performance and scalability benefits but also the built in accuracy provided by network consensus. As new improvements and/or sub-graphs are added to the network, your projects can rapidly iterate to take advantage of these enhancements.
2531

26-
## Block explorers {#block-explorers}
32+
## Dune Analytics {#dune-analytics}
2733

28-
Many [Block Explorers](/developers/docs/data-and-analytics/block-explorers/) offer [RESTful](https://www.wikipedia.org/wiki/Representational_state_transfer) [API](https://www.wikipedia.org/wiki/API) gateways that will provide developers visibility into real-time data on blocks, transactions, miners, accounts, and other on-chain activity.
29-
30-
Developers can then process and transform this data to give their users unique insights and interactions with the [blockchain](/glossary/#blockchain).
34+
[Dune Analytics](https://dune.com/) pre-processes blockchain data into relational database (PostgreSQL and DatabricksSQL) tables, allows users to query blockchain data using SQL and build dashboards based on query results. On-chain data are organized into 4 raw tables: `blocks`, `transactions`, (event) `logs` and (call) `traces`. Popular contracts and protocols have been decoded, and each has its own set of event and call tables. Those event and call tables are processed further and organized into abstraction tables by the type of protocols, for example, dex, lending, stablecoins, etc.
3135

3236
## Further Reading {#further-reading}
3337

3438
- [Graph Network Overview](https://thegraph.com/docs/en/about/network/)
3539
- [Graph Query Playground](https://thegraph.com/explorer/subgraph/graphprotocol/graph-network-mainnet?version=current)
3640
- [API code examples on EtherScan](https://etherscan.io/apis#contracts)
41+
- [Dune Basics](https://docs.dune.com/#dune-basics)

0 commit comments

Comments
 (0)