Pangea’s aggregated data offer high-level insights such as US dollar pricing. Pangea datasets can also be combined for deeper insights. Our toolboxes are reusable building blocks for crypto both cross-chain and modular. With Pangea data users can do the aggregations themselves in seconds.
Effortless Integration
Quick and High-Level Data Insights
Pangea’s aggregated data solution provides users with the ability to access high-level insights such as US dollar pricing and other essential metrics, all in a matter of seconds.
By combining various datasets, users can extract rich, aggregated insights that would otherwise require extensive manual work. This capability is especially useful for cross-chain applications and modular blockchain systems, where data from multiple sources needs to be synthesised for comprehensive analysis. Pangea’s aggregated data ensures quick access to these crucial insights, streamlining decision-making for traders, analysts, and developers alike.
Get access
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use std::collections::HashSet;
use futures::StreamExt;
use pangea_client::{
core::types::{format::Format, ChainId},
provider::UniswapV3Provider,
query::Bound,
requests::uniswap_v3::GetPricesRequest,
ClientBuilder,
WsProvider,
};
#[tokio::main]
async fn main() {
dotenv::dotenv().ok();
let username = std::env::var("PANGEA_USERNAME").unwrap();
let password = std::env::var("PANGEA_PASSWORD").unwrap();
let url = std::env::var("PANGEA_URL").unwrap_or("app.pangea.
foundation".to_string());
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// setup websocket client
let client = ClientBuilder::default()
.endpoint(&url)
.credential(&username, &password)
.build::<WsProvider>()
.await
.unwrap();
// subscribe to prices
let request = GetPricesRequest {
chains: HashSet::from([ChainId::ETH]),
from_block: Bound::Latest,
to_block: Bound::Subscribe, // real-time
// for historical data without subscription uncomment below
// from_block: Bound::FromLatest(100),
// to_block: Bound::Latest,
..Default::default()
};
Effortless Integration
Privacy and Flexibility for Custom Queries
One of the standout features of Pangea’s aggregated data is its privacy-first approach. All queries remain private to the user, ensuring that sensitive market data and strategic insights are kept confidential. Additionally, Pangea’s data is flexible, allowing users to customize their queries and combine datasets to generate their own insights.
This flexibility is invaluable for those looking to tailor data specifically to their use cases, from financial modeling to operational dashboards. The combination of speed, privacy, and adaptability makes Pangea’s aggregated data an indispensable tool for advanced blockchain projects and analytics.
Our Knowledge
Frequently asked questions
Find answers to common questions and get the information you need to make the most of our services.