@sentio/api 1.0.2-rc.21 → 1.0.2-rc.23
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 +86 -114
- package/dist/src/apis/DebugAndSimulationApi.js +162 -190
- package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
- package/dist/src/apis/ForksApi.d.ts +12 -12
- package/dist/src/apis/ForksApi.js +30 -30
- package/dist/src/apis/ForksApi.js.map +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.d.ts +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js +2 -2
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js.map +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.d.ts +32 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js +42 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.js.map +1 -0
- package/dist/src/models/index.d.ts +3 -0
- package/dist/src/models/index.js +3 -0
- package/dist/src/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DebugAndSimulationApi.ts +277 -299
- package/src/apis/ForksApi.ts +54 -54
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.ts +3 -3
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.ts +89 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.ts +65 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.ts +89 -0
- package/src/models/index.ts +3 -0
|
@@ -10,48 +10,48 @@
|
|
|
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, SolidityServiceSimulateTransactionBundleResponse, SolidityServiceSimulateTransactionResponse, SolidityServiceSolidityAPIServiceSimulateTransactionBody, SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody, TxindexEvmSearchTransactionsResponse } from '../models/index.js';
|
|
14
|
-
export interface
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
import type { GoogleApiHttpBody, SolidityServiceGetSimulationBundleResponse, SolidityServiceGetSimulationResponse, SolidityServiceGetSimulationsResponse, SolidityServiceSimulateTransactionBundleResponse, SolidityServiceSimulateTransactionResponse, SolidityServiceSolidityAPIServiceSimulateTransactionBody, SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody, SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody, SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody, TxindexEvmSearchTransactionsResponse } from '../models/index.js';
|
|
14
|
+
export interface GetCallTraceByBundleRequest {
|
|
15
|
+
owner: string;
|
|
16
|
+
slug: string;
|
|
17
|
+
chainId: string;
|
|
18
|
+
bundleId: string;
|
|
19
19
|
chainSpecForkId?: string;
|
|
20
|
+
txIdTxHash?: string;
|
|
20
21
|
txIdSimulationId?: string;
|
|
21
|
-
txIdBundleId?: string;
|
|
22
22
|
withInternalCalls?: boolean;
|
|
23
23
|
disableOptimizer?: boolean;
|
|
24
24
|
ignoreGasCost?: boolean;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
export interface GetCallTraceByForkBundleRequest {
|
|
27
|
+
owner: string;
|
|
28
|
+
slug: string;
|
|
29
|
+
forkId: string;
|
|
30
|
+
bundleId: string;
|
|
31
|
+
chainSpecChainId?: string;
|
|
32
32
|
txIdTxHash?: string;
|
|
33
|
-
|
|
33
|
+
txIdSimulationId?: string;
|
|
34
34
|
withInternalCalls?: boolean;
|
|
35
35
|
disableOptimizer?: boolean;
|
|
36
36
|
ignoreGasCost?: boolean;
|
|
37
37
|
}
|
|
38
|
-
export interface
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
export interface GetCallTraceByForkSimulationRequest {
|
|
39
|
+
owner: string;
|
|
40
|
+
slug: string;
|
|
41
|
+
forkId: string;
|
|
42
|
+
simulationId: string;
|
|
43
|
+
chainSpecChainId?: string;
|
|
44
44
|
txIdTxHash?: string;
|
|
45
|
-
|
|
45
|
+
txIdBundleId?: string;
|
|
46
46
|
withInternalCalls?: boolean;
|
|
47
47
|
disableOptimizer?: boolean;
|
|
48
48
|
ignoreGasCost?: boolean;
|
|
49
49
|
}
|
|
50
|
-
export interface
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
export interface GetCallTraceByForkTransactionRequest {
|
|
51
|
+
owner: string;
|
|
52
|
+
slug: string;
|
|
53
|
+
forkId: string;
|
|
54
|
+
txHash: string;
|
|
55
55
|
chainSpecChainId?: string;
|
|
56
56
|
txIdSimulationId?: string;
|
|
57
57
|
txIdBundleId?: string;
|
|
@@ -59,50 +59,50 @@ export interface GetCallTrace4Request {
|
|
|
59
59
|
disableOptimizer?: boolean;
|
|
60
60
|
ignoreGasCost?: boolean;
|
|
61
61
|
}
|
|
62
|
-
export interface
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
export interface GetCallTraceBySimulationRequest {
|
|
63
|
+
owner: string;
|
|
64
|
+
slug: string;
|
|
65
|
+
chainId: string;
|
|
66
|
+
simulationId: string;
|
|
67
|
+
chainSpecForkId?: string;
|
|
68
68
|
txIdTxHash?: string;
|
|
69
69
|
txIdBundleId?: string;
|
|
70
70
|
withInternalCalls?: boolean;
|
|
71
71
|
disableOptimizer?: boolean;
|
|
72
72
|
ignoreGasCost?: boolean;
|
|
73
73
|
}
|
|
74
|
-
export interface
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
txIdTxHash?: string;
|
|
74
|
+
export interface GetCallTraceByTransactionRequest {
|
|
75
|
+
owner: string;
|
|
76
|
+
slug: string;
|
|
77
|
+
chainId: string;
|
|
78
|
+
txHash: string;
|
|
79
|
+
chainSpecForkId?: string;
|
|
81
80
|
txIdSimulationId?: string;
|
|
81
|
+
txIdBundleId?: string;
|
|
82
82
|
withInternalCalls?: boolean;
|
|
83
83
|
disableOptimizer?: boolean;
|
|
84
84
|
ignoreGasCost?: boolean;
|
|
85
85
|
}
|
|
86
86
|
export interface GetSimulationRequest {
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
owner: string;
|
|
88
|
+
slug: string;
|
|
89
89
|
simulationId: string;
|
|
90
90
|
}
|
|
91
91
|
export interface GetSimulationBundleInProjectRequest {
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
owner: string;
|
|
93
|
+
slug: string;
|
|
94
94
|
bundleId: string;
|
|
95
95
|
}
|
|
96
96
|
export interface GetSimulationsRequest {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
owner: string;
|
|
98
|
+
slug: string;
|
|
99
99
|
labelContains?: string;
|
|
100
100
|
page?: number;
|
|
101
101
|
pageSize?: number;
|
|
102
102
|
}
|
|
103
103
|
export interface SearchTransactionsRequest {
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
owner: string;
|
|
105
|
+
slug: string;
|
|
106
106
|
chainId?: Array<string>;
|
|
107
107
|
address?: Array<string>;
|
|
108
108
|
includeDirect?: boolean;
|
|
@@ -119,93 +119,73 @@ export interface SearchTransactionsRequest {
|
|
|
119
119
|
pageToken?: string;
|
|
120
120
|
}
|
|
121
121
|
export interface SimulateTransactionRequest {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
126
|
-
}
|
|
127
|
-
export interface SimulateTransaction2Request {
|
|
128
|
-
projectOwner: string;
|
|
129
|
-
projectSlug: string;
|
|
130
|
-
chainSpecForkId: string;
|
|
122
|
+
owner: string;
|
|
123
|
+
slug: string;
|
|
124
|
+
chainId: string;
|
|
131
125
|
body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
132
126
|
}
|
|
133
127
|
export interface SimulateTransactionBundleRequest {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
128
|
+
owner: string;
|
|
129
|
+
slug: string;
|
|
130
|
+
chainId: string;
|
|
137
131
|
body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
|
|
138
132
|
}
|
|
139
|
-
export interface
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
body:
|
|
133
|
+
export interface SimulateTransactionBundleByForkRequest {
|
|
134
|
+
owner: string;
|
|
135
|
+
slug: string;
|
|
136
|
+
forkId: string;
|
|
137
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody;
|
|
138
|
+
}
|
|
139
|
+
export interface SimulateTransactionByForkRequest {
|
|
140
|
+
owner: string;
|
|
141
|
+
slug: string;
|
|
142
|
+
forkId: string;
|
|
143
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody;
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
*/
|
|
148
148
|
export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
149
149
|
/**
|
|
150
|
-
* 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)
|
|
151
|
-
* Get indexed call trace
|
|
152
150
|
*/
|
|
153
|
-
|
|
151
|
+
getCallTraceByBundleRaw(requestParameters: GetCallTraceByBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
154
152
|
/**
|
|
155
|
-
* 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)
|
|
156
|
-
* Get indexed call trace
|
|
157
153
|
*/
|
|
158
|
-
|
|
154
|
+
getCallTraceByBundle(requestParameters: GetCallTraceByBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
159
155
|
/**
|
|
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
156
|
*/
|
|
163
|
-
|
|
157
|
+
getCallTraceByForkBundleRaw(requestParameters: GetCallTraceByForkBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
164
158
|
/**
|
|
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
159
|
*/
|
|
168
|
-
|
|
160
|
+
getCallTraceByForkBundle(requestParameters: GetCallTraceByForkBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
169
161
|
/**
|
|
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
162
|
*/
|
|
173
|
-
|
|
163
|
+
getCallTraceByForkSimulationRaw(requestParameters: GetCallTraceByForkSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
174
164
|
/**
|
|
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
165
|
*/
|
|
178
|
-
|
|
166
|
+
getCallTraceByForkSimulation(requestParameters: GetCallTraceByForkSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
179
167
|
/**
|
|
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
168
|
*/
|
|
183
|
-
|
|
169
|
+
getCallTraceByForkTransactionRaw(requestParameters: GetCallTraceByForkTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
184
170
|
/**
|
|
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
171
|
*/
|
|
188
|
-
|
|
172
|
+
getCallTraceByForkTransaction(requestParameters: GetCallTraceByForkTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
189
173
|
/**
|
|
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
174
|
*/
|
|
193
|
-
|
|
175
|
+
getCallTraceBySimulationRaw(requestParameters: GetCallTraceBySimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
194
176
|
/**
|
|
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
177
|
*/
|
|
198
|
-
|
|
178
|
+
getCallTraceBySimulation(requestParameters: GetCallTraceBySimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
199
179
|
/**
|
|
200
|
-
* API to get Sentio call trace. It takes `txId.txHash` and `
|
|
180
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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
181
|
* Get indexed call trace
|
|
202
182
|
*/
|
|
203
|
-
|
|
183
|
+
getCallTraceByTransactionRaw(requestParameters: GetCallTraceByTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
204
184
|
/**
|
|
205
|
-
* API to get Sentio call trace. It takes `txId.txHash` and `
|
|
185
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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
186
|
* Get indexed call trace
|
|
207
187
|
*/
|
|
208
|
-
|
|
188
|
+
getCallTraceByTransaction(requestParameters: GetCallTraceByTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
209
189
|
/**
|
|
210
190
|
* Get a simulation by id
|
|
211
191
|
*/
|
|
@@ -248,16 +228,6 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
248
228
|
* Single simulation
|
|
249
229
|
*/
|
|
250
230
|
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>;
|
|
261
231
|
/**
|
|
262
232
|
* 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.
|
|
263
233
|
* Bundle simulation
|
|
@@ -269,13 +239,15 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
269
239
|
*/
|
|
270
240
|
simulateTransactionBundle(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
271
241
|
/**
|
|
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
242
|
*/
|
|
275
|
-
|
|
243
|
+
simulateTransactionBundleByForkRaw(requestParameters: SimulateTransactionBundleByForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>>;
|
|
244
|
+
/**
|
|
245
|
+
*/
|
|
246
|
+
simulateTransactionBundleByFork(requestParameters: SimulateTransactionBundleByForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
247
|
+
/**
|
|
248
|
+
*/
|
|
249
|
+
simulateTransactionByForkRaw(requestParameters: SimulateTransactionByForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionResponse>>;
|
|
276
250
|
/**
|
|
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
251
|
*/
|
|
280
|
-
|
|
252
|
+
simulateTransactionByFork(requestParameters: SimulateTransactionByForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse>;
|
|
281
253
|
}
|