Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 0b1cda1

Browse files
committed
fix links
1 parent 52f3815 commit 0b1cda1

File tree

21 files changed

+46
-49
lines changed

21 files changed

+46
-49
lines changed

apps/nextra/pages/en/build/apis/fullnode-rest-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For more advanced queries, we recommend using the [Indexer GraphQL API](../index
2929

3030
## Understanding rate limits
3131

32-
As with the [Aptos Indexer](../indexer/aptos-hosted.mdx), the Aptos REST API has a rate limit of 5000
32+
As with the [Aptos Indexer](../indexer/indexer-api.mdx), the Aptos REST API has a rate limit of 5000
3333
requests per five minutes by IP address, whether submitting transactions or querying the API on Aptos-provided nodes.
3434
(As a node operator, you may raise those limits on your own node.) Note that this limit can change with or without prior
3535
notice.

apps/nextra/pages/en/build/cli/running-a-local-network.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ To debug this, try the below fixes:
117117
As you can see from the example output in step 4, once the local network is running, you have access to the following services:
118118
119119
- [Node API](../../network/nodes/aptos-api-spec.mdx): This is a REST API that runs directly on the node. It enables core write functionality such as transaction submission and a limited set of read functionality, such as reading account resources or Move module information.
120-
- [Indexer API](../indexer/aptos-hosted.mdx): This is a [GraphQL](https://graphql.org/) API that provides rich read access to indexed blockchain data. If you click on the URL for the Indexer API above, by default [http://127.0.0.1:8090](http://127.0.0.1:8090/), it will open the Hasura Console, a web UI that will help you query the Indexer GraphQL API.
120+
- [Indexer API](../indexer/indexer-api.mdx): This is a [GraphQL](https://graphql.org/) API that provides rich read access to indexed blockchain data. If you click on the URL for the Indexer API above, by default [http://127.0.0.1:8090](http://127.0.0.1:8090/), it will open the Hasura Console, a web UI that will help you query the Indexer GraphQL API.
121121
- [Transaction Stream Service](../indexer/txn-stream.mdx): This is a gRPC stream of transactions used by the Indexer API and SDK. This is only relevant to you if you are developing a [Indexer SDK](../indexer/indexer-sdk.mdx) custom processor.
122122
- [Postgres](https://www.postgresql.org/): This is the database that the Indexer processors write to. The Indexer API reads from this database.
123123
- [Faucet](../apis/faucet-api.mdx): You can use this to fund accounts on your local network.

apps/nextra/pages/en/build/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import { Cards, Card, GraphQLEditor } from '@components/index';
4040
</Card>
4141
</Cards>
4242

43-
Here's an interactive example of our [Indexer](indexer.mdx) and how you can query for the Current Fungible Asset Balances of an account. More usage examples can be found in [example queries](indexer/fungible-asset-balances.mdx).
43+
Here's an interactive example of our [Indexer](indexer.mdx) and how you can query for the Current Fungible Asset Balances of an account. More usage examples can be found in [example queries](indexer/indexer-api/fungible-asset-balances.mdx).
4444

4545
<GraphQLEditor
4646
query={`query GetFungibleAssetBalances($address: String, $offset: Int) {

apps/nextra/pages/en/build/indexer.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ The Indexer tracks every transaction that happens on-chain, then exposes that da
5050
Learn how to use the Indexer API, what each table represents, and the architecture.
5151

5252
<Cards>
53-
<Card href="indexer/aptos-hosted">
53+
<Card href="indexer/indexer-api">
5454
<Card.Title>Accessing the API</Card.Title>
5555
<Card.Description>Learn how to query the Indexer API.</Card.Description>
5656
</Card>
57-
<Card href="indexer/indexer-reference">
57+
<Card href="indexer/indexer-api/indexer-reference">
5858
<Card.Title>Indexer Table Reference</Card.Title>
5959
<Card.Description>Detailed reference for Indexer tables and their schemas.</Card.Description>
6060
</Card>
61-
<Card href="indexer/architecture">
61+
<Card href="indexer/indexer-api/architecture">
6262
<Card.Title>Architecture</Card.Title>
6363
<Card.Description>Detailed layout of the Indexer's architecture.</Card.Description>
6464
</Card>
65-
<Card href="indexer/self-hosted">
65+
<Card href="indexer/indexer-api/self-hosted">
6666
<Card.Title>Self-hosted Indexer API</Card.Title>
6767
<Card.Description>Host your own Indexer API</Card.Description>
6868
</Card>
@@ -73,35 +73,35 @@ Learn how to use the Indexer API, what each table represents, and the architectu
7373
To help get you started, here are the most common queries the Indexer is used for.
7474

7575
<Cards>
76-
<Card href="indexer/fungible-asset-balances">
76+
<Card href="indexer/indexer-api/fungible-asset-balances">
7777
<Card.Title>Get Fungible Asset Balances</Card.Title>
7878
<Card.Description>Get all fungible assets an account currently owns.</Card.Description>
7979
</Card>
80-
<Card href="indexer/account-transactions">
80+
<Card href="indexer/indexer-api/account-transactions">
8181
<Card.Title>Get Account Transactions</Card.Title>
8282
<Card.Description>Get all transactions impacting an account.</Card.Description>
8383
</Card>
84-
<Card href="indexer/ans-lookup">
84+
<Card href="indexer/indexer-api/ans-lookup">
8585
<Card.Title>Get Aptos Name</Card.Title>
8686
<Card.Description>Retrieve the Aptos name associated with an account (via the ANS).</Card.Description>
8787
</Card>
88-
<Card href="indexer/fungible-asset-info">
88+
<Card href="indexer/indexer-api/fungible-asset-info">
8989
<Card.Title>Get Fungible Asset Info</Card.Title>
9090
<Card.Description>Get detailed information about a specific fungible asset.</Card.Description>
9191
</Card>
92-
<Card href="indexer/get-nft-collections">
92+
<Card href="indexer/indexer-api/get-nft-collections">
9393
<Card.Title>Get NFT Collections</Card.Title>
9494
<Card.Description>Retrieve NFT collections owned by a specific account.</Card.Description>
9595
</Card>
96-
<Card href="indexer/get-nfts">
96+
<Card href="indexer/indexer-api/get-nfts">
9797
<Card.Title>Get NFTs</Card.Title>
9898
<Card.Description>Retrieve individual NFTs owned by a specific account.</Card.Description>
9999
</Card>
100-
<Card href="indexer/token-metadata">
100+
<Card href="indexer/indexer-api/token-metadata">
101101
<Card.Title>Get Token Metadata</Card.Title>
102102
<Card.Description>Get metadata information for a specific token.</Card.Description>
103103
</Card>
104-
<Card href="indexer/get-delegators">
104+
<Card href="indexer/indexer-api/get-delegators">
105105
<Card.Title>Count Delegators in Staking Pool</Card.Title>
106106
<Card.Description>Retrieve the number of active delegators in a staking pool.</Card.Description>
107107
</Card>
@@ -112,11 +112,11 @@ To help get you started, here are the most common queries the Indexer is used fo
112112
If the hosted Indexer API is not enough or if you want to index your custom contract, you can create a processor with the [Indexer SDK](./indexer/indexer-sdk.mdx).
113113

114114
<Cards>
115-
<Card href="indexer-sdk/quickstart">
115+
<Card href="indexer/indexer-sdk/quickstart">
116116
<Card.Title>Quickstart Guide</Card.Title>
117117
<Card.Description>Get started with the Indexer SDK</Card.Description>
118118
</Card>
119-
<Card href="indexer-sdk/documentation">
119+
<Card href="indexer/indexer-sdk/documentation">
120120
<Card.Title>Documentation</Card.Title>
121121
<Card.Description>Read documentation about the Indexer SDK</Card.Description>
122122
</Card>

apps/nextra/pages/en/build/indexer/indexer-api.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Aptos Labs hosts a public version of the Indexer GraphQL API that anyone can use
1313

1414
You can explore it by hand by viewing the Hasura Explorer below for the network you are interested in.
1515

16-
You can also access the API via the GraphQL endpoints below. For more information on the format of data in each field / table, please see the [table reference page](indexer-reference.mdx).
16+
You can also access the API via the GraphQL endpoints below. For more information on the format of data in each field / table, please see the [table reference page](./indexer-api/indexer-reference.mdx).
1717

1818
## SDK Access (Primary Method)
1919

@@ -61,5 +61,5 @@ The following rate limit applies for the Aptos Labs hosted indexer API:
6161
If you need a higher rate limit, consider the following solutions:
6262

6363
1. Get an API Key from [API Gateway](https://developers.aptoslabs.com/).
64-
2. Run the Aptos Indexer API yourself. See the guide to self-hosting [here](self-hosted.mdx).
64+
2. Run the Aptos Indexer API yourself. See the guide to self-hosting [here](./txn-stream/self-hosted.mdx).
6565

apps/nextra/pages/en/build/indexer/indexer-api/architecture.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Here is how the Indexer creates that API at a high-level:
2929
/>
3030
</center>
3131

32-
The Indexer uses the [Transaction Stream Service](./txn-stream.mdx) and custom processors written with the [Indexer SDK](./indexer-sdk.mdx) to update a database with rich tables. Then it exposes an API for Aptos apps to access the consolidated data.
32+
The Indexer uses the [Transaction Stream Service](../txn-stream.mdx) and custom processors written with the [Indexer SDK](../indexer-sdk.mdx) to update a database with rich tables. Then it exposes an API for Aptos apps to access the consolidated data.
3333

34-
For situations where you need to go beyond the Aptos hosted Indexer API data, you will want to create a custom processor with the Indexer SDK (./indexer-sdk.mdx).
34+
For situations where you need to go beyond the Aptos hosted Indexer API data, you will want to create a custom processor with the [Indexer SDK](../indexer-sdk.mdx).
3535

3636
Writing a custom processor can help you:
3737
1. Get access to different types of data.

apps/nextra/pages/en/build/indexer/indexer-api/indexer-reference.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Card, Cards } from '@components/index';
88

99
# Indexer API Reference
1010

11-
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](./aptos-hosted.mdx).**
11+
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).**
1212

1313
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.
1414

@@ -24,7 +24,7 @@ If you are looking up a table with the `_by_pk` suffix, search for the table nam
2424
# Indexer Table Reference
2525

2626
<Callout type="info">
27-
Remember to use Ctrl + F to find the table you are interested in! When in doubt, you may also want to query the Hasura tables linked in the [Indexer API Access](./aptos-hosted.mdx) page to see examples of the data inside.
27+
Remember to use Ctrl + F to find the table you are interested in! When in doubt, you may also want to query the Hasura tables linked in the [Indexer API Access](../indexer-api.mdx) page to see examples of the data inside.
2828
</Callout>
2929

3030
## Raw Data
@@ -261,7 +261,7 @@ This tracks the activity of fungible assets. It includes v1 token data.
261261
| metadata | Object | | Use the [Hasura explorer](https://cloud.hasura.io/public/graphiql?endpoint=https://api.mainnet.aptoslabs.com/v1/graphql) to see fields for `metadata` in this table. |
262262
| owner_address | String | | This is an Aptos account address that owns the asset. Addresses must be 66 characters long, and so may be 0 padded. Ex. "0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89" |
263263
| storage_id | String | | Identifier for the storage used in the transaction. IDs must be 66 characters long, and so may be 0 padded. Ex. "0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89" |
264-
| storage_refund_amount | bigint | | Amount refunded for storage after the transaction. This is always in APT [octas](../../network/glossary.mdx#Octa). Ex. 50 |
264+
| storage_refund_amount | bigint | | Amount refunded for storage after the transaction. This is always in APT [octas](../../../network/glossary.mdx#Octa). Ex. 50 |
265265
| token_standard | String | | Aptos standard that the collection adheres to. Ex. "v1" |
266266
| transaction_timestamp | String | | Timestamp when the transaction occurred. Ex. "2024-04-17T02:14:25.68771" |
267267
| transaction_version | bigint | | Blockchain version of the transaction. Ex. 2 |

apps/nextra/pages/en/build/indexer/indexer-api/self-hosted.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ If you're running this from a Docker Desktop environment (which you likely are i
6060

6161
### `indexer_grpc_data_service_address`
6262

63-
This is the URL for the Transaction Stream Service. If you are using the Labs-Hosted instance you can find the URLs for each network at [this page](aptos-hosted.mdx). Make sure to select the correct URL for the network you want to index. If you are running this service locally the value should be `127.0.0.1:50051`.
63+
This is the URL for the Transaction Stream Service. If you are using the Labs-Hosted instance you can find the URLs for each network at [this page](../indexer-api.mdx). Make sure to select the correct URL for the network you want to index. If you are running this service locally the value should be `127.0.0.1:50051`.
6464

6565
### `auth_token`
6666

67-
This is the auth token used to connect to the Transaction Stream Service. If you are using the Labs-Hosted instance you can use the API Gateway to get an API key. Learn more at [this page](aptos-hosted.mdx).
67+
This is the auth token used to connect to the Transaction Stream Service. If you are using the Labs-Hosted instance you can use the API Gateway to get an API key. Learn more at [this page](../indexer-api.mdx).
6868

6969
## Run with source code
7070

apps/nextra/pages/en/build/indexer/indexer-sdk.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ Learn how to use the Indexer SDK through guides and documentation.
2424
<Card.Title>Documentation</Card.Title>
2525
<Card.Description>Read documentation about the Indexer SDK</Card.Description>
2626
</Card>
27-
<Card href="indexer-sdk/advanced-tutorials">
28-
<Card.Title>Advanced Tutorials</Card.Title>
29-
<Card.Description>Learn advanced topics about the Indexer SDK</Card.Description>
30-
</Card>
3127
</Cards>
3228

3329

apps/nextra/pages/en/build/indexer/indexer-sdk/documentation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Each `Step` has an input and output, and the output of each `Step` is connected
3030
</center>
3131

3232
## When to use the Indexer SDK
33-
The Indexer SDK is useful when you want to index a custom contract or you realize you need a new kind of data that isn't available in the [Indexer API](../aptos-hosted.mdx).
33+
The Indexer SDK is useful when you want to index a custom contract or you realize you need a new kind of data that isn't available in the [Indexer API](../indexer-api.mdx).
3434

3535
The general flow to write a custom processor with the Indexer SDK is:
3636
1. Define your database schema

0 commit comments

Comments
 (0)