You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 30, 2025. It is now read-only.
The Indexer API allows you to access rich data about tokens, accounts, transactions, and events on-chain using GraphQL queries. **You can access it [here](../indexer-api.mdx).**
11
+
The Indexer API allows you to access rich data about tokens, fungible assets, and accounts on-chain using GraphQL queries. **You can access it [here](../indexer-api.mdx).**
12
12
13
13
For common queries, check out the sidebar for examples to work from. When building your own, this reference guide should help you determine which tables are most relevant, and how to format your queries.
14
14
@@ -34,7 +34,7 @@ B-tree indexes are ordered and perform optimally when queries utilize a left-mos
34
34
35
35
{/* Indexed columns are generated from https://docs.google.com/spreadsheets/d/1sQnMimoJnP5sVaLCCRK4H6AHXGCwsehAuBF9AD_0IyY/edit?gid=47194642#gid=47194642 */}
36
36
37
-
## Raw Data
37
+
## General
38
38
39
39
### `user_transactions`
40
40
@@ -48,17 +48,6 @@ Transactions filtered to user_transactions (not system).
| coin_activities | Join || Use the [Hasura explorer](https://cloud.hasura.io/public/graphiql?endpoint=https://api.mainnet.aptoslabs.com/v1/graphql) to see these sub-fields. |
89
-
| coin_activities_aggregate | Join || Use the [Hasura explorer](https://cloud.hasura.io/public/graphiql?endpoint=https://api.mainnet.aptoslabs.com/v1/graphql) to see these sub-fields. |
90
75
| delegated_staking_activities | Join || Use the [Hasura explorer](https://cloud.hasura.io/public/graphiql?endpoint=https://api.mainnet.aptoslabs.com/v1/graphql) to see these sub-fields. |
| token_activities | Join || Use the [Hasura explorer](https://cloud.hasura.io/public/graphiql?endpoint=https://api.mainnet.aptoslabs.com/v1/graphql) to see these sub-fields. |
@@ -422,33 +407,32 @@ This table maps tokens, standards, and addresses to human readable names.
The following tables are planned for deprecation, or are already deprecated. See the notes section for any direct replacements or notes on how to migrate if you currently depend on one of these tables. Please do not use any of the below tables for production services.
| address_version_from_move_resources |6/7 | TBD | The move_resources table has been replaced with legacy_migration_v1.move_resources, which uses account_transactions in a view. To use the migrated view, you will need to backfill and run account_transactions processor.|
433
-
|address_version_from_move_resources_aggregate| 6/7| TBD| The move_resources table has been replaced with legacy_migration_v1.move_resources, which uses account_transactions in a view. To use the migrated view, you will need to backfill and run account_transactions processor.|
434
-
|coin_activities| 7/22 | TBD | We will replace with fungible_asset_activities|
435
-
|coin_activities_aggregate| 7/22| TBD | We will replace with fungible_asset_activities |
436
-
| coin_balances |7/22 | TBD |Replace with fungible_asset_balances|
437
-
|collection_datas| 7/22| TBD |Replace with collection_v2|
438
-
|current_coin_balances| 7/22| TBD | Replace with current_fungible_asset_balances|
439
-
|current_token_ownerships| 7/22| TBD |Replace with current_token_ownerships_v2|
440
-
|current_token_ownerships_aggregate| 7/22| TBD | Replace with current_token_ownerships_v2|
441
-
|move_resources| 6/7 | TBD |Replace with account_transactions|
442
-
|move_resources_aggregate|6/7 | TBD |Replace with account_transactions|
443
-
|nft_marketplace_v2_current_nft_marketplace_auctions| TBD| TBD| We're deprecating nft_marketplace processor so all the nft_marketplace tables should be deleted|
444
-
|nft_marketplace_v2_current_nft_marketplace_collection_offers | TBD| TBD| We're deprecating nft_marketplace processor so all the nft_marketplace tables should be deleted|
445
-
|nft_marketplace_v2_current_nft_marketplace_listings| TBD| TBD| We're deprecating nft_marketplace processor so all the nft_marketplace tables should be deleted|
446
-
|nft_marketplace_v2_current_nft_marketplace_listings_aggregate | TBD| TBD| We're deprecating nft_marketplace processor so all the nft_marketplace tables should be deleted|
447
-
|nft_marketplace_v2_current_nft_marketplace_token_offers| TBD| TBD| We're deprecating nft_marketplace processor so all the nft_marketplace tables should be deleted|
448
-
|nft_marketplace_v2_nft_marketplace_activities| TBD| TBD|We're deprecating nft_marketplace processor so all the nft_marketplace tables should be deleted|
449
-
|signatures| 6/21 | TBD ||
450
-
|token_activities| 7/22| TBD |Replace with token_activities_v2|
451
-
|token_activities_aggregate| 7/22| TBD |Replace with token_activities_v2|
452
-
|token_datas| 7/22| TBD ||
453
-
|token_ownerships| 7/22| TBD | Replace with token_ownerships_v2|
| address_version_from_move_resources |Replace with account_transactions |
417
+
|address_events_summary|To query custom events, you should create a [No-Code Indexer](https://build.aptoslabs.com/docs/no-code-indexing)|
418
+
|address_version_from_events| To query custom events, you should create a [No-Code Indexer](https://build.aptoslabs.com/docs/no-code-indexing)|
419
+
|coin_activities| Replace with fungible_asset_activities |
420
+
| coin_balances | Replace with current_fungible_asset_balances|
421
+
|coin_infos|Replace with fungible_asset_metadata|
422
+
|coin_supply| No replacement; non-realtime APT coin supply is available with this [query](https://github.com/aptos-labs/explorer/blob/main/analytics/apt_supply.sql)|
423
+
|collection_datas|Replace with current_collections_v2|
424
+
|current_ans_lookup| Replace with current_ans_lookup_v2|
425
+
|current_coin_balances|Replace with current_fungible_asset_balances|
426
+
|current_collection_datas| Replace with current_collections_v2|
427
+
|current_token_datas| Replace with current_token_datas_v2|
428
+
|current_token_ownerships | Replace with current_token_ownerships_v2|
429
+
|events_view| To query custom events, you should create a [No-Code Indexer](https://build.aptoslabs.com/docs/no-code-indexing)|
430
+
|move_resources | Replace with account_transactions|
431
+
|move_resources_view| Replace with account_transactions|
432
+
|nft_marketplace_v2_*|Replace with [NFT Aggregator API](https://aptos.dev/en/build/indexer/nft-aggregator)|
433
+
|token_activities| Replace with token_activities_v2|
434
+
|token_datas|Replace with current_token_datas_v2|
435
+
|token_ownerships|Replace with current_token_ownerships_v2|
436
+
|tokens| Replace with current_token_datas_v2|
437
+
|transactions| No replacement; non-realtime data is available in [BigQuery](https://console.cloud.google.com/marketplace/product/bigquery-public-data/crypto-aptos-mainnet-us)|
438
+
|transactions_view| No replacement; non-realtime data is available in [BigQuery](https://console.cloud.google.com/marketplace/product/bigquery-public-data/crypto-aptos-mainnet-us)|
0 commit comments