@sentio/api 1.0.2-rc.16 → 1.0.2-rc.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/apis/DebugAndSimulationApi.d.ts +168 -17
- package/dist/src/apis/DebugAndSimulationApi.js +427 -43
- package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
- package/dist/src/apis/ForksApi.d.ts +84 -0
- package/dist/src/apis/ForksApi.js +211 -0
- package/dist/src/apis/ForksApi.js.map +1 -0
- package/dist/src/apis/index.d.ts +1 -0
- package/dist/src/apis/index.js +1 -0
- package/dist/src/apis/index.js.map +1 -1
- package/dist/src/models/SolidityServiceBaseChainConfig.d.ts +3 -2
- package/dist/src/models/SolidityServiceBaseChainConfig.js +3 -2
- package/dist/src/models/SolidityServiceBaseChainConfig.js.map +1 -1
- package/dist/src/models/SolidityServiceChainIdentifier.d.ts +38 -0
- package/dist/src/models/SolidityServiceChainIdentifier.js +44 -0
- package/dist/src/models/SolidityServiceChainIdentifier.js.map +1 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceExternalFork.d.ts +39 -0
- package/dist/src/models/SolidityServiceExternalFork.js +45 -0
- package/dist/src/models/SolidityServiceExternalFork.js.map +1 -0
- package/dist/src/models/SolidityServiceFork.d.ts +77 -0
- package/dist/src/models/SolidityServiceFork.js +59 -0
- package/dist/src/models/SolidityServiceFork.js.map +1 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.d.ts +33 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.js +45 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.d.ts +33 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.js +45 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceForkType.d.ts +25 -0
- package/dist/src/models/SolidityServiceForkType.js +44 -0
- package/dist/src/models/SolidityServiceForkType.js.map +1 -0
- package/dist/src/models/SolidityServiceGetForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceGetForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceGetForkResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceListForksResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceListForksResponse.js +43 -0
- package/dist/src/models/SolidityServiceListForksResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceManagedFork.d.ts +45 -0
- package/dist/src/models/SolidityServiceManagedFork.js +47 -0
- package/dist/src/models/SolidityServiceManagedFork.js.map +1 -0
- package/dist/src/models/SolidityServiceSimulation.d.ts +7 -0
- package/dist/src/models/SolidityServiceSimulation.js +5 -0
- package/dist/src/models/SolidityServiceSimulation.js.map +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.d.ts +32 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js +42 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.d.ts +26 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.js +45 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.js.map +1 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.js.map +1 -0
- package/dist/src/models/index.d.ts +15 -2
- package/dist/src/models/index.js +15 -2
- package/dist/src/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DebugAndSimulationApi.ts +825 -108
- package/src/apis/ForksApi.ts +381 -0
- package/src/apis/index.ts +1 -0
- package/src/models/SolidityServiceBaseChainConfig.ts +14 -4
- package/src/models/SolidityServiceChainIdentifier.ts +73 -0
- package/src/models/SolidityServiceCreateForkResponse.ts +73 -0
- package/src/models/SolidityServiceExternalFork.ts +81 -0
- package/src/models/SolidityServiceFork.ts +145 -0
- package/src/models/SolidityServiceForkServiceCreateForkBody.ts +74 -0
- package/src/models/SolidityServiceForkServiceUpdateForkBody.ts +74 -0
- package/src/models/SolidityServiceForkType.ts +53 -0
- package/src/models/SolidityServiceGetForkResponse.ts +73 -0
- package/src/models/SolidityServiceListForksResponse.ts +73 -0
- package/src/models/SolidityServiceManagedFork.ts +89 -0
- package/src/models/SolidityServiceSimulation.ts +16 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.ts +89 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.ts +65 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.ts +89 -0
- package/src/models/SolidityServiceSourceFetcherType.ts +54 -0
- package/src/models/SolidityServiceUpdateForkResponse.ts +73 -0
- package/src/models/index.ts +15 -2
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.d.ts +0 -45
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js +0 -53
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.d.ts +0 -45
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js +0 -53
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js.map +0 -1
- package/src/models/SolidityServiceSimulateTransactionBundleRequest.ts +0 -92
- package/src/models/SolidityServiceSimulateTransactionRequest.ts +0 -92
|
@@ -10,36 +10,99 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { GoogleApiHttpBody, SolidityServiceGetSimulationBundleResponse, SolidityServiceGetSimulationResponse, SolidityServiceGetSimulationsResponse,
|
|
13
|
+
import type { GoogleApiHttpBody, SolidityServiceGetSimulationBundleResponse, SolidityServiceGetSimulationResponse, SolidityServiceGetSimulationsResponse, SolidityServiceSimulateTransactionBundleResponse, SolidityServiceSimulateTransactionResponse, SolidityServiceSolidityAPIServiceSimulateTransactionBody, SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody, TxindexEvmSearchTransactionsResponse } from '../models/index.js';
|
|
14
14
|
export interface GetCallTraceRequest {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
projectOwner: string;
|
|
16
|
+
projectSlug: string;
|
|
17
|
+
chainSpecChainId: string;
|
|
18
|
+
txIdTxHash: string;
|
|
19
|
+
chainSpecForkId?: string;
|
|
20
|
+
txIdSimulationId?: string;
|
|
21
|
+
txIdBundleId?: string;
|
|
22
|
+
withInternalCalls?: boolean;
|
|
23
|
+
disableOptimizer?: boolean;
|
|
24
|
+
ignoreGasCost?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface GetCallTrace2Request {
|
|
27
|
+
projectOwner: string;
|
|
28
|
+
projectSlug: string;
|
|
29
|
+
chainSpecChainId: string;
|
|
30
|
+
txIdSimulationId: string;
|
|
31
|
+
chainSpecForkId?: string;
|
|
32
|
+
txIdTxHash?: string;
|
|
33
|
+
txIdBundleId?: string;
|
|
34
|
+
withInternalCalls?: boolean;
|
|
35
|
+
disableOptimizer?: boolean;
|
|
36
|
+
ignoreGasCost?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface GetCallTrace3Request {
|
|
39
|
+
projectOwner: string;
|
|
40
|
+
projectSlug: string;
|
|
41
|
+
chainSpecChainId: string;
|
|
42
|
+
txIdBundleId: string;
|
|
43
|
+
chainSpecForkId?: string;
|
|
18
44
|
txIdTxHash?: string;
|
|
19
45
|
txIdSimulationId?: string;
|
|
46
|
+
withInternalCalls?: boolean;
|
|
47
|
+
disableOptimizer?: boolean;
|
|
48
|
+
ignoreGasCost?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface GetCallTrace4Request {
|
|
51
|
+
projectOwner: string;
|
|
52
|
+
projectSlug: string;
|
|
53
|
+
chainSpecForkId: string;
|
|
54
|
+
txIdTxHash: string;
|
|
55
|
+
chainSpecChainId?: string;
|
|
56
|
+
txIdSimulationId?: string;
|
|
57
|
+
txIdBundleId?: string;
|
|
58
|
+
withInternalCalls?: boolean;
|
|
59
|
+
disableOptimizer?: boolean;
|
|
60
|
+
ignoreGasCost?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface GetCallTrace5Request {
|
|
63
|
+
projectOwner: string;
|
|
64
|
+
projectSlug: string;
|
|
65
|
+
chainSpecForkId: string;
|
|
66
|
+
txIdSimulationId: string;
|
|
67
|
+
chainSpecChainId?: string;
|
|
68
|
+
txIdTxHash?: string;
|
|
20
69
|
txIdBundleId?: string;
|
|
70
|
+
withInternalCalls?: boolean;
|
|
21
71
|
disableOptimizer?: boolean;
|
|
72
|
+
ignoreGasCost?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface GetCallTrace6Request {
|
|
75
|
+
projectOwner: string;
|
|
76
|
+
projectSlug: string;
|
|
77
|
+
chainSpecForkId: string;
|
|
78
|
+
txIdBundleId: string;
|
|
79
|
+
chainSpecChainId?: string;
|
|
80
|
+
txIdTxHash?: string;
|
|
81
|
+
txIdSimulationId?: string;
|
|
22
82
|
withInternalCalls?: boolean;
|
|
83
|
+
disableOptimizer?: boolean;
|
|
23
84
|
ignoreGasCost?: boolean;
|
|
24
85
|
}
|
|
25
86
|
export interface GetSimulationRequest {
|
|
87
|
+
projectOwner: string;
|
|
88
|
+
projectSlug: string;
|
|
26
89
|
simulationId: string;
|
|
27
|
-
projectOwner?: string;
|
|
28
|
-
projectSlug?: string;
|
|
29
90
|
}
|
|
30
|
-
export interface
|
|
91
|
+
export interface GetSimulationBundleInProjectRequest {
|
|
92
|
+
projectOwner: string;
|
|
93
|
+
projectSlug: string;
|
|
31
94
|
bundleId: string;
|
|
32
|
-
projectOwner?: string;
|
|
33
|
-
projectSlug?: string;
|
|
34
95
|
}
|
|
35
96
|
export interface GetSimulationsRequest {
|
|
36
|
-
projectOwner
|
|
37
|
-
projectSlug
|
|
97
|
+
projectOwner: string;
|
|
98
|
+
projectSlug: string;
|
|
38
99
|
labelContains?: string;
|
|
39
100
|
page?: number;
|
|
40
101
|
pageSize?: number;
|
|
41
102
|
}
|
|
42
103
|
export interface SearchTransactionsRequest {
|
|
104
|
+
projectOwner: string;
|
|
105
|
+
projectSlug: string;
|
|
43
106
|
chainId?: Array<string>;
|
|
44
107
|
address?: Array<string>;
|
|
45
108
|
includeDirect?: boolean;
|
|
@@ -56,10 +119,28 @@ export interface SearchTransactionsRequest {
|
|
|
56
119
|
pageToken?: string;
|
|
57
120
|
}
|
|
58
121
|
export interface SimulateTransactionRequest {
|
|
59
|
-
|
|
122
|
+
projectOwner: string;
|
|
123
|
+
projectSlug: string;
|
|
124
|
+
chainSpecChainId: string;
|
|
125
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
126
|
+
}
|
|
127
|
+
export interface SimulateTransaction2Request {
|
|
128
|
+
projectOwner: string;
|
|
129
|
+
projectSlug: string;
|
|
130
|
+
chainSpecForkId: string;
|
|
131
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
60
132
|
}
|
|
61
133
|
export interface SimulateTransactionBundleRequest {
|
|
62
|
-
|
|
134
|
+
projectOwner: string;
|
|
135
|
+
projectSlug: string;
|
|
136
|
+
chainSpecChainId: string;
|
|
137
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
|
|
138
|
+
}
|
|
139
|
+
export interface SimulateTransactionBundle2Request {
|
|
140
|
+
projectOwner: string;
|
|
141
|
+
projectSlug: string;
|
|
142
|
+
chainSpecForkId: string;
|
|
143
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
|
|
63
144
|
}
|
|
64
145
|
/**
|
|
65
146
|
*
|
|
@@ -75,6 +156,56 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
75
156
|
* Get indexed call trace
|
|
76
157
|
*/
|
|
77
158
|
getCallTrace(requestParameters: GetCallTraceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
159
|
+
/**
|
|
160
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
161
|
+
* Get indexed call trace
|
|
162
|
+
*/
|
|
163
|
+
getCallTrace2Raw(requestParameters: GetCallTrace2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
164
|
+
/**
|
|
165
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
166
|
+
* Get indexed call trace
|
|
167
|
+
*/
|
|
168
|
+
getCallTrace2(requestParameters: GetCallTrace2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
169
|
+
/**
|
|
170
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
171
|
+
* Get indexed call trace
|
|
172
|
+
*/
|
|
173
|
+
getCallTrace3Raw(requestParameters: GetCallTrace3Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
174
|
+
/**
|
|
175
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
176
|
+
* Get indexed call trace
|
|
177
|
+
*/
|
|
178
|
+
getCallTrace3(requestParameters: GetCallTrace3Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
179
|
+
/**
|
|
180
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
181
|
+
* Get indexed call trace
|
|
182
|
+
*/
|
|
183
|
+
getCallTrace4Raw(requestParameters: GetCallTrace4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
184
|
+
/**
|
|
185
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
186
|
+
* Get indexed call trace
|
|
187
|
+
*/
|
|
188
|
+
getCallTrace4(requestParameters: GetCallTrace4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
189
|
+
/**
|
|
190
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
191
|
+
* Get indexed call trace
|
|
192
|
+
*/
|
|
193
|
+
getCallTrace5Raw(requestParameters: GetCallTrace5Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
194
|
+
/**
|
|
195
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
196
|
+
* Get indexed call trace
|
|
197
|
+
*/
|
|
198
|
+
getCallTrace5(requestParameters: GetCallTrace5Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
199
|
+
/**
|
|
200
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
201
|
+
* Get indexed call trace
|
|
202
|
+
*/
|
|
203
|
+
getCallTrace6Raw(requestParameters: GetCallTrace6Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
204
|
+
/**
|
|
205
|
+
* 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. 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. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
206
|
+
* Get indexed call trace
|
|
207
|
+
*/
|
|
208
|
+
getCallTrace6(requestParameters: GetCallTrace6Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
78
209
|
/**
|
|
79
210
|
* Get a simulation by id
|
|
80
211
|
*/
|
|
@@ -86,11 +217,11 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
86
217
|
/**
|
|
87
218
|
* Get a bundle simulation by id
|
|
88
219
|
*/
|
|
89
|
-
|
|
220
|
+
getSimulationBundleInProjectRaw(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationBundleResponse>>;
|
|
90
221
|
/**
|
|
91
222
|
* Get a bundle simulation by id
|
|
92
223
|
*/
|
|
93
|
-
|
|
224
|
+
getSimulationBundleInProject(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationBundleResponse>;
|
|
94
225
|
/**
|
|
95
226
|
* Get existing transaction simulations
|
|
96
227
|
*/
|
|
@@ -98,7 +229,7 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
98
229
|
/**
|
|
99
230
|
* Get existing transaction simulations
|
|
100
231
|
*/
|
|
101
|
-
getSimulations(requestParameters
|
|
232
|
+
getSimulations(requestParameters: GetSimulationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationsResponse>;
|
|
102
233
|
/**
|
|
103
234
|
* Search for transactions
|
|
104
235
|
*/
|
|
@@ -106,7 +237,7 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
106
237
|
/**
|
|
107
238
|
* Search for transactions
|
|
108
239
|
*/
|
|
109
|
-
searchTransactions(requestParameters
|
|
240
|
+
searchTransactions(requestParameters: SearchTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TxindexEvmSearchTransactionsResponse>;
|
|
110
241
|
/**
|
|
111
242
|
* Create a new transaction simulation. The simulation body should be included in the request body. 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.
|
|
112
243
|
* Single simulation
|
|
@@ -117,6 +248,16 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
117
248
|
* Single simulation
|
|
118
249
|
*/
|
|
119
250
|
simulateTransaction(requestParameters: SimulateTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse>;
|
|
251
|
+
/**
|
|
252
|
+
* Create a new transaction simulation. The simulation body should be included in the request body. 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.
|
|
253
|
+
* Single simulation
|
|
254
|
+
*/
|
|
255
|
+
simulateTransaction2Raw(requestParameters: SimulateTransaction2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionResponse>>;
|
|
256
|
+
/**
|
|
257
|
+
* Create a new transaction simulation. The simulation body should be included in the request body. 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.
|
|
258
|
+
* Single simulation
|
|
259
|
+
*/
|
|
260
|
+
simulateTransaction2(requestParameters: SimulateTransaction2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse>;
|
|
120
261
|
/**
|
|
121
262
|
* 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.
|
|
122
263
|
* Bundle simulation
|
|
@@ -127,4 +268,14 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
127
268
|
* Bundle simulation
|
|
128
269
|
*/
|
|
129
270
|
simulateTransactionBundle(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
271
|
+
/**
|
|
272
|
+
* 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.
|
|
273
|
+
* Bundle simulation
|
|
274
|
+
*/
|
|
275
|
+
simulateTransactionBundle2Raw(requestParameters: SimulateTransactionBundle2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>>;
|
|
276
|
+
/**
|
|
277
|
+
* 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.
|
|
278
|
+
* Bundle simulation
|
|
279
|
+
*/
|
|
280
|
+
simulateTransactionBundle2(requestParameters: SimulateTransactionBundle2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
130
281
|
}
|