Skip to content

Commit 4b22ff6

Browse files
nenadjajaNena
andauthored
Add indexer settings and budget description (#90)
* Add indexer settings and budget description * update Co-authored-by: Nena <[email protected]>
1 parent 752ceb0 commit 4b22ff6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pages/en/studio/subgraph-studio.mdx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,20 @@ 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 setting for that that's based on a volume discounting algorithm.
122+
**We strongly recommend using the default settings unless you are experiencing a specific problem.**
123+
Otherwise, you can update it under "Set a custom maximum budget". On this page you can also view different KPIs (in GRT and USD):
124+
- Average cost per query
125+
- Failed queries over max price
126+
- Most expensive query
116127

117128
## How to Manage your Subgraph
118129

0 commit comments

Comments
 (0)