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
Copy file name to clipboardExpand all lines: doc/index.html
+29-14Lines changed: 29 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -4720,7 +4720,10 @@ <h1>executeSQL</h1>
4720
4720
<div class="pull-right"></div>
4721
4721
<div class="clearfix"></div>
4722
4722
<p></p>
4723
-
<p class="marked">Execute SQL in a project.
4723
+
<p class="marked">Execute SQL in a project. Go to "Data Studio" -> "SQL Editor", write your query and then click "Export as cURL"
<p class="marked">Execute SQL in a project. Go to "Data Studio" -> "SQL Editor", write your query and then click "Export as cURL"
<p class="marked">API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID.
11582
+
11583
+
The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
11584
+
11585
+
This allows you to build chart that marks the order of fund flow.
<p class="marked">Create a new transaction simulation. The simulation body should be included in the request body.
14446
+
Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.</p>
<p class="marked">You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.</p>
Copy file name to clipboardExpand all lines: openapi.json
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
"/api/v1/analytics/sql/execute": {
16
16
"post": {
17
17
"summary": "Execute SQL",
18
-
"description": "Execute SQL in a project.\nFind more: https://docs.sentio.xyz/docs/data-api#sql-api",
18
+
"description": "Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\"\n\n.png)\n\nFind more: https://docs.sentio.xyz/docs/data-api#sql-api",
19
19
"operationId": "ExecuteSQL2",
20
20
"responses": {
21
21
"200": {
@@ -47,7 +47,7 @@
47
47
"/api/v1/analytics/{owner}/{slug}/sql/execute": {
48
48
"post": {
49
49
"summary": "Execute SQL",
50
-
"description": "Execute SQL in a project.\nFind more: https://docs.sentio.xyz/docs/data-api#sql-api",
50
+
"description": "Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\"\n\n.png)\n\nFind more: https://docs.sentio.xyz/docs/data-api#sql-api",
51
51
"operationId": "ExecuteSQL",
52
52
"responses": {
53
53
"200": {
@@ -621,6 +621,7 @@
621
621
"/api/v1/metrics/{owner}/{slug}/query_range": {
622
622
"post": {
623
623
"summary": "Metric range queries",
624
+
"description": "The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.\n\n.png)",
624
625
"operationId": "ObservabilityService_QueryRange",
625
626
"responses": {
626
627
"200": {
@@ -662,6 +663,7 @@
662
663
"/api/v1/solidity/call_trace": {
663
664
"get": {
664
665
"summary": "Get indexed call trace",
666
+
"description": "API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID.\n\nThe results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.\n\nThis allows you to build chart that marks the order of fund flow.\n\n%20(1)%20(1)%20(1).png)",
665
667
"operationId": "GetCallTrace",
666
668
"responses": {
667
669
"200": {
@@ -901,7 +903,8 @@
901
903
]
902
904
},
903
905
"post": {
904
-
"summary": "Create a new transaction simulation",
906
+
"summary": "Single simulation",
907
+
"description": "Create a new transaction simulation. The simulation body should be included in the request body.\nYour simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.",
905
908
"operationId": "SimulateTransaction",
906
909
"responses": {
907
910
"200": {
@@ -965,7 +968,8 @@
965
968
},
966
969
"/api/v1/solidity/simulate_bundle": {
967
970
"post": {
968
-
"summary": "Create a new bundle simulation",
971
+
"summary": "Bundle simulation",
972
+
"description": "You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.",
* Execute SQL in a project. Find more: https://docs.sentio.xyz/docs/data-api#sql-api
175
+
* Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\" .png) Find more: https://docs.sentio.xyz/docs/data-api#sql-api
@@ -219,7 +219,7 @@ export class DataApi extends runtime.BaseAPI {
219
219
}
220
220
221
221
/**
222
-
* Execute SQL in a project. Find more: https://docs.sentio.xyz/docs/data-api#sql-api
222
+
* Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\" .png) Find more: https://docs.sentio.xyz/docs/data-api#sql-api
@@ -228,7 +228,7 @@ export class DataApi extends runtime.BaseAPI {
228
228
}
229
229
230
230
/**
231
-
* Execute SQL in a project. Find more: https://docs.sentio.xyz/docs/data-api#sql-api
231
+
* Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\" .png) Find more: https://docs.sentio.xyz/docs/data-api#sql-api
@@ -261,7 +261,7 @@ export class DataApi extends runtime.BaseAPI {
261
261
}
262
262
263
263
/**
264
-
* Execute SQL in a project. Find more: https://docs.sentio.xyz/docs/data-api#sql-api
264
+
* Execute SQL in a project. Go to \"Data Studio\" -> \"SQL Editor\", write your query and then click \"Export as cURL\" .png) Find more: https://docs.sentio.xyz/docs/data-api#sql-api
@@ -492,6 +492,7 @@ export class DataApi extends runtime.BaseAPI {
492
492
}
493
493
494
494
/**
495
+
* The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**. .png)
@@ -538,6 +539,7 @@ export class DataApi extends runtime.BaseAPI {
538
539
}
539
540
540
541
/**
542
+
* The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**. .png)
0 commit comments