Skip to content

Commit 51a7e55

Browse files
author
Nena
committed
Add indexer settings and budget description
1 parent 860a8e4 commit 51a7e55

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pages/en/studio/subgraph-studio.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,19 @@ The Studio will list out existing API keys, which will give you the ability to m
110110
- View the current usage of the API key with stats:
111111
- Number of queries
112112
- Amount of GRT spent
113-
2. Under **Manage Security Settings**, you’ll be able to opt into security settings depending on the level of control you’d like to have over your API keys. In this section, you can:
113+
2. Under **Security**, you’ll be able to opt into security settings depending on the level of control you’d like to have over your API keys. In this section, you can:
114114
- View and manage the domain names authorized to use your API key
115115
- Assign subgraphs that can be queried with your API key
116+
3. Under **Indexer Preference**, you’ll be able to set different preferences for Indexers who are indexing subgraphs that your API key is used for. You can assign up to 5 points for each of these:
117+
- **Fastest Speed**: Time between the query and the response from an indexer. If you mark this as important we will optimize for fast indexers.
118+
- **Lowest Price**: The amount paid per query. If you mark this as important we will optimize for the less expensive indexers.
119+
- **Data Freshness**: How recent the latest block an indexer has processed for the subgraph you are querying. If you mark this as important we will optimize to find the indexers with the freshest data.
120+
- **Economic Security**: The amount of GRT an indexer can lose if they respond incorrectly to your query. If you mark this as important we will optimize for indexers with a large stake.
121+
4. Under **Budget**, you’ll be able to update the maximum price per query. Note that we have a dynamic settings for that that's based on a volume discounting algorithm. We strongly recommend using this default settings.
122+
Otherwise, you can update it under "Set a custom maximum budget". On this page you can also view different KPIs (in GRT and USD):
123+
- Average cost per query
124+
- Failed queries over max price
125+
- Most expensive query
116126

117127
## How to Manage your Subgraph
118128

0 commit comments

Comments
 (0)