Data Providers
Data Providers
Section titled “Data Providers”In addition to the API run by Aptos full nodes, we also provide a few different ways to get Aptos blockchain data.
Overview of aptos data endpoints
Section titled “Overview of aptos data endpoints”REST API allows you to query the full node directly and will have the latest data (historical data will be missing unless it’s an archival full node).
GRPC transaction stream is a stream layer we built that serves typed version of above data
GraphQL is an endpoint where we provide product tables (such as transfers and balances) that can be queried
Product tables are parsed out from transaction and logic is public, some vendors have implemented similar parsing logic to create a subset of tables and made them available to query.
SQL Tables
Section titled “SQL Tables”Indexer (the stack that powers our GraphQL endpoint) defines several processors that create different product tables in Postgres.
This type of data is often used for analytics since it allows for aggregations.
Core tables
Section titled “Core tables”These contain raw data very similar to what is found in REST API. Note that (transaction) version is often used instead of transaction hash.
- Blocks - version, block height, epoch, timestamp
- Transactions - version, type, sender, entry function, gas
- Signatures - signature types, signer, fee payer address
- Events - type and data for events
On chain data is stored as: table items, resources or modules (executable)
- (write set) changes - change index, change type (write or delete on what type of data), resource address
- Table items - table key, table handle, decoded key (content and type), value (content and type)
- (move) resources - resource address, resource type, data
- (move) modules - bytecode for deployed modules, friends and exposed functions
Vendors for core tables and metrics:
Section titled “Vendors for core tables and metrics:”We have a few options that will let you access this data using SQL or UIs for building dashboards.
Google bigquery public dataset
Section titled “Google bigquery public dataset”Provides data through google public data
We also have sample analytics queries using the above resources
We have a dashboard here: https://dune.com/aptos/aptos-chain-metrics-overview
Allium
Section titled “Allium”Data source for many downstream vendors such as defillama and rwa.xyz. Raw data is available: https://docs.allium.so/historical-data/supported-blockchains/move-ecosystem/aptos They also have transfers for stablecoins https://docs.allium.so/historical-data/stablecoins#stablecoin-metrics
Artemis
Section titled “Artemis”Provides topline metrics as well as chart builder
Nansen
Section titled “Nansen”Provides topline metrics with additional functionality with account.
Sentio
Section titled “Sentio”They have a guide and data is found in data source -> external project -> sentio/aptos-overview They also provide stack tracing of transactions
RWA.xyz
Section titled “RWA.xyz”High level metrics for RWAs in dashboard. You’ll need to make an account to access stablecoin details.
Pangea
Section titled “Pangea”Provides raw data, coin/fa transfers, and some dex parsing.
Other vendors
Section titled “Other vendors”We also have some partners who target more enterprise use cases
Vendors for real-time data
Section titled “Vendors for real-time data”- Geomi (prev. Aptos Build)
- Provides API key for higher rate limits on REST API and GRPC transaction stream.
- Provides no code indexing to parse and turn events into tables that can be queried.
- NODEREAL for REST API endpoint
- SHINAMI for REST API and GraphQL endpoints
- QuickNode for REST API endpoint
Additional RPC vendors can be found here
Tips for analyzing data
Section titled “Tips for analyzing data”- Aptos data overview (pt.1)
- Parsing Defi Swaps (pt.2)
- Calculating supply and volume (pt.3)
- Aptos Explorer analytics queries
- Aptos Spellbook on Dune
- Module bytecode can be decompiled with Revela or aptos cli with
aptos move decompile --decompiler-version v2