@circle-fin/smart-contract-platform 9.6.0 → 10.0.0
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/package.json +1 -1
- package/dist/smart-contract-platform.cjs.js +0 -43
- package/dist/smart-contract-platform.es.js +0 -43
- package/dist/types/clients/configurations.d.ts +0 -1614
- package/dist/types/clients/core.d.ts +0 -357
- package/dist/types/clients/smart-contract-platform.d.ts +0 -2426
- package/dist/types/smart-contract-platform.d.ts +0 -601
|
@@ -1,2426 +0,0 @@
|
|
|
1
|
-
import * as axios from 'axios';
|
|
2
|
-
import { AxiosRequestConfig, AxiosInstance, AxiosPromise } from 'axios';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6
|
-
* https://openapi-generator.tech
|
|
7
|
-
* Do not edit the class manually.
|
|
8
|
-
*/
|
|
9
|
-
interface ConfigurationParameters {
|
|
10
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
11
|
-
username?: string;
|
|
12
|
-
password?: string;
|
|
13
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
14
|
-
basePath?: string;
|
|
15
|
-
serverIndex?: number;
|
|
16
|
-
baseOptions?: any;
|
|
17
|
-
formDataCtor?: new () => any;
|
|
18
|
-
}
|
|
19
|
-
declare class Configuration {
|
|
20
|
-
/**
|
|
21
|
-
* parameter for apiKey security
|
|
22
|
-
* @param name security name
|
|
23
|
-
* @memberof Configuration
|
|
24
|
-
*/
|
|
25
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
26
|
-
/**
|
|
27
|
-
* parameter for basic security
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof Configuration
|
|
31
|
-
*/
|
|
32
|
-
username?: string;
|
|
33
|
-
/**
|
|
34
|
-
* parameter for basic security
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Configuration
|
|
38
|
-
*/
|
|
39
|
-
password?: string;
|
|
40
|
-
/**
|
|
41
|
-
* parameter for oauth2 security
|
|
42
|
-
* @param name security name
|
|
43
|
-
* @param scopes oauth2 scope
|
|
44
|
-
* @memberof Configuration
|
|
45
|
-
*/
|
|
46
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
47
|
-
/**
|
|
48
|
-
* override base path
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof Configuration
|
|
52
|
-
*/
|
|
53
|
-
basePath?: string;
|
|
54
|
-
/**
|
|
55
|
-
* override server index
|
|
56
|
-
*
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof Configuration
|
|
59
|
-
*/
|
|
60
|
-
serverIndex?: number;
|
|
61
|
-
/**
|
|
62
|
-
* base options for axios calls
|
|
63
|
-
*
|
|
64
|
-
* @type {any}
|
|
65
|
-
* @memberof Configuration
|
|
66
|
-
*/
|
|
67
|
-
baseOptions?: any;
|
|
68
|
-
/**
|
|
69
|
-
* The FormData constructor that will be used to create multipart form data
|
|
70
|
-
* requests. You can inject this here so that execution environments that
|
|
71
|
-
* do not support the FormData class can still run the generated client.
|
|
72
|
-
*
|
|
73
|
-
* @type {new () => FormData}
|
|
74
|
-
*/
|
|
75
|
-
formDataCtor?: new () => any;
|
|
76
|
-
constructor(param?: ConfigurationParameters);
|
|
77
|
-
/**
|
|
78
|
-
* Check if the given MIME is a JSON MIME.
|
|
79
|
-
* JSON MIME examples:
|
|
80
|
-
* application/json
|
|
81
|
-
* application/json; charset=UTF8
|
|
82
|
-
* APPLICATION/JSON
|
|
83
|
-
* application/vnd.company+json
|
|
84
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
85
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
86
|
-
*/
|
|
87
|
-
isJsonMime(mime: string): boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
92
|
-
* https://openapi-generator.tech
|
|
93
|
-
* Do not edit the class manually.
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @export
|
|
99
|
-
* @interface RequestArgs
|
|
100
|
-
*/
|
|
101
|
-
interface RequestArgs {
|
|
102
|
-
url: string;
|
|
103
|
-
options: AxiosRequestConfig;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @export
|
|
108
|
-
* @class BaseAPI
|
|
109
|
-
*/
|
|
110
|
-
declare class BaseAPI {
|
|
111
|
-
protected basePath: string;
|
|
112
|
-
protected axios: AxiosInstance;
|
|
113
|
-
protected configuration: Configuration | undefined;
|
|
114
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
119
|
-
* https://openapi-generator.tech
|
|
120
|
-
* Do not edit the class manually.
|
|
121
|
-
*/
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @export
|
|
125
|
-
* @interface AbiParametersInner
|
|
126
|
-
*/
|
|
127
|
-
interface AbiParametersInner {
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
132
|
-
* https://openapi-generator.tech
|
|
133
|
-
* Do not edit the class manually.
|
|
134
|
-
*/
|
|
135
|
-
/**
|
|
136
|
-
* The blockchain network that the resource is to be created on or is currently on. Required along with `sourceAddress` if you don\'t provide `walletId`. The `blockchain` and `walletId` fields are mutually exclusive.
|
|
137
|
-
* @export
|
|
138
|
-
* @enum {string}
|
|
139
|
-
*/
|
|
140
|
-
declare const Blockchain: {
|
|
141
|
-
readonly Eth: "ETH";
|
|
142
|
-
readonly EthSepolia: "ETH-SEPOLIA";
|
|
143
|
-
readonly Matic: "MATIC";
|
|
144
|
-
readonly MaticAmoy: "MATIC-AMOY";
|
|
145
|
-
readonly Arb: "ARB";
|
|
146
|
-
readonly ArbSepolia: "ARB-SEPOLIA";
|
|
147
|
-
readonly Uni: "UNI";
|
|
148
|
-
readonly UniSepolia: "UNI-SEPOLIA";
|
|
149
|
-
readonly Base: "BASE";
|
|
150
|
-
readonly BaseSepolia: "BASE-SEPOLIA";
|
|
151
|
-
readonly Op: "OP";
|
|
152
|
-
readonly OpSepolia: "OP-SEPOLIA";
|
|
153
|
-
readonly Avax: "AVAX";
|
|
154
|
-
readonly AvaxFuji: "AVAX-FUJI";
|
|
155
|
-
readonly ArcTestnet: "ARC-TESTNET";
|
|
156
|
-
readonly Monad: "MONAD";
|
|
157
|
-
readonly MonadTestnet: "MONAD-TESTNET";
|
|
158
|
-
};
|
|
159
|
-
type Blockchain = typeof Blockchain[keyof typeof Blockchain];
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
163
|
-
* https://openapi-generator.tech
|
|
164
|
-
* Do not edit the class manually.
|
|
165
|
-
*/
|
|
166
|
-
/**
|
|
167
|
-
* The input type for the contract.
|
|
168
|
-
* @export
|
|
169
|
-
* @enum {string}
|
|
170
|
-
*/
|
|
171
|
-
declare const ContractInputType: {
|
|
172
|
-
readonly Import: "IMPORT";
|
|
173
|
-
readonly Bytecode: "BYTECODE";
|
|
174
|
-
readonly Template: "TEMPLATE";
|
|
175
|
-
readonly AutoImport: "AUTO_IMPORT";
|
|
176
|
-
};
|
|
177
|
-
type ContractInputType = typeof ContractInputType[keyof typeof ContractInputType];
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
181
|
-
* https://openapi-generator.tech
|
|
182
|
-
* Do not edit the class manually.
|
|
183
|
-
*/
|
|
184
|
-
/**
|
|
185
|
-
* The status of the contract.
|
|
186
|
-
* @export
|
|
187
|
-
* @enum {string}
|
|
188
|
-
*/
|
|
189
|
-
declare const ContractStatus: {
|
|
190
|
-
readonly Pending: "PENDING";
|
|
191
|
-
readonly Failed: "FAILED";
|
|
192
|
-
readonly Complete: "COMPLETE";
|
|
193
|
-
};
|
|
194
|
-
type ContractStatus = typeof ContractStatus[keyof typeof ContractStatus];
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
198
|
-
* https://openapi-generator.tech
|
|
199
|
-
* Do not edit the class manually.
|
|
200
|
-
*/
|
|
201
|
-
/**
|
|
202
|
-
*
|
|
203
|
-
* @export
|
|
204
|
-
* @interface ParamType
|
|
205
|
-
*/
|
|
206
|
-
interface ParamType {
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
* @type {Array<any>}
|
|
210
|
-
* @memberof ParamType
|
|
211
|
-
*/
|
|
212
|
-
'components'?: Array<any>;
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
* @type {boolean}
|
|
216
|
-
* @memberof ParamType
|
|
217
|
-
*/
|
|
218
|
-
'indexed'?: boolean;
|
|
219
|
-
/**
|
|
220
|
-
*
|
|
221
|
-
* @type {string}
|
|
222
|
-
* @memberof ParamType
|
|
223
|
-
*/
|
|
224
|
-
'name'?: string;
|
|
225
|
-
/**
|
|
226
|
-
*
|
|
227
|
-
* @type {string}
|
|
228
|
-
* @memberof ParamType
|
|
229
|
-
*/
|
|
230
|
-
'type'?: string;
|
|
231
|
-
/**
|
|
232
|
-
*
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof ParamType
|
|
235
|
-
*/
|
|
236
|
-
'flattenedType'?: string;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
241
|
-
* https://openapi-generator.tech
|
|
242
|
-
* Do not edit the class manually.
|
|
243
|
-
*/
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
*
|
|
247
|
-
* @export
|
|
248
|
-
* @interface Event
|
|
249
|
-
*/
|
|
250
|
-
interface Event {
|
|
251
|
-
/**
|
|
252
|
-
*
|
|
253
|
-
* @type {string}
|
|
254
|
-
* @memberof Event
|
|
255
|
-
*/
|
|
256
|
-
'name'?: string;
|
|
257
|
-
/**
|
|
258
|
-
*
|
|
259
|
-
* @type {string}
|
|
260
|
-
* @memberof Event
|
|
261
|
-
*/
|
|
262
|
-
'type': string;
|
|
263
|
-
/**
|
|
264
|
-
*
|
|
265
|
-
* @type {boolean}
|
|
266
|
-
* @memberof Event
|
|
267
|
-
*/
|
|
268
|
-
'anonymous'?: boolean;
|
|
269
|
-
/**
|
|
270
|
-
*
|
|
271
|
-
* @type {Array<ParamType>}
|
|
272
|
-
* @memberof Event
|
|
273
|
-
*/
|
|
274
|
-
'inputs'?: Array<ParamType>;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
279
|
-
* https://openapi-generator.tech
|
|
280
|
-
* Do not edit the class manually.
|
|
281
|
-
*/
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
*
|
|
285
|
-
* @export
|
|
286
|
-
* @interface Function
|
|
287
|
-
*/
|
|
288
|
-
interface Function {
|
|
289
|
-
/**
|
|
290
|
-
*
|
|
291
|
-
* @type {string}
|
|
292
|
-
* @memberof Function
|
|
293
|
-
*/
|
|
294
|
-
'name'?: string;
|
|
295
|
-
/**
|
|
296
|
-
*
|
|
297
|
-
* @type {string}
|
|
298
|
-
* @memberof Function
|
|
299
|
-
*/
|
|
300
|
-
'stateMutability'?: string;
|
|
301
|
-
/**
|
|
302
|
-
*
|
|
303
|
-
* @type {string}
|
|
304
|
-
* @memberof Function
|
|
305
|
-
*/
|
|
306
|
-
'type': string;
|
|
307
|
-
/**
|
|
308
|
-
*
|
|
309
|
-
* @type {Array<ParamType>}
|
|
310
|
-
* @memberof Function
|
|
311
|
-
*/
|
|
312
|
-
'inputs'?: Array<ParamType>;
|
|
313
|
-
/**
|
|
314
|
-
*
|
|
315
|
-
* @type {Array<ParamType>}
|
|
316
|
-
* @memberof Function
|
|
317
|
-
*/
|
|
318
|
-
'outputs'?: Array<ParamType>;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
323
|
-
* https://openapi-generator.tech
|
|
324
|
-
* Do not edit the class manually.
|
|
325
|
-
*/
|
|
326
|
-
/**
|
|
327
|
-
* Source code of a contract from Etherscan.
|
|
328
|
-
* @export
|
|
329
|
-
* @interface SolFile
|
|
330
|
-
*/
|
|
331
|
-
interface SolFile {
|
|
332
|
-
/**
|
|
333
|
-
* Name of the file.
|
|
334
|
-
* @type {string}
|
|
335
|
-
* @memberof SolFile
|
|
336
|
-
*/
|
|
337
|
-
'fileName'?: string;
|
|
338
|
-
/**
|
|
339
|
-
* Content of the file. If the contract\'s source code was flattened before verification, this may be the entire source code.
|
|
340
|
-
* @type {string}
|
|
341
|
-
* @memberof SolFile
|
|
342
|
-
*/
|
|
343
|
-
'fileContent': string;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
348
|
-
* https://openapi-generator.tech
|
|
349
|
-
* Do not edit the class manually.
|
|
350
|
-
*/
|
|
351
|
-
/**
|
|
352
|
-
* The verification status of the contract.
|
|
353
|
-
* @export
|
|
354
|
-
* @enum {string}
|
|
355
|
-
*/
|
|
356
|
-
declare const VerificationStatus: {
|
|
357
|
-
readonly Unverified: "UNVERIFIED";
|
|
358
|
-
readonly Verified: "VERIFIED";
|
|
359
|
-
};
|
|
360
|
-
type VerificationStatus = typeof VerificationStatus[keyof typeof VerificationStatus];
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
364
|
-
* https://openapi-generator.tech
|
|
365
|
-
* Do not edit the class manually.
|
|
366
|
-
*/
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
*
|
|
370
|
-
* @export
|
|
371
|
-
* @interface Contract
|
|
372
|
-
*/
|
|
373
|
-
interface Contract {
|
|
374
|
-
/**
|
|
375
|
-
* System-generated unique identifier of the resource.
|
|
376
|
-
* @type {string}
|
|
377
|
-
* @memberof Contract
|
|
378
|
-
*/
|
|
379
|
-
'id': string;
|
|
380
|
-
/**
|
|
381
|
-
* The `id` of the Circle Wallet that deployed this contract.
|
|
382
|
-
* @type {string}
|
|
383
|
-
* @memberof Contract
|
|
384
|
-
*/
|
|
385
|
-
'deployerWalletID'?: string;
|
|
386
|
-
/**
|
|
387
|
-
* The id of the deployment transaction for this contract.
|
|
388
|
-
* @type {string}
|
|
389
|
-
* @memberof Contract
|
|
390
|
-
*/
|
|
391
|
-
'deploymentTransactionId'?: string;
|
|
392
|
-
/**
|
|
393
|
-
* Blockchain generated identifier of the transaction.
|
|
394
|
-
* @type {string}
|
|
395
|
-
* @memberof Contract
|
|
396
|
-
*/
|
|
397
|
-
'txHash'?: string;
|
|
398
|
-
/**
|
|
399
|
-
* The contract\'s ABI in a JSON stringified format.
|
|
400
|
-
* @type {string}
|
|
401
|
-
* @memberof Contract
|
|
402
|
-
*/
|
|
403
|
-
'abiJson'?: string;
|
|
404
|
-
/**
|
|
405
|
-
* The archive state of the contract. If true, the contract will not be visible in your dashboard.
|
|
406
|
-
* @type {boolean}
|
|
407
|
-
* @memberof Contract
|
|
408
|
-
*/
|
|
409
|
-
'archived': boolean;
|
|
410
|
-
/**
|
|
411
|
-
*
|
|
412
|
-
* @type {Blockchain}
|
|
413
|
-
* @memberof Contract
|
|
414
|
-
*/
|
|
415
|
-
'blockchain': Blockchain;
|
|
416
|
-
/**
|
|
417
|
-
* Bytecode of the contract being deployed.
|
|
418
|
-
* @type {string}
|
|
419
|
-
* @memberof Contract
|
|
420
|
-
*/
|
|
421
|
-
'bytecode'?: string;
|
|
422
|
-
/**
|
|
423
|
-
* The on-chain address of this contract.
|
|
424
|
-
* @type {string}
|
|
425
|
-
* @memberof Contract
|
|
426
|
-
*/
|
|
427
|
-
'contractAddress'?: string;
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
* @type {ContractInputType}
|
|
431
|
-
* @memberof Contract
|
|
432
|
-
*/
|
|
433
|
-
'contractInputType': ContractInputType;
|
|
434
|
-
/**
|
|
435
|
-
* The address that created this contract, if deployed.
|
|
436
|
-
* @type {string}
|
|
437
|
-
* @memberof Contract
|
|
438
|
-
*/
|
|
439
|
-
'deployerAddress'?: string;
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof Contract
|
|
444
|
-
*/
|
|
445
|
-
'deployerUserID'?: string;
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @type {string}
|
|
449
|
-
* @memberof Contract
|
|
450
|
-
*/
|
|
451
|
-
'deploymentErrorReason'?: string;
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {string}
|
|
455
|
-
* @memberof Contract
|
|
456
|
-
*/
|
|
457
|
-
'deploymentErrorDetails'?: string;
|
|
458
|
-
/**
|
|
459
|
-
* The name for a contract. Must be alphanumeric [a-zA-Z0-9].
|
|
460
|
-
* @type {string}
|
|
461
|
-
* @memberof Contract
|
|
462
|
-
*/
|
|
463
|
-
'name': string;
|
|
464
|
-
/**
|
|
465
|
-
* The description for a contract.
|
|
466
|
-
* @type {string}
|
|
467
|
-
* @memberof Contract
|
|
468
|
-
*/
|
|
469
|
-
'description'?: string;
|
|
470
|
-
/**
|
|
471
|
-
*
|
|
472
|
-
* @type {ContractStatus}
|
|
473
|
-
* @memberof Contract
|
|
474
|
-
*/
|
|
475
|
-
'status': ContractStatus;
|
|
476
|
-
/**
|
|
477
|
-
*
|
|
478
|
-
* @type {VerificationStatus}
|
|
479
|
-
* @memberof Contract
|
|
480
|
-
*/
|
|
481
|
-
'verificationStatus': VerificationStatus;
|
|
482
|
-
/**
|
|
483
|
-
* The ipfs metadata link of the contract.
|
|
484
|
-
* @type {string}
|
|
485
|
-
* @memberof Contract
|
|
486
|
-
*/
|
|
487
|
-
'metadataLink'?: string;
|
|
488
|
-
/**
|
|
489
|
-
* Date and time the resource was last updated, in ISO-8601 UTC format.
|
|
490
|
-
* @type {string}
|
|
491
|
-
* @memberof Contract
|
|
492
|
-
*/
|
|
493
|
-
'updateDate': string;
|
|
494
|
-
/**
|
|
495
|
-
* Date and time the resource was created, in ISO-8601 UTC format.
|
|
496
|
-
* @type {string}
|
|
497
|
-
* @memberof Contract
|
|
498
|
-
*/
|
|
499
|
-
'createDate': string;
|
|
500
|
-
/**
|
|
501
|
-
*
|
|
502
|
-
* @type {Array<SolFile>}
|
|
503
|
-
* @memberof Contract
|
|
504
|
-
*/
|
|
505
|
-
'sourceCode': Array<SolFile>;
|
|
506
|
-
/**
|
|
507
|
-
* Functions supported by this contract. Parsed from abi_json.
|
|
508
|
-
* @type {Array<Function>}
|
|
509
|
-
* @memberof Contract
|
|
510
|
-
*/
|
|
511
|
-
'functions': Array<Function>;
|
|
512
|
-
/**
|
|
513
|
-
* Events this contract can emit. Parsed from abi_json.
|
|
514
|
-
* @type {Array<Event>}
|
|
515
|
-
* @memberof Contract
|
|
516
|
-
*/
|
|
517
|
-
'events': Array<Event>;
|
|
518
|
-
/**
|
|
519
|
-
* Object of the implementation contract.
|
|
520
|
-
* @type {object}
|
|
521
|
-
* @memberof Contract
|
|
522
|
-
*/
|
|
523
|
-
'implementationContract'?: object;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
528
|
-
* https://openapi-generator.tech
|
|
529
|
-
* Do not edit the class manually.
|
|
530
|
-
*/
|
|
531
|
-
/**
|
|
532
|
-
*
|
|
533
|
-
* @export
|
|
534
|
-
* @interface ContractDeploymentData
|
|
535
|
-
*/
|
|
536
|
-
interface ContractDeploymentData {
|
|
537
|
-
/**
|
|
538
|
-
* Unique identifier of the created smart contract.
|
|
539
|
-
* @type {string}
|
|
540
|
-
* @memberof ContractDeploymentData
|
|
541
|
-
*/
|
|
542
|
-
'contractId': string;
|
|
543
|
-
/**
|
|
544
|
-
* Unique identifier of the deployment transaction.
|
|
545
|
-
* @type {string}
|
|
546
|
-
* @memberof ContractDeploymentData
|
|
547
|
-
*/
|
|
548
|
-
'transactionId': string;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
553
|
-
* https://openapi-generator.tech
|
|
554
|
-
* Do not edit the class manually.
|
|
555
|
-
*/
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
*
|
|
559
|
-
* @export
|
|
560
|
-
* @interface ContractDeployment
|
|
561
|
-
*/
|
|
562
|
-
interface ContractDeployment {
|
|
563
|
-
/**
|
|
564
|
-
*
|
|
565
|
-
* @type {ContractDeploymentData}
|
|
566
|
-
* @memberof ContractDeployment
|
|
567
|
-
*/
|
|
568
|
-
'data': ContractDeploymentData;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
573
|
-
* https://openapi-generator.tech
|
|
574
|
-
* Do not edit the class manually.
|
|
575
|
-
*/
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
*
|
|
579
|
-
* @export
|
|
580
|
-
* @interface ContractDeploymentEstimateFeeRequest
|
|
581
|
-
*/
|
|
582
|
-
interface ContractDeploymentEstimateFeeRequest {
|
|
583
|
-
/**
|
|
584
|
-
* The contract\'s ABI in a JSON stringified format.
|
|
585
|
-
* @type {string}
|
|
586
|
-
* @memberof ContractDeploymentEstimateFeeRequest
|
|
587
|
-
*/
|
|
588
|
-
'abiJson'?: string;
|
|
589
|
-
/**
|
|
590
|
-
*
|
|
591
|
-
* @type {Blockchain}
|
|
592
|
-
* @memberof ContractDeploymentEstimateFeeRequest
|
|
593
|
-
*/
|
|
594
|
-
'blockchain'?: Blockchain;
|
|
595
|
-
/**
|
|
596
|
-
* Bytecode of the contract being deployed.
|
|
597
|
-
* @type {string}
|
|
598
|
-
* @memberof ContractDeploymentEstimateFeeRequest
|
|
599
|
-
*/
|
|
600
|
-
'bytecode': string;
|
|
601
|
-
/**
|
|
602
|
-
* Signature of the constructor if the contract has one. constructor() by default.
|
|
603
|
-
* @type {string}
|
|
604
|
-
* @memberof ContractDeploymentEstimateFeeRequest
|
|
605
|
-
*/
|
|
606
|
-
'constructorSignature'?: string;
|
|
607
|
-
/**
|
|
608
|
-
* A list of arguments to pass to the contract\'s constructor function. Must be an empty array if there are no constructor parameters.
|
|
609
|
-
* @type {Array<any>}
|
|
610
|
-
* @memberof ContractDeploymentEstimateFeeRequest
|
|
611
|
-
*/
|
|
612
|
-
'constructorParameters'?: Array<any>;
|
|
613
|
-
/**
|
|
614
|
-
* Source address of the transaction. Required along with `blockchain` if `walletId` is not provided. The `sourceAddress` and `walletId` fields are mutually exclusive.
|
|
615
|
-
* @type {string}
|
|
616
|
-
* @memberof ContractDeploymentEstimateFeeRequest
|
|
617
|
-
*/
|
|
618
|
-
'sourceAddress'?: string;
|
|
619
|
-
/**
|
|
620
|
-
* Unique system generated identifier of the wallet. For contract deploys this wallet ID will be used as the source.
|
|
621
|
-
* @type {string}
|
|
622
|
-
* @memberof ContractDeploymentEstimateFeeRequest
|
|
623
|
-
*/
|
|
624
|
-
'walletId'?: string;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
629
|
-
* https://openapi-generator.tech
|
|
630
|
-
* Do not edit the class manually.
|
|
631
|
-
*/
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
*
|
|
635
|
-
* @export
|
|
636
|
-
* @interface ContractDeploymentEstimateRequest
|
|
637
|
-
*/
|
|
638
|
-
interface ContractDeploymentEstimateRequest {
|
|
639
|
-
/**
|
|
640
|
-
*
|
|
641
|
-
* @type {Blockchain}
|
|
642
|
-
* @memberof ContractDeploymentEstimateRequest
|
|
643
|
-
*/
|
|
644
|
-
'blockchain': Blockchain;
|
|
645
|
-
/**
|
|
646
|
-
* Source address of the transaction. Required along with `blockchain` if `walletId` is not provided. The `sourceAddress` and `walletId` fields are mutually exclusive.
|
|
647
|
-
* @type {string}
|
|
648
|
-
* @memberof ContractDeploymentEstimateRequest
|
|
649
|
-
*/
|
|
650
|
-
'sourceAddress'?: string;
|
|
651
|
-
/**
|
|
652
|
-
* JSON object that contains the template deployment parameters used to initialize the contract(s) on-chain.
|
|
653
|
-
* @type {{ [key: string]: string; }}
|
|
654
|
-
* @memberof ContractDeploymentEstimateRequest
|
|
655
|
-
*/
|
|
656
|
-
'templateParameters'?: {
|
|
657
|
-
[key: string]: string;
|
|
658
|
-
};
|
|
659
|
-
/**
|
|
660
|
-
* Unique system generated identifier of the wallet. For contract deploys this wallet ID will be used as the source.
|
|
661
|
-
* @type {string}
|
|
662
|
-
* @memberof ContractDeploymentEstimateRequest
|
|
663
|
-
*/
|
|
664
|
-
'walletId'?: string;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
669
|
-
* https://openapi-generator.tech
|
|
670
|
-
* Do not edit the class manually.
|
|
671
|
-
*/
|
|
672
|
-
/**
|
|
673
|
-
* A dynamic blockchain fee level setting (`LOW`, `MEDIUM`, or `HIGH`) that will be used to pay gas for the transaction. Calculated based on network traffic, supply of validators, and demand for transaction verification. Cannot be used with `gasPrice`, `priorityFee`, or `maxFee`. Estimates for each fee level can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
674
|
-
* @export
|
|
675
|
-
* @enum {string}
|
|
676
|
-
*/
|
|
677
|
-
declare const FeeLevel: {
|
|
678
|
-
readonly Low: "LOW";
|
|
679
|
-
readonly Medium: "MEDIUM";
|
|
680
|
-
readonly High: "HIGH";
|
|
681
|
-
};
|
|
682
|
-
type FeeLevel = typeof FeeLevel[keyof typeof FeeLevel];
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
686
|
-
* https://openapi-generator.tech
|
|
687
|
-
* Do not edit the class manually.
|
|
688
|
-
*/
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
*
|
|
692
|
-
* @export
|
|
693
|
-
* @interface ContractDeploymentRequest
|
|
694
|
-
*/
|
|
695
|
-
interface ContractDeploymentRequest {
|
|
696
|
-
/**
|
|
697
|
-
* Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to [uuidgenerator.net](https://www.uuidgenerator.net). If the same key is reused, it will be treated as the same request and the original response will be returned.
|
|
698
|
-
* @type {string}
|
|
699
|
-
* @memberof ContractDeploymentRequest
|
|
700
|
-
*/
|
|
701
|
-
'idempotencyKey': string;
|
|
702
|
-
/**
|
|
703
|
-
* The name for a contract. Must be alphanumeric [a-zA-Z0-9].
|
|
704
|
-
* @type {string}
|
|
705
|
-
* @memberof ContractDeploymentRequest
|
|
706
|
-
*/
|
|
707
|
-
'name': string;
|
|
708
|
-
/**
|
|
709
|
-
* The description for a contract.
|
|
710
|
-
* @type {string}
|
|
711
|
-
* @memberof ContractDeploymentRequest
|
|
712
|
-
*/
|
|
713
|
-
'description'?: string;
|
|
714
|
-
/**
|
|
715
|
-
* Unique system generated identifier of the wallet. For contract deploys this wallet ID will be used as the source.
|
|
716
|
-
* @type {string}
|
|
717
|
-
* @memberof ContractDeploymentRequest
|
|
718
|
-
*/
|
|
719
|
-
'walletId': string;
|
|
720
|
-
/**
|
|
721
|
-
* The contract\'s ABI in a JSON stringified format.
|
|
722
|
-
* @type {string}
|
|
723
|
-
* @memberof ContractDeploymentRequest
|
|
724
|
-
*/
|
|
725
|
-
'abiJson': string;
|
|
726
|
-
/**
|
|
727
|
-
* Bytecode of the contract being deployed.
|
|
728
|
-
* @type {string}
|
|
729
|
-
* @memberof ContractDeploymentRequest
|
|
730
|
-
*/
|
|
731
|
-
'bytecode': string;
|
|
732
|
-
/**
|
|
733
|
-
* A base64 string expression of the entity secret ciphertext. The entity secret should be encrypted by the entity public key. Circle mandates that the entity secret ciphertext is unique for each API request.
|
|
734
|
-
* @type {string}
|
|
735
|
-
* @memberof ContractDeploymentRequest
|
|
736
|
-
*/
|
|
737
|
-
'entitySecretCiphertext': string;
|
|
738
|
-
/**
|
|
739
|
-
*
|
|
740
|
-
* @type {Blockchain}
|
|
741
|
-
* @memberof ContractDeploymentRequest
|
|
742
|
-
*/
|
|
743
|
-
'blockchain': Blockchain;
|
|
744
|
-
/**
|
|
745
|
-
* A list of arguments to pass to the contract\'s constructor function. Must be an empty array if there are no constructor parameters.
|
|
746
|
-
* @type {Array<any>}
|
|
747
|
-
* @memberof ContractDeploymentRequest
|
|
748
|
-
*/
|
|
749
|
-
'constructorParameters'?: Array<any>;
|
|
750
|
-
/**
|
|
751
|
-
*
|
|
752
|
-
* @type {FeeLevel}
|
|
753
|
-
* @memberof ContractDeploymentRequest
|
|
754
|
-
*/
|
|
755
|
-
'feeLevel'?: FeeLevel;
|
|
756
|
-
/**
|
|
757
|
-
* The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation\'s gasLimit.
|
|
758
|
-
* @type {string}
|
|
759
|
-
* @memberof ContractDeploymentRequest
|
|
760
|
-
*/
|
|
761
|
-
'gasLimit'?: string;
|
|
762
|
-
/**
|
|
763
|
-
* For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
764
|
-
* @type {string}
|
|
765
|
-
* @memberof ContractDeploymentRequest
|
|
766
|
-
*/
|
|
767
|
-
'gasPrice'?: string;
|
|
768
|
-
/**
|
|
769
|
-
* For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
770
|
-
* @type {string}
|
|
771
|
-
* @memberof ContractDeploymentRequest
|
|
772
|
-
*/
|
|
773
|
-
'maxFee'?: string;
|
|
774
|
-
/**
|
|
775
|
-
* For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
776
|
-
* @type {string}
|
|
777
|
-
* @memberof ContractDeploymentRequest
|
|
778
|
-
*/
|
|
779
|
-
'priorityFee'?: string;
|
|
780
|
-
/**
|
|
781
|
-
* Optional reference or description used to identify the transaction.
|
|
782
|
-
* @type {string}
|
|
783
|
-
* @memberof ContractDeploymentRequest
|
|
784
|
-
*/
|
|
785
|
-
'refId'?: string;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
790
|
-
* https://openapi-generator.tech
|
|
791
|
-
* Do not edit the class manually.
|
|
792
|
-
*/
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
*
|
|
796
|
-
* @export
|
|
797
|
-
* @interface ContractResponseData
|
|
798
|
-
*/
|
|
799
|
-
interface ContractResponseData {
|
|
800
|
-
/**
|
|
801
|
-
*
|
|
802
|
-
* @type {Contract}
|
|
803
|
-
* @memberof ContractResponseData
|
|
804
|
-
*/
|
|
805
|
-
'contract': Contract;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
810
|
-
* https://openapi-generator.tech
|
|
811
|
-
* Do not edit the class manually.
|
|
812
|
-
*/
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
*
|
|
816
|
-
* @export
|
|
817
|
-
* @interface ContractResponse
|
|
818
|
-
*/
|
|
819
|
-
interface ContractResponse {
|
|
820
|
-
/**
|
|
821
|
-
*
|
|
822
|
-
* @type {ContractResponseData}
|
|
823
|
-
* @memberof ContractResponse
|
|
824
|
-
*/
|
|
825
|
-
'data': ContractResponseData;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
830
|
-
* https://openapi-generator.tech
|
|
831
|
-
* Do not edit the class manually.
|
|
832
|
-
*/
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
*
|
|
836
|
-
* @export
|
|
837
|
-
* @interface ContractsData
|
|
838
|
-
*/
|
|
839
|
-
interface ContractsData {
|
|
840
|
-
/**
|
|
841
|
-
* Contracts are all the contracts that match criteria.
|
|
842
|
-
* @type {Array<Contract>}
|
|
843
|
-
* @memberof ContractsData
|
|
844
|
-
*/
|
|
845
|
-
'contracts': Array<Contract>;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
850
|
-
* https://openapi-generator.tech
|
|
851
|
-
* Do not edit the class manually.
|
|
852
|
-
*/
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
*
|
|
856
|
-
* @export
|
|
857
|
-
* @interface Contracts
|
|
858
|
-
*/
|
|
859
|
-
interface Contracts {
|
|
860
|
-
/**
|
|
861
|
-
*
|
|
862
|
-
* @type {ContractsData}
|
|
863
|
-
* @memberof Contracts
|
|
864
|
-
*/
|
|
865
|
-
'data': ContractsData;
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
870
|
-
* https://openapi-generator.tech
|
|
871
|
-
* Do not edit the class manually.
|
|
872
|
-
*/
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
*
|
|
876
|
-
* @export
|
|
877
|
-
* @interface CreateEventMonitorRequest
|
|
878
|
-
*/
|
|
879
|
-
interface CreateEventMonitorRequest {
|
|
880
|
-
/**
|
|
881
|
-
*
|
|
882
|
-
* @type {Blockchain}
|
|
883
|
-
* @memberof CreateEventMonitorRequest
|
|
884
|
-
*/
|
|
885
|
-
'blockchain': Blockchain;
|
|
886
|
-
/**
|
|
887
|
-
* The on-chain address of this contract.
|
|
888
|
-
* @type {string}
|
|
889
|
-
* @memberof CreateEventMonitorRequest
|
|
890
|
-
*/
|
|
891
|
-
'contractAddress': string;
|
|
892
|
-
/**
|
|
893
|
-
* The specific event to which you want to subscribeven. Please ensure no spaces are included.
|
|
894
|
-
* @type {string}
|
|
895
|
-
* @memberof CreateEventMonitorRequest
|
|
896
|
-
*/
|
|
897
|
-
'eventSignature': string;
|
|
898
|
-
/**
|
|
899
|
-
* Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to [uuidgenerator.net](https://www.uuidgenerator.net). If the same key is reused, it will be treated as the same request and the original response will be returned.
|
|
900
|
-
* @type {string}
|
|
901
|
-
* @memberof CreateEventMonitorRequest
|
|
902
|
-
*/
|
|
903
|
-
'idempotencyKey': string;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
/**
|
|
907
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
908
|
-
* https://openapi-generator.tech
|
|
909
|
-
* Do not edit the class manually.
|
|
910
|
-
*/
|
|
911
|
-
|
|
912
|
-
/**
|
|
913
|
-
*
|
|
914
|
-
* @export
|
|
915
|
-
* @interface EventLog
|
|
916
|
-
*/
|
|
917
|
-
interface EventLog {
|
|
918
|
-
/**
|
|
919
|
-
*
|
|
920
|
-
* @type {string}
|
|
921
|
-
* @memberof EventLog
|
|
922
|
-
*/
|
|
923
|
-
'id': string;
|
|
924
|
-
/**
|
|
925
|
-
*
|
|
926
|
-
* @type {string}
|
|
927
|
-
* @memberof EventLog
|
|
928
|
-
*/
|
|
929
|
-
'blockHash': string;
|
|
930
|
-
/**
|
|
931
|
-
*
|
|
932
|
-
* @type {number}
|
|
933
|
-
* @memberof EventLog
|
|
934
|
-
*/
|
|
935
|
-
'blockHeight': number;
|
|
936
|
-
/**
|
|
937
|
-
*
|
|
938
|
-
* @type {Blockchain}
|
|
939
|
-
* @memberof EventLog
|
|
940
|
-
*/
|
|
941
|
-
'blockchain': Blockchain;
|
|
942
|
-
/**
|
|
943
|
-
* The on-chain address of this contract.
|
|
944
|
-
* @type {string}
|
|
945
|
-
* @memberof EventLog
|
|
946
|
-
*/
|
|
947
|
-
'contractAddress': string;
|
|
948
|
-
/**
|
|
949
|
-
*
|
|
950
|
-
* @type {string}
|
|
951
|
-
* @memberof EventLog
|
|
952
|
-
*/
|
|
953
|
-
'data': string;
|
|
954
|
-
/**
|
|
955
|
-
*
|
|
956
|
-
* @type {string}
|
|
957
|
-
* @memberof EventLog
|
|
958
|
-
*/
|
|
959
|
-
'eventSignature': string;
|
|
960
|
-
/**
|
|
961
|
-
*
|
|
962
|
-
* @type {string}
|
|
963
|
-
* @memberof EventLog
|
|
964
|
-
*/
|
|
965
|
-
'eventSignatureHash': string;
|
|
966
|
-
/**
|
|
967
|
-
*
|
|
968
|
-
* @type {string}
|
|
969
|
-
* @memberof EventLog
|
|
970
|
-
*/
|
|
971
|
-
'logIndex': string;
|
|
972
|
-
/**
|
|
973
|
-
*
|
|
974
|
-
* @type {Array<string>}
|
|
975
|
-
* @memberof EventLog
|
|
976
|
-
*/
|
|
977
|
-
'topics': Array<string>;
|
|
978
|
-
/**
|
|
979
|
-
*
|
|
980
|
-
* @type {string}
|
|
981
|
-
* @memberof EventLog
|
|
982
|
-
*/
|
|
983
|
-
'txHash': string;
|
|
984
|
-
/**
|
|
985
|
-
*
|
|
986
|
-
* @type {string}
|
|
987
|
-
* @memberof EventLog
|
|
988
|
-
*/
|
|
989
|
-
'userOpHash': string;
|
|
990
|
-
/**
|
|
991
|
-
*
|
|
992
|
-
* @type {string}
|
|
993
|
-
* @memberof EventLog
|
|
994
|
-
*/
|
|
995
|
-
'firstConfirmDate': string;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1000
|
-
* https://openapi-generator.tech
|
|
1001
|
-
* Do not edit the class manually.
|
|
1002
|
-
*/
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
*
|
|
1006
|
-
* @export
|
|
1007
|
-
* @interface EventLogsData
|
|
1008
|
-
*/
|
|
1009
|
-
interface EventLogsData {
|
|
1010
|
-
/**
|
|
1011
|
-
* A list of event logs generated from the specified contract events.
|
|
1012
|
-
* @type {Array<EventLog>}
|
|
1013
|
-
* @memberof EventLogsData
|
|
1014
|
-
*/
|
|
1015
|
-
'eventLogs': Array<EventLog>;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1020
|
-
* https://openapi-generator.tech
|
|
1021
|
-
* Do not edit the class manually.
|
|
1022
|
-
*/
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
*
|
|
1026
|
-
* @export
|
|
1027
|
-
* @interface EventLogs
|
|
1028
|
-
*/
|
|
1029
|
-
interface EventLogs {
|
|
1030
|
-
/**
|
|
1031
|
-
*
|
|
1032
|
-
* @type {EventLogsData}
|
|
1033
|
-
* @memberof EventLogs
|
|
1034
|
-
*/
|
|
1035
|
-
'data': EventLogsData;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1040
|
-
* https://openapi-generator.tech
|
|
1041
|
-
* Do not edit the class manually.
|
|
1042
|
-
*/
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
*
|
|
1046
|
-
* @export
|
|
1047
|
-
* @interface EventMonitor
|
|
1048
|
-
*/
|
|
1049
|
-
interface EventMonitor {
|
|
1050
|
-
/**
|
|
1051
|
-
*
|
|
1052
|
-
* @type {string}
|
|
1053
|
-
* @memberof EventMonitor
|
|
1054
|
-
*/
|
|
1055
|
-
'id': string;
|
|
1056
|
-
/**
|
|
1057
|
-
*
|
|
1058
|
-
* @type {Blockchain}
|
|
1059
|
-
* @memberof EventMonitor
|
|
1060
|
-
*/
|
|
1061
|
-
'blockchain': Blockchain;
|
|
1062
|
-
/**
|
|
1063
|
-
* The on-chain address of this contract.
|
|
1064
|
-
* @type {string}
|
|
1065
|
-
* @memberof EventMonitor
|
|
1066
|
-
*/
|
|
1067
|
-
'contractAddress': string;
|
|
1068
|
-
/**
|
|
1069
|
-
*
|
|
1070
|
-
* @type {string}
|
|
1071
|
-
* @memberof EventMonitor
|
|
1072
|
-
*/
|
|
1073
|
-
'eventSignature': string;
|
|
1074
|
-
/**
|
|
1075
|
-
*
|
|
1076
|
-
* @type {string}
|
|
1077
|
-
* @memberof EventMonitor
|
|
1078
|
-
*/
|
|
1079
|
-
'eventSignatureHash': string;
|
|
1080
|
-
/**
|
|
1081
|
-
*
|
|
1082
|
-
* @type {boolean}
|
|
1083
|
-
* @memberof EventMonitor
|
|
1084
|
-
*/
|
|
1085
|
-
'isEnabled': boolean;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1090
|
-
* https://openapi-generator.tech
|
|
1091
|
-
* Do not edit the class manually.
|
|
1092
|
-
*/
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
*
|
|
1096
|
-
* @export
|
|
1097
|
-
* @interface EventMonitorResponseData
|
|
1098
|
-
*/
|
|
1099
|
-
interface EventMonitorResponseData {
|
|
1100
|
-
/**
|
|
1101
|
-
*
|
|
1102
|
-
* @type {EventMonitor}
|
|
1103
|
-
* @memberof EventMonitorResponseData
|
|
1104
|
-
*/
|
|
1105
|
-
'eventMonitor': EventMonitor;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1110
|
-
* https://openapi-generator.tech
|
|
1111
|
-
* Do not edit the class manually.
|
|
1112
|
-
*/
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
*
|
|
1116
|
-
* @export
|
|
1117
|
-
* @interface EventMonitorResponse
|
|
1118
|
-
*/
|
|
1119
|
-
interface EventMonitorResponse {
|
|
1120
|
-
/**
|
|
1121
|
-
*
|
|
1122
|
-
* @type {EventMonitorResponseData}
|
|
1123
|
-
* @memberof EventMonitorResponse
|
|
1124
|
-
*/
|
|
1125
|
-
'data': EventMonitorResponseData;
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1130
|
-
* https://openapi-generator.tech
|
|
1131
|
-
* Do not edit the class manually.
|
|
1132
|
-
*/
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
*
|
|
1136
|
-
* @export
|
|
1137
|
-
* @interface EventMonitorsData
|
|
1138
|
-
*/
|
|
1139
|
-
interface EventMonitorsData {
|
|
1140
|
-
/**
|
|
1141
|
-
* Event monitors that match criteria.
|
|
1142
|
-
* @type {Array<EventMonitor>}
|
|
1143
|
-
* @memberof EventMonitorsData
|
|
1144
|
-
*/
|
|
1145
|
-
'eventMonitors': Array<EventMonitor>;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
/**
|
|
1149
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1150
|
-
* https://openapi-generator.tech
|
|
1151
|
-
* Do not edit the class manually.
|
|
1152
|
-
*/
|
|
1153
|
-
|
|
1154
|
-
/**
|
|
1155
|
-
*
|
|
1156
|
-
* @export
|
|
1157
|
-
* @interface EventMonitors
|
|
1158
|
-
*/
|
|
1159
|
-
interface EventMonitors {
|
|
1160
|
-
/**
|
|
1161
|
-
*
|
|
1162
|
-
* @type {EventMonitorsData}
|
|
1163
|
-
* @memberof EventMonitors
|
|
1164
|
-
*/
|
|
1165
|
-
'data': EventMonitorsData;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1170
|
-
* https://openapi-generator.tech
|
|
1171
|
-
* Do not edit the class manually.
|
|
1172
|
-
*/
|
|
1173
|
-
/**
|
|
1174
|
-
*
|
|
1175
|
-
* @export
|
|
1176
|
-
* @interface TransactionFee
|
|
1177
|
-
*/
|
|
1178
|
-
interface TransactionFee {
|
|
1179
|
-
/**
|
|
1180
|
-
* The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation\'s gasLimit.
|
|
1181
|
-
* @type {string}
|
|
1182
|
-
* @memberof TransactionFee
|
|
1183
|
-
*/
|
|
1184
|
-
'gasLimit'?: string;
|
|
1185
|
-
/**
|
|
1186
|
-
* For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
1187
|
-
* @type {string}
|
|
1188
|
-
* @memberof TransactionFee
|
|
1189
|
-
*/
|
|
1190
|
-
'gasPrice'?: string;
|
|
1191
|
-
/**
|
|
1192
|
-
* For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
1193
|
-
* @type {string}
|
|
1194
|
-
* @memberof TransactionFee
|
|
1195
|
-
*/
|
|
1196
|
-
'maxFee'?: string;
|
|
1197
|
-
/**
|
|
1198
|
-
* For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
1199
|
-
* @type {string}
|
|
1200
|
-
* @memberof TransactionFee
|
|
1201
|
-
*/
|
|
1202
|
-
'priorityFee'?: string;
|
|
1203
|
-
/**
|
|
1204
|
-
* For blockchains with EIP-1559 support, the estimated base fee represents the minimum fee required for a transaction to be included in a block on the blockchain. It is measured in gwei and compensates for the computational resources validators consume to process the transaction. The base fee is supplemented by a separate \"tip\" called the priority fee, which acts as an extra incentive for validators to prioritize the transaction. The priority fee is added to the base fee to calculate the final transaction fee.
|
|
1205
|
-
* @type {string}
|
|
1206
|
-
* @memberof TransactionFee
|
|
1207
|
-
*/
|
|
1208
|
-
'baseFee'?: string;
|
|
1209
|
-
/**
|
|
1210
|
-
* The estimated network fee is the maximum amount of cryptocurrency (such as ETH, ARB, or SOL) that you will pay for your transaction. This fee depends on the parameters you set, including Gas Limit, Priority Fee, and Max Fee. It compensates for the computational resources that validators consume to process the transaction. It is measured in native token such as ETH, SOL. For blockchains with L1 data fees such as OP/BASE, the network fee is a combination of the Execution Gas Fee and the L1 Data Fee. Each blockchain might use different formula for network fee. Refer to each specific blockchain\'s documentation to understand how `networkFee` is calculated.
|
|
1211
|
-
* @type {string}
|
|
1212
|
-
* @memberof TransactionFee
|
|
1213
|
-
*/
|
|
1214
|
-
'networkFee'?: string;
|
|
1215
|
-
/**
|
|
1216
|
-
* Similar to `networkFee`, `networkFeeRaw` is an estimation with lower buffer and thus should be closer to the actual on-chain expense. This field will only be returned in the estimation response.
|
|
1217
|
-
* @type {string}
|
|
1218
|
-
* @memberof TransactionFee
|
|
1219
|
-
*/
|
|
1220
|
-
'networkFeeRaw'?: string;
|
|
1221
|
-
/**
|
|
1222
|
-
* This fee represents the Layer 1 (L1) rollup charge associated with transactions on Layer 2 blockchains. The amount is expressed in the native currency, such as ETH. This field is relevant for Layer 2 blockchains utilizing a rollup mechanism and for specific account types, such as externally owned accounts (EOAs) on the Optimism (OP) blockchain.
|
|
1223
|
-
* @type {string}
|
|
1224
|
-
* @memberof TransactionFee
|
|
1225
|
-
*/
|
|
1226
|
-
'l1Fee'?: string;
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1231
|
-
* https://openapi-generator.tech
|
|
1232
|
-
* Do not edit the class manually.
|
|
1233
|
-
*/
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
*
|
|
1237
|
-
* @export
|
|
1238
|
-
* @interface FeeEstimationData
|
|
1239
|
-
*/
|
|
1240
|
-
interface FeeEstimationData {
|
|
1241
|
-
/**
|
|
1242
|
-
*
|
|
1243
|
-
* @type {TransactionFee}
|
|
1244
|
-
* @memberof FeeEstimationData
|
|
1245
|
-
*/
|
|
1246
|
-
'high'?: TransactionFee;
|
|
1247
|
-
/**
|
|
1248
|
-
*
|
|
1249
|
-
* @type {TransactionFee}
|
|
1250
|
-
* @memberof FeeEstimationData
|
|
1251
|
-
*/
|
|
1252
|
-
'low'?: TransactionFee;
|
|
1253
|
-
/**
|
|
1254
|
-
*
|
|
1255
|
-
* @type {TransactionFee}
|
|
1256
|
-
* @memberof FeeEstimationData
|
|
1257
|
-
*/
|
|
1258
|
-
'medium'?: TransactionFee;
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
/**
|
|
1262
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1263
|
-
* https://openapi-generator.tech
|
|
1264
|
-
* Do not edit the class manually.
|
|
1265
|
-
*/
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
*
|
|
1269
|
-
* @export
|
|
1270
|
-
* @interface FeeEstimation
|
|
1271
|
-
*/
|
|
1272
|
-
interface FeeEstimation {
|
|
1273
|
-
/**
|
|
1274
|
-
*
|
|
1275
|
-
* @type {FeeEstimationData}
|
|
1276
|
-
* @memberof FeeEstimation
|
|
1277
|
-
*/
|
|
1278
|
-
'data': FeeEstimationData;
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
/**
|
|
1282
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1283
|
-
* https://openapi-generator.tech
|
|
1284
|
-
* Do not edit the class manually.
|
|
1285
|
-
*/
|
|
1286
|
-
|
|
1287
|
-
/**
|
|
1288
|
-
*
|
|
1289
|
-
* @export
|
|
1290
|
-
* @interface ImportContractRequest
|
|
1291
|
-
*/
|
|
1292
|
-
interface ImportContractRequest {
|
|
1293
|
-
/**
|
|
1294
|
-
* Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to [uuidgenerator.net](https://www.uuidgenerator.net). If the same key is reused, it will be treated as the same request and the original response will be returned.
|
|
1295
|
-
* @type {string}
|
|
1296
|
-
* @memberof ImportContractRequest
|
|
1297
|
-
*/
|
|
1298
|
-
'idempotencyKey': string;
|
|
1299
|
-
/**
|
|
1300
|
-
* The name for a contract. Must be alphanumeric [a-zA-Z0-9].
|
|
1301
|
-
* @type {string}
|
|
1302
|
-
* @memberof ImportContractRequest
|
|
1303
|
-
*/
|
|
1304
|
-
'name': string;
|
|
1305
|
-
/**
|
|
1306
|
-
* The description for a contract.
|
|
1307
|
-
* @type {string}
|
|
1308
|
-
* @memberof ImportContractRequest
|
|
1309
|
-
*/
|
|
1310
|
-
'description'?: string;
|
|
1311
|
-
/**
|
|
1312
|
-
* The on-chain address of this contract.
|
|
1313
|
-
* @type {string}
|
|
1314
|
-
* @memberof ImportContractRequest
|
|
1315
|
-
*/
|
|
1316
|
-
'address': string;
|
|
1317
|
-
/**
|
|
1318
|
-
*
|
|
1319
|
-
* @type {Blockchain}
|
|
1320
|
-
* @memberof ImportContractRequest
|
|
1321
|
-
*/
|
|
1322
|
-
'blockchain': Blockchain;
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1327
|
-
* https://openapi-generator.tech
|
|
1328
|
-
* Do not edit the class manually.
|
|
1329
|
-
*/
|
|
1330
|
-
/**
|
|
1331
|
-
*
|
|
1332
|
-
* @export
|
|
1333
|
-
* @interface ModelError
|
|
1334
|
-
*/
|
|
1335
|
-
interface ModelError {
|
|
1336
|
-
/**
|
|
1337
|
-
* Code that corresponds to the error.
|
|
1338
|
-
* @type {number}
|
|
1339
|
-
* @memberof ModelError
|
|
1340
|
-
*/
|
|
1341
|
-
'code': number;
|
|
1342
|
-
/**
|
|
1343
|
-
* Message that describes the error.
|
|
1344
|
-
* @type {string}
|
|
1345
|
-
* @memberof ModelError
|
|
1346
|
-
*/
|
|
1347
|
-
'message': string;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
/**
|
|
1351
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1352
|
-
* https://openapi-generator.tech
|
|
1353
|
-
* Do not edit the class manually.
|
|
1354
|
-
*/
|
|
1355
|
-
/**
|
|
1356
|
-
*
|
|
1357
|
-
* @export
|
|
1358
|
-
* @interface PatchContractRequest
|
|
1359
|
-
*/
|
|
1360
|
-
interface PatchContractRequest {
|
|
1361
|
-
/**
|
|
1362
|
-
* The name for a contract. Must be alphanumeric [a-zA-Z0-9].
|
|
1363
|
-
* @type {string}
|
|
1364
|
-
* @memberof PatchContractRequest
|
|
1365
|
-
*/
|
|
1366
|
-
'name'?: string;
|
|
1367
|
-
/**
|
|
1368
|
-
* The description for a contract.
|
|
1369
|
-
* @type {string}
|
|
1370
|
-
* @memberof PatchContractRequest
|
|
1371
|
-
*/
|
|
1372
|
-
'description'?: string;
|
|
1373
|
-
/**
|
|
1374
|
-
* The archive state of the contract. If true, the contract will not be visible in your dashboard.
|
|
1375
|
-
* @type {boolean}
|
|
1376
|
-
* @memberof PatchContractRequest
|
|
1377
|
-
*/
|
|
1378
|
-
'archived'?: boolean;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
/**
|
|
1382
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1383
|
-
* https://openapi-generator.tech
|
|
1384
|
-
* Do not edit the class manually.
|
|
1385
|
-
*/
|
|
1386
|
-
/**
|
|
1387
|
-
*
|
|
1388
|
-
* @export
|
|
1389
|
-
* @interface ReadContractStateData
|
|
1390
|
-
*/
|
|
1391
|
-
interface ReadContractStateData {
|
|
1392
|
-
/**
|
|
1393
|
-
* Output for the ABI interaction.
|
|
1394
|
-
* @type {Array<any>}
|
|
1395
|
-
* @memberof ReadContractStateData
|
|
1396
|
-
*/
|
|
1397
|
-
'outputValues': Array<any>;
|
|
1398
|
-
/**
|
|
1399
|
-
* OutputData is output in hex format.
|
|
1400
|
-
* @type {string}
|
|
1401
|
-
* @memberof ReadContractStateData
|
|
1402
|
-
*/
|
|
1403
|
-
'outputData': string;
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
/**
|
|
1407
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1408
|
-
* https://openapi-generator.tech
|
|
1409
|
-
* Do not edit the class manually.
|
|
1410
|
-
*/
|
|
1411
|
-
|
|
1412
|
-
/**
|
|
1413
|
-
*
|
|
1414
|
-
* @export
|
|
1415
|
-
* @interface ReadContractState
|
|
1416
|
-
*/
|
|
1417
|
-
interface ReadContractState {
|
|
1418
|
-
/**
|
|
1419
|
-
*
|
|
1420
|
-
* @type {ReadContractStateData}
|
|
1421
|
-
* @memberof ReadContractState
|
|
1422
|
-
*/
|
|
1423
|
-
'data': ReadContractStateData;
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
/**
|
|
1427
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1428
|
-
* https://openapi-generator.tech
|
|
1429
|
-
* Do not edit the class manually.
|
|
1430
|
-
*/
|
|
1431
|
-
|
|
1432
|
-
/**
|
|
1433
|
-
*
|
|
1434
|
-
* @export
|
|
1435
|
-
* @interface ReadContractStateRequest
|
|
1436
|
-
*/
|
|
1437
|
-
interface ReadContractStateRequest {
|
|
1438
|
-
/**
|
|
1439
|
-
* The contract ABI function signature or `callData` field is required for interacting with the smart contract. The ABI function signature cannot be used simultaneously with `callData`. e.g. burn(uint256)
|
|
1440
|
-
* @type {string}
|
|
1441
|
-
* @memberof ReadContractStateRequest
|
|
1442
|
-
*/
|
|
1443
|
-
'abiFunctionSignature'?: string;
|
|
1444
|
-
/**
|
|
1445
|
-
* The contract ABI function signature parameters for executing the contract interaction. Supported parameter types include string, integer, boolean, and array. These parameters should be used exclusively with the abiFunctionSignature and cannot be used with `callData`.
|
|
1446
|
-
* @type {Array<AbiParametersInner>}
|
|
1447
|
-
* @memberof ReadContractStateRequest
|
|
1448
|
-
*/
|
|
1449
|
-
'abiParameters'?: Array<AbiParametersInner>;
|
|
1450
|
-
/**
|
|
1451
|
-
* The contract\'s ABI in a JSON stringified format.
|
|
1452
|
-
* @type {string}
|
|
1453
|
-
* @memberof ReadContractStateRequest
|
|
1454
|
-
*/
|
|
1455
|
-
'abiJson'?: string;
|
|
1456
|
-
/**
|
|
1457
|
-
* Address of the contract to be queried.
|
|
1458
|
-
* @type {string}
|
|
1459
|
-
* @memberof ReadContractStateRequest
|
|
1460
|
-
*/
|
|
1461
|
-
'address': string;
|
|
1462
|
-
/**
|
|
1463
|
-
*
|
|
1464
|
-
* @type {Blockchain}
|
|
1465
|
-
* @memberof ReadContractStateRequest
|
|
1466
|
-
*/
|
|
1467
|
-
'blockchain': Blockchain;
|
|
1468
|
-
/**
|
|
1469
|
-
* CallData is input data that encodes method and parameters.
|
|
1470
|
-
* @type {string}
|
|
1471
|
-
* @memberof ReadContractStateRequest
|
|
1472
|
-
*/
|
|
1473
|
-
'callData'?: string;
|
|
1474
|
-
/**
|
|
1475
|
-
* FromAddress is the address that will populate msg.sender in the contract call.
|
|
1476
|
-
* @type {string}
|
|
1477
|
-
* @memberof ReadContractStateRequest
|
|
1478
|
-
*/
|
|
1479
|
-
'fromAddress'?: string;
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
/**
|
|
1483
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1484
|
-
* https://openapi-generator.tech
|
|
1485
|
-
* Do not edit the class manually.
|
|
1486
|
-
*/
|
|
1487
|
-
/**
|
|
1488
|
-
*
|
|
1489
|
-
* @export
|
|
1490
|
-
* @interface TemplateContractDeploymentData
|
|
1491
|
-
*/
|
|
1492
|
-
interface TemplateContractDeploymentData {
|
|
1493
|
-
/**
|
|
1494
|
-
* Unique identifiers of the created smart contracts.
|
|
1495
|
-
* @type {Array<string>}
|
|
1496
|
-
* @memberof TemplateContractDeploymentData
|
|
1497
|
-
*/
|
|
1498
|
-
'contractIds': Array<string>;
|
|
1499
|
-
/**
|
|
1500
|
-
* Unique identifier of the pending deployment transaction. transaction.
|
|
1501
|
-
* @type {string}
|
|
1502
|
-
* @memberof TemplateContractDeploymentData
|
|
1503
|
-
*/
|
|
1504
|
-
'transactionId': string;
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1509
|
-
* https://openapi-generator.tech
|
|
1510
|
-
* Do not edit the class manually.
|
|
1511
|
-
*/
|
|
1512
|
-
|
|
1513
|
-
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @export
|
|
1516
|
-
* @interface TemplateContractDeployment
|
|
1517
|
-
*/
|
|
1518
|
-
interface TemplateContractDeployment {
|
|
1519
|
-
/**
|
|
1520
|
-
*
|
|
1521
|
-
* @type {TemplateContractDeploymentData}
|
|
1522
|
-
* @memberof TemplateContractDeployment
|
|
1523
|
-
*/
|
|
1524
|
-
'data': TemplateContractDeploymentData;
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
/**
|
|
1528
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1529
|
-
* https://openapi-generator.tech
|
|
1530
|
-
* Do not edit the class manually.
|
|
1531
|
-
*/
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
*
|
|
1535
|
-
* @export
|
|
1536
|
-
* @interface TemplateContractDeploymentRequest
|
|
1537
|
-
*/
|
|
1538
|
-
interface TemplateContractDeploymentRequest {
|
|
1539
|
-
/**
|
|
1540
|
-
* Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to [uuidgenerator.net](https://www.uuidgenerator.net). If the same key is reused, it will be treated as the same request and the original response will be returned.
|
|
1541
|
-
* @type {string}
|
|
1542
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1543
|
-
*/
|
|
1544
|
-
'idempotencyKey': string;
|
|
1545
|
-
/**
|
|
1546
|
-
*
|
|
1547
|
-
* @type {Blockchain}
|
|
1548
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1549
|
-
*/
|
|
1550
|
-
'blockchain': Blockchain;
|
|
1551
|
-
/**
|
|
1552
|
-
* System-generated unique identifier of the resource.
|
|
1553
|
-
* @type {string}
|
|
1554
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1555
|
-
*/
|
|
1556
|
-
'walletId': string;
|
|
1557
|
-
/**
|
|
1558
|
-
* Name of the contract in your Circle console.
|
|
1559
|
-
* @type {string}
|
|
1560
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1561
|
-
*/
|
|
1562
|
-
'name': string;
|
|
1563
|
-
/**
|
|
1564
|
-
* Description of the contract.
|
|
1565
|
-
* @type {string}
|
|
1566
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1567
|
-
*/
|
|
1568
|
-
'description'?: string;
|
|
1569
|
-
/**
|
|
1570
|
-
* A base64 string expression of the entity secret ciphertext. The entity secret should be encrypted by the entity public key. Circle mandates that the entity secret ciphertext is unique for each API request.
|
|
1571
|
-
* @type {string}
|
|
1572
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1573
|
-
*/
|
|
1574
|
-
'entitySecretCiphertext': string;
|
|
1575
|
-
/**
|
|
1576
|
-
* JSON object that contains the template deployment parameters used to initialize the contract(s) on-chain.
|
|
1577
|
-
* @type {{ [key: string]: string; }}
|
|
1578
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1579
|
-
*/
|
|
1580
|
-
'templateParameters'?: {
|
|
1581
|
-
[key: string]: string;
|
|
1582
|
-
};
|
|
1583
|
-
/**
|
|
1584
|
-
*
|
|
1585
|
-
* @type {FeeLevel}
|
|
1586
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1587
|
-
*/
|
|
1588
|
-
'feeLevel'?: FeeLevel;
|
|
1589
|
-
/**
|
|
1590
|
-
* The maximum units of gas to use for the transaction. Required if `feeLevel` is not provided. Estimates for this limit can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API. GasLimit override (only supported for EOA wallets): Using `gasLimit` together with `feeLevel`, the provided `gasLimit` is required to be greater or equal to `feeLevel` estimation and will override the estimation\'s gasLimit.
|
|
1591
|
-
* @type {string}
|
|
1592
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1593
|
-
*/
|
|
1594
|
-
'gasLimit'?: string;
|
|
1595
|
-
/**
|
|
1596
|
-
* For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see `gasLimit`). Requires `gasLimit`. Cannot be used with `feeLevel`, `priorityFee`, or `maxFee`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
1597
|
-
* @type {string}
|
|
1598
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1599
|
-
*/
|
|
1600
|
-
'gasPrice'?: string;
|
|
1601
|
-
/**
|
|
1602
|
-
* For blockchains with EIP-1559 support, the maximum price per unit of gas (see `gasLimit`), in gwei. Requires `priorityFee`, and `gasLimit` to be present. Cannot be used with `feeLevel` or `gasPrice`. Estimates for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
1603
|
-
* @type {string}
|
|
1604
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1605
|
-
*/
|
|
1606
|
-
'maxFee'?: string;
|
|
1607
|
-
/**
|
|
1608
|
-
* For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators. Please note that the `maxFee` and `gasLimit` parameters are required alongside the `priorityFee`. The `feeLevel` and `gasPrice` parameters cannot be used with the `priorityFee`. Estimations for this fee can be obtained through the [`POST /transactions/transfer/estimateFee`](/api-reference/w3s/developer-controlled-wallets/create-transfer-estimate-fee) API.
|
|
1609
|
-
* @type {string}
|
|
1610
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1611
|
-
*/
|
|
1612
|
-
'priorityFee'?: string;
|
|
1613
|
-
/**
|
|
1614
|
-
* RefID is a custom label field.
|
|
1615
|
-
* @type {string}
|
|
1616
|
-
* @memberof TemplateContractDeploymentRequest
|
|
1617
|
-
*/
|
|
1618
|
-
'refId'?: string;
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
/**
|
|
1622
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1623
|
-
* https://openapi-generator.tech
|
|
1624
|
-
* Do not edit the class manually.
|
|
1625
|
-
*/
|
|
1626
|
-
/**
|
|
1627
|
-
*
|
|
1628
|
-
* @export
|
|
1629
|
-
* @interface UpdateEventMonitorRequest
|
|
1630
|
-
*/
|
|
1631
|
-
interface UpdateEventMonitorRequest {
|
|
1632
|
-
/**
|
|
1633
|
-
* Indicates whether the event monitor should be active (true) or inactive (false).
|
|
1634
|
-
* @type {boolean}
|
|
1635
|
-
* @memberof UpdateEventMonitorRequest
|
|
1636
|
-
*/
|
|
1637
|
-
'isEnabled': boolean;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* DeployImportApi - axios parameter creator
|
|
1642
|
-
* @export
|
|
1643
|
-
*/
|
|
1644
|
-
declare const DeployImportApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1645
|
-
/**
|
|
1646
|
-
* Deploy a smart contract on a specified blockchain using the contract\'s ABI and bytecode. The deployment will originate from one of your Circle Wallets.
|
|
1647
|
-
* @summary Deploy a contract
|
|
1648
|
-
* @param {ContractDeploymentRequest} contractDeploymentRequest Deploy contract request
|
|
1649
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1650
|
-
* @param {*} [options] Override http request option.
|
|
1651
|
-
* @throws {RequiredError}
|
|
1652
|
-
*/
|
|
1653
|
-
deployContract: (contractDeploymentRequest: ContractDeploymentRequest, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1654
|
-
/**
|
|
1655
|
-
* Estimate the network fee for deploying a smart contract on a specified blockchain, given the contract bytecode.
|
|
1656
|
-
* @summary Estimate a contract deployment
|
|
1657
|
-
* @param {ContractDeploymentEstimateFeeRequest} contractDeploymentEstimateFeeRequest Estimate a transaction fee for deploying a smart contract
|
|
1658
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1659
|
-
* @param {*} [options] Override http request option.
|
|
1660
|
-
* @throws {RequiredError}
|
|
1661
|
-
*/
|
|
1662
|
-
estimateContractDeploy: (contractDeploymentEstimateFeeRequest: ContractDeploymentEstimateFeeRequest, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1663
|
-
/**
|
|
1664
|
-
* Add an existing smart contract to your library of contracts. It also can be done in the Developer Services Console.
|
|
1665
|
-
* @summary Import a contract
|
|
1666
|
-
* @param {ImportContractRequest} importContractRequest Import contract request
|
|
1667
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1668
|
-
* @param {*} [options] Override http request option.
|
|
1669
|
-
* @throws {RequiredError}
|
|
1670
|
-
*/
|
|
1671
|
-
importContract: (importContractRequest: ImportContractRequest, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1672
|
-
};
|
|
1673
|
-
/**
|
|
1674
|
-
* DeployImportApi - functional programming interface
|
|
1675
|
-
* @export
|
|
1676
|
-
*/
|
|
1677
|
-
declare const DeployImportApiFp: (configuration?: Configuration) => {
|
|
1678
|
-
/**
|
|
1679
|
-
* Deploy a smart contract on a specified blockchain using the contract\'s ABI and bytecode. The deployment will originate from one of your Circle Wallets.
|
|
1680
|
-
* @summary Deploy a contract
|
|
1681
|
-
* @param {ContractDeploymentRequest} contractDeploymentRequest Deploy contract request
|
|
1682
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1683
|
-
* @param {*} [options] Override http request option.
|
|
1684
|
-
* @throws {RequiredError}
|
|
1685
|
-
*/
|
|
1686
|
-
deployContract(contractDeploymentRequest: ContractDeploymentRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractDeployment>>;
|
|
1687
|
-
/**
|
|
1688
|
-
* Estimate the network fee for deploying a smart contract on a specified blockchain, given the contract bytecode.
|
|
1689
|
-
* @summary Estimate a contract deployment
|
|
1690
|
-
* @param {ContractDeploymentEstimateFeeRequest} contractDeploymentEstimateFeeRequest Estimate a transaction fee for deploying a smart contract
|
|
1691
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1692
|
-
* @param {*} [options] Override http request option.
|
|
1693
|
-
* @throws {RequiredError}
|
|
1694
|
-
*/
|
|
1695
|
-
estimateContractDeploy(contractDeploymentEstimateFeeRequest: ContractDeploymentEstimateFeeRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeeEstimation>>;
|
|
1696
|
-
/**
|
|
1697
|
-
* Add an existing smart contract to your library of contracts. It also can be done in the Developer Services Console.
|
|
1698
|
-
* @summary Import a contract
|
|
1699
|
-
* @param {ImportContractRequest} importContractRequest Import contract request
|
|
1700
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1701
|
-
* @param {*} [options] Override http request option.
|
|
1702
|
-
* @throws {RequiredError}
|
|
1703
|
-
*/
|
|
1704
|
-
importContract(importContractRequest: ImportContractRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
|
|
1705
|
-
};
|
|
1706
|
-
/**
|
|
1707
|
-
* DeployImportApi - factory interface
|
|
1708
|
-
* @export
|
|
1709
|
-
*/
|
|
1710
|
-
declare const DeployImportApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1711
|
-
/**
|
|
1712
|
-
* Deploy a smart contract on a specified blockchain using the contract\'s ABI and bytecode. The deployment will originate from one of your Circle Wallets.
|
|
1713
|
-
* @summary Deploy a contract
|
|
1714
|
-
* @param {ContractDeploymentRequest} contractDeploymentRequest Deploy contract request
|
|
1715
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1716
|
-
* @param {*} [options] Override http request option.
|
|
1717
|
-
* @throws {RequiredError}
|
|
1718
|
-
*/
|
|
1719
|
-
deployContract(contractDeploymentRequest: ContractDeploymentRequest, xRequestId?: string, options?: any): AxiosPromise<ContractDeployment>;
|
|
1720
|
-
/**
|
|
1721
|
-
* Estimate the network fee for deploying a smart contract on a specified blockchain, given the contract bytecode.
|
|
1722
|
-
* @summary Estimate a contract deployment
|
|
1723
|
-
* @param {ContractDeploymentEstimateFeeRequest} contractDeploymentEstimateFeeRequest Estimate a transaction fee for deploying a smart contract
|
|
1724
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1725
|
-
* @param {*} [options] Override http request option.
|
|
1726
|
-
* @throws {RequiredError}
|
|
1727
|
-
*/
|
|
1728
|
-
estimateContractDeploy(contractDeploymentEstimateFeeRequest: ContractDeploymentEstimateFeeRequest, xRequestId?: string, options?: any): AxiosPromise<FeeEstimation>;
|
|
1729
|
-
/**
|
|
1730
|
-
* Add an existing smart contract to your library of contracts. It also can be done in the Developer Services Console.
|
|
1731
|
-
* @summary Import a contract
|
|
1732
|
-
* @param {ImportContractRequest} importContractRequest Import contract request
|
|
1733
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1734
|
-
* @param {*} [options] Override http request option.
|
|
1735
|
-
* @throws {RequiredError}
|
|
1736
|
-
*/
|
|
1737
|
-
importContract(importContractRequest: ImportContractRequest, xRequestId?: string, options?: any): AxiosPromise<ContractResponse>;
|
|
1738
|
-
};
|
|
1739
|
-
/**
|
|
1740
|
-
* DeployImportApi - object-oriented interface
|
|
1741
|
-
* @export
|
|
1742
|
-
* @class DeployImportApi
|
|
1743
|
-
* @extends {BaseAPI}
|
|
1744
|
-
*/
|
|
1745
|
-
declare class DeployImportApi extends BaseAPI {
|
|
1746
|
-
/**
|
|
1747
|
-
* Deploy a smart contract on a specified blockchain using the contract\'s ABI and bytecode. The deployment will originate from one of your Circle Wallets.
|
|
1748
|
-
* @summary Deploy a contract
|
|
1749
|
-
* @param {ContractDeploymentRequest} contractDeploymentRequest Deploy contract request
|
|
1750
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1751
|
-
* @param {*} [options] Override http request option.
|
|
1752
|
-
* @throws {RequiredError}
|
|
1753
|
-
* @memberof DeployImportApi
|
|
1754
|
-
*/
|
|
1755
|
-
deployContract(contractDeploymentRequest: ContractDeploymentRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<ContractDeployment, any, {}>>;
|
|
1756
|
-
/**
|
|
1757
|
-
* Estimate the network fee for deploying a smart contract on a specified blockchain, given the contract bytecode.
|
|
1758
|
-
* @summary Estimate a contract deployment
|
|
1759
|
-
* @param {ContractDeploymentEstimateFeeRequest} contractDeploymentEstimateFeeRequest Estimate a transaction fee for deploying a smart contract
|
|
1760
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1761
|
-
* @param {*} [options] Override http request option.
|
|
1762
|
-
* @throws {RequiredError}
|
|
1763
|
-
* @memberof DeployImportApi
|
|
1764
|
-
*/
|
|
1765
|
-
estimateContractDeploy(contractDeploymentEstimateFeeRequest: ContractDeploymentEstimateFeeRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<FeeEstimation, any, {}>>;
|
|
1766
|
-
/**
|
|
1767
|
-
* Add an existing smart contract to your library of contracts. It also can be done in the Developer Services Console.
|
|
1768
|
-
* @summary Import a contract
|
|
1769
|
-
* @param {ImportContractRequest} importContractRequest Import contract request
|
|
1770
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1771
|
-
* @param {*} [options] Override http request option.
|
|
1772
|
-
* @throws {RequiredError}
|
|
1773
|
-
* @memberof DeployImportApi
|
|
1774
|
-
*/
|
|
1775
|
-
importContract(importContractRequest: ImportContractRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<ContractResponse, any, {}>>;
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* EventMonitorsApi - axios parameter creator
|
|
1780
|
-
* @export
|
|
1781
|
-
*/
|
|
1782
|
-
declare const EventMonitorsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1783
|
-
/**
|
|
1784
|
-
* Create a new event monitor based on the provided blockchain, contract address, and event signature.
|
|
1785
|
-
* @summary Create Event Monitor
|
|
1786
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1787
|
-
* @param {CreateEventMonitorRequest} [createEventMonitorRequest] Create Event Monitor Request
|
|
1788
|
-
* @param {*} [options] Override http request option.
|
|
1789
|
-
* @throws {RequiredError}
|
|
1790
|
-
*/
|
|
1791
|
-
createEventMonitor: (xRequestId?: string, createEventMonitorRequest?: CreateEventMonitorRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1792
|
-
/**
|
|
1793
|
-
* Delete an existing event monitor given its ID.
|
|
1794
|
-
* @summary Delete Event Monitor
|
|
1795
|
-
* @param {string} id Event Monitor ID.
|
|
1796
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1797
|
-
* @param {*} [options] Override http request option.
|
|
1798
|
-
* @throws {RequiredError}
|
|
1799
|
-
*/
|
|
1800
|
-
deleteEventMonitor: (id: string, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1801
|
-
/**
|
|
1802
|
-
* Fetch a list of event monitors, optionally filtered by blockchain, contract address, and event signature.
|
|
1803
|
-
* @summary Get Event Monitors
|
|
1804
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
1805
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
1806
|
-
* @param {string} [eventSignature] Filter monitors by event signature.
|
|
1807
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1808
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
1809
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
1810
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
1811
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1812
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1813
|
-
* @param {*} [options] Override http request option.
|
|
1814
|
-
* @throws {RequiredError}
|
|
1815
|
-
*/
|
|
1816
|
-
getEventMonitors: (contractAddress?: string, blockchain?: Blockchain, eventSignature?: string, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1817
|
-
/**
|
|
1818
|
-
* Fetch all event logs, optionally filtered by blockchain and contract address.
|
|
1819
|
-
* @summary Get Event Logs
|
|
1820
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
1821
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
1822
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1823
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
1824
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
1825
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
1826
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1827
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1828
|
-
* @param {*} [options] Override http request option.
|
|
1829
|
-
* @throws {RequiredError}
|
|
1830
|
-
*/
|
|
1831
|
-
listEventLogs: (contractAddress?: string, blockchain?: Blockchain, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1832
|
-
/**
|
|
1833
|
-
* Update an existing event monitor given its ID.
|
|
1834
|
-
* @summary Update an Event Monitor
|
|
1835
|
-
* @param {string} id Event Monitor ID.
|
|
1836
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1837
|
-
* @param {UpdateEventMonitorRequest} [updateEventMonitorRequest] Update Event Monitor Request
|
|
1838
|
-
* @param {*} [options] Override http request option.
|
|
1839
|
-
* @throws {RequiredError}
|
|
1840
|
-
*/
|
|
1841
|
-
updateEventMonitor: (id: string, xRequestId?: string, updateEventMonitorRequest?: UpdateEventMonitorRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1842
|
-
};
|
|
1843
|
-
/**
|
|
1844
|
-
* EventMonitorsApi - functional programming interface
|
|
1845
|
-
* @export
|
|
1846
|
-
*/
|
|
1847
|
-
declare const EventMonitorsApiFp: (configuration?: Configuration) => {
|
|
1848
|
-
/**
|
|
1849
|
-
* Create a new event monitor based on the provided blockchain, contract address, and event signature.
|
|
1850
|
-
* @summary Create Event Monitor
|
|
1851
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1852
|
-
* @param {CreateEventMonitorRequest} [createEventMonitorRequest] Create Event Monitor Request
|
|
1853
|
-
* @param {*} [options] Override http request option.
|
|
1854
|
-
* @throws {RequiredError}
|
|
1855
|
-
*/
|
|
1856
|
-
createEventMonitor(xRequestId?: string, createEventMonitorRequest?: CreateEventMonitorRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventMonitorResponse>>;
|
|
1857
|
-
/**
|
|
1858
|
-
* Delete an existing event monitor given its ID.
|
|
1859
|
-
* @summary Delete Event Monitor
|
|
1860
|
-
* @param {string} id Event Monitor ID.
|
|
1861
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1862
|
-
* @param {*} [options] Override http request option.
|
|
1863
|
-
* @throws {RequiredError}
|
|
1864
|
-
*/
|
|
1865
|
-
deleteEventMonitor(id: string, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1866
|
-
/**
|
|
1867
|
-
* Fetch a list of event monitors, optionally filtered by blockchain, contract address, and event signature.
|
|
1868
|
-
* @summary Get Event Monitors
|
|
1869
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
1870
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
1871
|
-
* @param {string} [eventSignature] Filter monitors by event signature.
|
|
1872
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1873
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
1874
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
1875
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
1876
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1877
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1878
|
-
* @param {*} [options] Override http request option.
|
|
1879
|
-
* @throws {RequiredError}
|
|
1880
|
-
*/
|
|
1881
|
-
getEventMonitors(contractAddress?: string, blockchain?: Blockchain, eventSignature?: string, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventMonitors>>;
|
|
1882
|
-
/**
|
|
1883
|
-
* Fetch all event logs, optionally filtered by blockchain and contract address.
|
|
1884
|
-
* @summary Get Event Logs
|
|
1885
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
1886
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
1887
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1888
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
1889
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
1890
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
1891
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1892
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1893
|
-
* @param {*} [options] Override http request option.
|
|
1894
|
-
* @throws {RequiredError}
|
|
1895
|
-
*/
|
|
1896
|
-
listEventLogs(contractAddress?: string, blockchain?: Blockchain, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventLogs>>;
|
|
1897
|
-
/**
|
|
1898
|
-
* Update an existing event monitor given its ID.
|
|
1899
|
-
* @summary Update an Event Monitor
|
|
1900
|
-
* @param {string} id Event Monitor ID.
|
|
1901
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1902
|
-
* @param {UpdateEventMonitorRequest} [updateEventMonitorRequest] Update Event Monitor Request
|
|
1903
|
-
* @param {*} [options] Override http request option.
|
|
1904
|
-
* @throws {RequiredError}
|
|
1905
|
-
*/
|
|
1906
|
-
updateEventMonitor(id: string, xRequestId?: string, updateEventMonitorRequest?: UpdateEventMonitorRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventMonitorResponse>>;
|
|
1907
|
-
};
|
|
1908
|
-
/**
|
|
1909
|
-
* EventMonitorsApi - factory interface
|
|
1910
|
-
* @export
|
|
1911
|
-
*/
|
|
1912
|
-
declare const EventMonitorsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1913
|
-
/**
|
|
1914
|
-
* Create a new event monitor based on the provided blockchain, contract address, and event signature.
|
|
1915
|
-
* @summary Create Event Monitor
|
|
1916
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1917
|
-
* @param {CreateEventMonitorRequest} [createEventMonitorRequest] Create Event Monitor Request
|
|
1918
|
-
* @param {*} [options] Override http request option.
|
|
1919
|
-
* @throws {RequiredError}
|
|
1920
|
-
*/
|
|
1921
|
-
createEventMonitor(xRequestId?: string, createEventMonitorRequest?: CreateEventMonitorRequest, options?: any): AxiosPromise<EventMonitorResponse>;
|
|
1922
|
-
/**
|
|
1923
|
-
* Delete an existing event monitor given its ID.
|
|
1924
|
-
* @summary Delete Event Monitor
|
|
1925
|
-
* @param {string} id Event Monitor ID.
|
|
1926
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1927
|
-
* @param {*} [options] Override http request option.
|
|
1928
|
-
* @throws {RequiredError}
|
|
1929
|
-
*/
|
|
1930
|
-
deleteEventMonitor(id: string, xRequestId?: string, options?: any): AxiosPromise<void>;
|
|
1931
|
-
/**
|
|
1932
|
-
* Fetch a list of event monitors, optionally filtered by blockchain, contract address, and event signature.
|
|
1933
|
-
* @summary Get Event Monitors
|
|
1934
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
1935
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
1936
|
-
* @param {string} [eventSignature] Filter monitors by event signature.
|
|
1937
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1938
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
1939
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
1940
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
1941
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1942
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1943
|
-
* @param {*} [options] Override http request option.
|
|
1944
|
-
* @throws {RequiredError}
|
|
1945
|
-
*/
|
|
1946
|
-
getEventMonitors(contractAddress?: string, blockchain?: Blockchain, eventSignature?: string, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: any): AxiosPromise<EventMonitors>;
|
|
1947
|
-
/**
|
|
1948
|
-
* Fetch all event logs, optionally filtered by blockchain and contract address.
|
|
1949
|
-
* @summary Get Event Logs
|
|
1950
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
1951
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
1952
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
1953
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
1954
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
1955
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
1956
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
1957
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1958
|
-
* @param {*} [options] Override http request option.
|
|
1959
|
-
* @throws {RequiredError}
|
|
1960
|
-
*/
|
|
1961
|
-
listEventLogs(contractAddress?: string, blockchain?: Blockchain, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: any): AxiosPromise<EventLogs>;
|
|
1962
|
-
/**
|
|
1963
|
-
* Update an existing event monitor given its ID.
|
|
1964
|
-
* @summary Update an Event Monitor
|
|
1965
|
-
* @param {string} id Event Monitor ID.
|
|
1966
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1967
|
-
* @param {UpdateEventMonitorRequest} [updateEventMonitorRequest] Update Event Monitor Request
|
|
1968
|
-
* @param {*} [options] Override http request option.
|
|
1969
|
-
* @throws {RequiredError}
|
|
1970
|
-
*/
|
|
1971
|
-
updateEventMonitor(id: string, xRequestId?: string, updateEventMonitorRequest?: UpdateEventMonitorRequest, options?: any): AxiosPromise<EventMonitorResponse>;
|
|
1972
|
-
};
|
|
1973
|
-
/**
|
|
1974
|
-
* EventMonitorsApi - object-oriented interface
|
|
1975
|
-
* @export
|
|
1976
|
-
* @class EventMonitorsApi
|
|
1977
|
-
* @extends {BaseAPI}
|
|
1978
|
-
*/
|
|
1979
|
-
declare class EventMonitorsApi extends BaseAPI {
|
|
1980
|
-
/**
|
|
1981
|
-
* Create a new event monitor based on the provided blockchain, contract address, and event signature.
|
|
1982
|
-
* @summary Create Event Monitor
|
|
1983
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1984
|
-
* @param {CreateEventMonitorRequest} [createEventMonitorRequest] Create Event Monitor Request
|
|
1985
|
-
* @param {*} [options] Override http request option.
|
|
1986
|
-
* @throws {RequiredError}
|
|
1987
|
-
* @memberof EventMonitorsApi
|
|
1988
|
-
*/
|
|
1989
|
-
createEventMonitor(xRequestId?: string, createEventMonitorRequest?: CreateEventMonitorRequest, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<EventMonitorResponse, any, {}>>;
|
|
1990
|
-
/**
|
|
1991
|
-
* Delete an existing event monitor given its ID.
|
|
1992
|
-
* @summary Delete Event Monitor
|
|
1993
|
-
* @param {string} id Event Monitor ID.
|
|
1994
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
1995
|
-
* @param {*} [options] Override http request option.
|
|
1996
|
-
* @throws {RequiredError}
|
|
1997
|
-
* @memberof EventMonitorsApi
|
|
1998
|
-
*/
|
|
1999
|
-
deleteEventMonitor(id: string, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
|
|
2000
|
-
/**
|
|
2001
|
-
* Fetch a list of event monitors, optionally filtered by blockchain, contract address, and event signature.
|
|
2002
|
-
* @summary Get Event Monitors
|
|
2003
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
2004
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
2005
|
-
* @param {string} [eventSignature] Filter monitors by event signature.
|
|
2006
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
2007
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
2008
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
2009
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
2010
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
2011
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2012
|
-
* @param {*} [options] Override http request option.
|
|
2013
|
-
* @throws {RequiredError}
|
|
2014
|
-
* @memberof EventMonitorsApi
|
|
2015
|
-
*/
|
|
2016
|
-
getEventMonitors(contractAddress?: string, blockchain?: Blockchain, eventSignature?: string, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<EventMonitors, any, {}>>;
|
|
2017
|
-
/**
|
|
2018
|
-
* Fetch all event logs, optionally filtered by blockchain and contract address.
|
|
2019
|
-
* @summary Get Event Logs
|
|
2020
|
-
* @param {string} [contractAddress] Filter contracts by address.
|
|
2021
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
2022
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
2023
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
2024
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
2025
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
2026
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
2027
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2028
|
-
* @param {*} [options] Override http request option.
|
|
2029
|
-
* @throws {RequiredError}
|
|
2030
|
-
* @memberof EventMonitorsApi
|
|
2031
|
-
*/
|
|
2032
|
-
listEventLogs(contractAddress?: string, blockchain?: Blockchain, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<EventLogs, any, {}>>;
|
|
2033
|
-
/**
|
|
2034
|
-
* Update an existing event monitor given its ID.
|
|
2035
|
-
* @summary Update an Event Monitor
|
|
2036
|
-
* @param {string} id Event Monitor ID.
|
|
2037
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2038
|
-
* @param {UpdateEventMonitorRequest} [updateEventMonitorRequest] Update Event Monitor Request
|
|
2039
|
-
* @param {*} [options] Override http request option.
|
|
2040
|
-
* @throws {RequiredError}
|
|
2041
|
-
* @memberof EventMonitorsApi
|
|
2042
|
-
*/
|
|
2043
|
-
updateEventMonitor(id: string, xRequestId?: string, updateEventMonitorRequest?: UpdateEventMonitorRequest, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<EventMonitorResponse, any, {}>>;
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
|
-
/**
|
|
2047
|
-
* InteractApi - axios parameter creator
|
|
2048
|
-
* @export
|
|
2049
|
-
*/
|
|
2050
|
-
declare const InteractApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2051
|
-
/**
|
|
2052
|
-
* Query the state of a contract by providing the address and blockchain.
|
|
2053
|
-
* @summary Execute a query function on a contract
|
|
2054
|
-
* @param {ReadContractStateRequest} readContractStateRequest Read contract state by executing a read ABI function.
|
|
2055
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2056
|
-
* @param {*} [options] Override http request option.
|
|
2057
|
-
* @throws {RequiredError}
|
|
2058
|
-
*/
|
|
2059
|
-
queryContract: (readContractStateRequest: ReadContractStateRequest, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2060
|
-
};
|
|
2061
|
-
/**
|
|
2062
|
-
* InteractApi - functional programming interface
|
|
2063
|
-
* @export
|
|
2064
|
-
*/
|
|
2065
|
-
declare const InteractApiFp: (configuration?: Configuration) => {
|
|
2066
|
-
/**
|
|
2067
|
-
* Query the state of a contract by providing the address and blockchain.
|
|
2068
|
-
* @summary Execute a query function on a contract
|
|
2069
|
-
* @param {ReadContractStateRequest} readContractStateRequest Read contract state by executing a read ABI function.
|
|
2070
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2071
|
-
* @param {*} [options] Override http request option.
|
|
2072
|
-
* @throws {RequiredError}
|
|
2073
|
-
*/
|
|
2074
|
-
queryContract(readContractStateRequest: ReadContractStateRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReadContractState>>;
|
|
2075
|
-
};
|
|
2076
|
-
/**
|
|
2077
|
-
* InteractApi - factory interface
|
|
2078
|
-
* @export
|
|
2079
|
-
*/
|
|
2080
|
-
declare const InteractApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2081
|
-
/**
|
|
2082
|
-
* Query the state of a contract by providing the address and blockchain.
|
|
2083
|
-
* @summary Execute a query function on a contract
|
|
2084
|
-
* @param {ReadContractStateRequest} readContractStateRequest Read contract state by executing a read ABI function.
|
|
2085
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2086
|
-
* @param {*} [options] Override http request option.
|
|
2087
|
-
* @throws {RequiredError}
|
|
2088
|
-
*/
|
|
2089
|
-
queryContract(readContractStateRequest: ReadContractStateRequest, xRequestId?: string, options?: any): AxiosPromise<ReadContractState>;
|
|
2090
|
-
};
|
|
2091
|
-
/**
|
|
2092
|
-
* InteractApi - object-oriented interface
|
|
2093
|
-
* @export
|
|
2094
|
-
* @class InteractApi
|
|
2095
|
-
* @extends {BaseAPI}
|
|
2096
|
-
*/
|
|
2097
|
-
declare class InteractApi extends BaseAPI {
|
|
2098
|
-
/**
|
|
2099
|
-
* Query the state of a contract by providing the address and blockchain.
|
|
2100
|
-
* @summary Execute a query function on a contract
|
|
2101
|
-
* @param {ReadContractStateRequest} readContractStateRequest Read contract state by executing a read ABI function.
|
|
2102
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2103
|
-
* @param {*} [options] Override http request option.
|
|
2104
|
-
* @throws {RequiredError}
|
|
2105
|
-
* @memberof InteractApi
|
|
2106
|
-
*/
|
|
2107
|
-
queryContract(readContractStateRequest: ReadContractStateRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<ReadContractState, any, {}>>;
|
|
2108
|
-
}
|
|
2109
|
-
|
|
2110
|
-
/**
|
|
2111
|
-
* TemplatesApi - axios parameter creator
|
|
2112
|
-
* @export
|
|
2113
|
-
*/
|
|
2114
|
-
declare const TemplatesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2115
|
-
/**
|
|
2116
|
-
* Deploy a smart contract using a template.
|
|
2117
|
-
* @summary Deploy a contract from a template
|
|
2118
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2119
|
-
* @param {TemplateContractDeploymentRequest} templateContractDeploymentRequest Deploy contract by template request.
|
|
2120
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2121
|
-
* @param {*} [options] Override http request option.
|
|
2122
|
-
* @throws {RequiredError}
|
|
2123
|
-
*/
|
|
2124
|
-
deployContractTemplate: (id: string, templateContractDeploymentRequest: TemplateContractDeploymentRequest, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2125
|
-
/**
|
|
2126
|
-
* Estimate the fee required to deploy contract by template.
|
|
2127
|
-
* @summary Estimate fee for a contract template deployment
|
|
2128
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2129
|
-
* @param {ContractDeploymentEstimateRequest} contractDeploymentEstimateRequest Request object for estimating the transaction fees for deploying a contract from a template.
|
|
2130
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2131
|
-
* @param {*} [options] Override http request option.
|
|
2132
|
-
* @throws {RequiredError}
|
|
2133
|
-
*/
|
|
2134
|
-
estimateContractTemplateDeploy: (id: string, contractDeploymentEstimateRequest: ContractDeploymentEstimateRequest, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2135
|
-
};
|
|
2136
|
-
/**
|
|
2137
|
-
* TemplatesApi - functional programming interface
|
|
2138
|
-
* @export
|
|
2139
|
-
*/
|
|
2140
|
-
declare const TemplatesApiFp: (configuration?: Configuration) => {
|
|
2141
|
-
/**
|
|
2142
|
-
* Deploy a smart contract using a template.
|
|
2143
|
-
* @summary Deploy a contract from a template
|
|
2144
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2145
|
-
* @param {TemplateContractDeploymentRequest} templateContractDeploymentRequest Deploy contract by template request.
|
|
2146
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2147
|
-
* @param {*} [options] Override http request option.
|
|
2148
|
-
* @throws {RequiredError}
|
|
2149
|
-
*/
|
|
2150
|
-
deployContractTemplate(id: string, templateContractDeploymentRequest: TemplateContractDeploymentRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateContractDeployment>>;
|
|
2151
|
-
/**
|
|
2152
|
-
* Estimate the fee required to deploy contract by template.
|
|
2153
|
-
* @summary Estimate fee for a contract template deployment
|
|
2154
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2155
|
-
* @param {ContractDeploymentEstimateRequest} contractDeploymentEstimateRequest Request object for estimating the transaction fees for deploying a contract from a template.
|
|
2156
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2157
|
-
* @param {*} [options] Override http request option.
|
|
2158
|
-
* @throws {RequiredError}
|
|
2159
|
-
*/
|
|
2160
|
-
estimateContractTemplateDeploy(id: string, contractDeploymentEstimateRequest: ContractDeploymentEstimateRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeeEstimation>>;
|
|
2161
|
-
};
|
|
2162
|
-
/**
|
|
2163
|
-
* TemplatesApi - factory interface
|
|
2164
|
-
* @export
|
|
2165
|
-
*/
|
|
2166
|
-
declare const TemplatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2167
|
-
/**
|
|
2168
|
-
* Deploy a smart contract using a template.
|
|
2169
|
-
* @summary Deploy a contract from a template
|
|
2170
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2171
|
-
* @param {TemplateContractDeploymentRequest} templateContractDeploymentRequest Deploy contract by template request.
|
|
2172
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2173
|
-
* @param {*} [options] Override http request option.
|
|
2174
|
-
* @throws {RequiredError}
|
|
2175
|
-
*/
|
|
2176
|
-
deployContractTemplate(id: string, templateContractDeploymentRequest: TemplateContractDeploymentRequest, xRequestId?: string, options?: any): AxiosPromise<TemplateContractDeployment>;
|
|
2177
|
-
/**
|
|
2178
|
-
* Estimate the fee required to deploy contract by template.
|
|
2179
|
-
* @summary Estimate fee for a contract template deployment
|
|
2180
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2181
|
-
* @param {ContractDeploymentEstimateRequest} contractDeploymentEstimateRequest Request object for estimating the transaction fees for deploying a contract from a template.
|
|
2182
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2183
|
-
* @param {*} [options] Override http request option.
|
|
2184
|
-
* @throws {RequiredError}
|
|
2185
|
-
*/
|
|
2186
|
-
estimateContractTemplateDeploy(id: string, contractDeploymentEstimateRequest: ContractDeploymentEstimateRequest, xRequestId?: string, options?: any): AxiosPromise<FeeEstimation>;
|
|
2187
|
-
};
|
|
2188
|
-
/**
|
|
2189
|
-
* TemplatesApi - object-oriented interface
|
|
2190
|
-
* @export
|
|
2191
|
-
* @class TemplatesApi
|
|
2192
|
-
* @extends {BaseAPI}
|
|
2193
|
-
*/
|
|
2194
|
-
declare class TemplatesApi extends BaseAPI {
|
|
2195
|
-
/**
|
|
2196
|
-
* Deploy a smart contract using a template.
|
|
2197
|
-
* @summary Deploy a contract from a template
|
|
2198
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2199
|
-
* @param {TemplateContractDeploymentRequest} templateContractDeploymentRequest Deploy contract by template request.
|
|
2200
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2201
|
-
* @param {*} [options] Override http request option.
|
|
2202
|
-
* @throws {RequiredError}
|
|
2203
|
-
* @memberof TemplatesApi
|
|
2204
|
-
*/
|
|
2205
|
-
deployContractTemplate(id: string, templateContractDeploymentRequest: TemplateContractDeploymentRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<TemplateContractDeployment, any, {}>>;
|
|
2206
|
-
/**
|
|
2207
|
-
* Estimate the fee required to deploy contract by template.
|
|
2208
|
-
* @summary Estimate fee for a contract template deployment
|
|
2209
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2210
|
-
* @param {ContractDeploymentEstimateRequest} contractDeploymentEstimateRequest Request object for estimating the transaction fees for deploying a contract from a template.
|
|
2211
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2212
|
-
* @param {*} [options] Override http request option.
|
|
2213
|
-
* @throws {RequiredError}
|
|
2214
|
-
* @memberof TemplatesApi
|
|
2215
|
-
*/
|
|
2216
|
-
estimateContractTemplateDeploy(id: string, contractDeploymentEstimateRequest: ContractDeploymentEstimateRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<FeeEstimation, any, {}>>;
|
|
2217
|
-
}
|
|
2218
|
-
|
|
2219
|
-
/**
|
|
2220
|
-
* ViewUpdateApi - axios parameter creator
|
|
2221
|
-
* @export
|
|
2222
|
-
*/
|
|
2223
|
-
declare const ViewUpdateApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2224
|
-
/**
|
|
2225
|
-
* Get a single contract that you\'ve imported or deployed. Retrieved using the contracts ID as opposed to the on-chain address.
|
|
2226
|
-
* @summary Get a contract
|
|
2227
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2228
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2229
|
-
* @param {*} [options] Override http request option.
|
|
2230
|
-
* @throws {RequiredError}
|
|
2231
|
-
*/
|
|
2232
|
-
getContract: (id: string, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2233
|
-
/**
|
|
2234
|
-
* Fetch a list of contracts that you\'ve imported and/or deployed.
|
|
2235
|
-
* @summary List contracts
|
|
2236
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
2237
|
-
* @param {ContractInputType} [contractInputType] Filter contracts by input type.
|
|
2238
|
-
* @param {string} [deployerAddress] Filter contracts by deployer address.
|
|
2239
|
-
* @param {string} [name] Filter contracts by name.
|
|
2240
|
-
* @param {ContractStatus} [status] Filter contracts by status.
|
|
2241
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
2242
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
2243
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
2244
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
2245
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
2246
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2247
|
-
* @param {*} [options] Override http request option.
|
|
2248
|
-
* @throws {RequiredError}
|
|
2249
|
-
*/
|
|
2250
|
-
listContracts: (blockchain?: Blockchain, contractInputType?: ContractInputType, deployerAddress?: string, name?: string, status?: ContractStatus, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2251
|
-
/**
|
|
2252
|
-
* Update the off-chain properties, such as description, of a contract that you\'ve imported or deployed. Updated using the contracts ID as opposed to the on-chain address.
|
|
2253
|
-
* @summary Update a contract
|
|
2254
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2255
|
-
* @param {PatchContractRequest} patchContractRequest Update contract properties request
|
|
2256
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2257
|
-
* @param {*} [options] Override http request option.
|
|
2258
|
-
* @throws {RequiredError}
|
|
2259
|
-
*/
|
|
2260
|
-
updateContract: (id: string, patchContractRequest: PatchContractRequest, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2261
|
-
};
|
|
2262
|
-
/**
|
|
2263
|
-
* ViewUpdateApi - functional programming interface
|
|
2264
|
-
* @export
|
|
2265
|
-
*/
|
|
2266
|
-
declare const ViewUpdateApiFp: (configuration?: Configuration) => {
|
|
2267
|
-
/**
|
|
2268
|
-
* Get a single contract that you\'ve imported or deployed. Retrieved using the contracts ID as opposed to the on-chain address.
|
|
2269
|
-
* @summary Get a contract
|
|
2270
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2271
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2272
|
-
* @param {*} [options] Override http request option.
|
|
2273
|
-
* @throws {RequiredError}
|
|
2274
|
-
*/
|
|
2275
|
-
getContract(id: string, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
|
|
2276
|
-
/**
|
|
2277
|
-
* Fetch a list of contracts that you\'ve imported and/or deployed.
|
|
2278
|
-
* @summary List contracts
|
|
2279
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
2280
|
-
* @param {ContractInputType} [contractInputType] Filter contracts by input type.
|
|
2281
|
-
* @param {string} [deployerAddress] Filter contracts by deployer address.
|
|
2282
|
-
* @param {string} [name] Filter contracts by name.
|
|
2283
|
-
* @param {ContractStatus} [status] Filter contracts by status.
|
|
2284
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
2285
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
2286
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
2287
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
2288
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
2289
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2290
|
-
* @param {*} [options] Override http request option.
|
|
2291
|
-
* @throws {RequiredError}
|
|
2292
|
-
*/
|
|
2293
|
-
listContracts(blockchain?: Blockchain, contractInputType?: ContractInputType, deployerAddress?: string, name?: string, status?: ContractStatus, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Contracts>>;
|
|
2294
|
-
/**
|
|
2295
|
-
* Update the off-chain properties, such as description, of a contract that you\'ve imported or deployed. Updated using the contracts ID as opposed to the on-chain address.
|
|
2296
|
-
* @summary Update a contract
|
|
2297
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2298
|
-
* @param {PatchContractRequest} patchContractRequest Update contract properties request
|
|
2299
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2300
|
-
* @param {*} [options] Override http request option.
|
|
2301
|
-
* @throws {RequiredError}
|
|
2302
|
-
*/
|
|
2303
|
-
updateContract(id: string, patchContractRequest: PatchContractRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
|
|
2304
|
-
};
|
|
2305
|
-
/**
|
|
2306
|
-
* ViewUpdateApi - factory interface
|
|
2307
|
-
* @export
|
|
2308
|
-
*/
|
|
2309
|
-
declare const ViewUpdateApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2310
|
-
/**
|
|
2311
|
-
* Get a single contract that you\'ve imported or deployed. Retrieved using the contracts ID as opposed to the on-chain address.
|
|
2312
|
-
* @summary Get a contract
|
|
2313
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2314
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2315
|
-
* @param {*} [options] Override http request option.
|
|
2316
|
-
* @throws {RequiredError}
|
|
2317
|
-
*/
|
|
2318
|
-
getContract(id: string, xRequestId?: string, options?: any): AxiosPromise<ContractResponse>;
|
|
2319
|
-
/**
|
|
2320
|
-
* Fetch a list of contracts that you\'ve imported and/or deployed.
|
|
2321
|
-
* @summary List contracts
|
|
2322
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
2323
|
-
* @param {ContractInputType} [contractInputType] Filter contracts by input type.
|
|
2324
|
-
* @param {string} [deployerAddress] Filter contracts by deployer address.
|
|
2325
|
-
* @param {string} [name] Filter contracts by name.
|
|
2326
|
-
* @param {ContractStatus} [status] Filter contracts by status.
|
|
2327
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
2328
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
2329
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
2330
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
2331
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
2332
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2333
|
-
* @param {*} [options] Override http request option.
|
|
2334
|
-
* @throws {RequiredError}
|
|
2335
|
-
*/
|
|
2336
|
-
listContracts(blockchain?: Blockchain, contractInputType?: ContractInputType, deployerAddress?: string, name?: string, status?: ContractStatus, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: any): AxiosPromise<Contracts>;
|
|
2337
|
-
/**
|
|
2338
|
-
* Update the off-chain properties, such as description, of a contract that you\'ve imported or deployed. Updated using the contracts ID as opposed to the on-chain address.
|
|
2339
|
-
* @summary Update a contract
|
|
2340
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2341
|
-
* @param {PatchContractRequest} patchContractRequest Update contract properties request
|
|
2342
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2343
|
-
* @param {*} [options] Override http request option.
|
|
2344
|
-
* @throws {RequiredError}
|
|
2345
|
-
*/
|
|
2346
|
-
updateContract(id: string, patchContractRequest: PatchContractRequest, xRequestId?: string, options?: any): AxiosPromise<ContractResponse>;
|
|
2347
|
-
};
|
|
2348
|
-
/**
|
|
2349
|
-
* ViewUpdateApi - object-oriented interface
|
|
2350
|
-
* @export
|
|
2351
|
-
* @class ViewUpdateApi
|
|
2352
|
-
* @extends {BaseAPI}
|
|
2353
|
-
*/
|
|
2354
|
-
declare class ViewUpdateApi extends BaseAPI {
|
|
2355
|
-
/**
|
|
2356
|
-
* Get a single contract that you\'ve imported or deployed. Retrieved using the contracts ID as opposed to the on-chain address.
|
|
2357
|
-
* @summary Get a contract
|
|
2358
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2359
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2360
|
-
* @param {*} [options] Override http request option.
|
|
2361
|
-
* @throws {RequiredError}
|
|
2362
|
-
* @memberof ViewUpdateApi
|
|
2363
|
-
*/
|
|
2364
|
-
getContract(id: string, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<ContractResponse, any, {}>>;
|
|
2365
|
-
/**
|
|
2366
|
-
* Fetch a list of contracts that you\'ve imported and/or deployed.
|
|
2367
|
-
* @summary List contracts
|
|
2368
|
-
* @param {Blockchain} [blockchain] Filter by blockchain.
|
|
2369
|
-
* @param {ContractInputType} [contractInputType] Filter contracts by input type.
|
|
2370
|
-
* @param {string} [deployerAddress] Filter contracts by deployer address.
|
|
2371
|
-
* @param {string} [name] Filter contracts by name.
|
|
2372
|
-
* @param {ContractStatus} [status] Filter contracts by status.
|
|
2373
|
-
* @param {string} [from] Queries items created since the specified date-time (inclusive) in ISO 8601 format.
|
|
2374
|
-
* @param {string} [to] Queries items created before the specified date-time (inclusive) in ISO 8601 format.
|
|
2375
|
-
* @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
|
|
2376
|
-
* @param {string} [pageAfter] A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
|
|
2377
|
-
* @param {number} [pageSize] Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
|
|
2378
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2379
|
-
* @param {*} [options] Override http request option.
|
|
2380
|
-
* @throws {RequiredError}
|
|
2381
|
-
* @memberof ViewUpdateApi
|
|
2382
|
-
*/
|
|
2383
|
-
listContracts(blockchain?: Blockchain, contractInputType?: ContractInputType, deployerAddress?: string, name?: string, status?: ContractStatus, from?: string, to?: string, pageBefore?: string, pageAfter?: string, pageSize?: number, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Contracts, any, {}>>;
|
|
2384
|
-
/**
|
|
2385
|
-
* Update the off-chain properties, such as description, of a contract that you\'ve imported or deployed. Updated using the contracts ID as opposed to the on-chain address.
|
|
2386
|
-
* @summary Update a contract
|
|
2387
|
-
* @param {string} id The universally unique identifier of the resource.
|
|
2388
|
-
* @param {PatchContractRequest} patchContractRequest Update contract properties request
|
|
2389
|
-
* @param {string} [xRequestId] Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
|
|
2390
|
-
* @param {*} [options] Override http request option.
|
|
2391
|
-
* @throws {RequiredError}
|
|
2392
|
-
* @memberof ViewUpdateApi
|
|
2393
|
-
*/
|
|
2394
|
-
updateContract(id: string, patchContractRequest: PatchContractRequest, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<ContractResponse, any, {}>>;
|
|
2395
|
-
}
|
|
2396
|
-
|
|
2397
|
-
/**
|
|
2398
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2399
|
-
* https://openapi-generator.tech
|
|
2400
|
-
* Do not edit the class manually.
|
|
2401
|
-
*/
|
|
2402
|
-
|
|
2403
|
-
interface ClientConfig {
|
|
2404
|
-
/**
|
|
2405
|
-
* ApiKey that will be used to authenticate the request
|
|
2406
|
-
*/
|
|
2407
|
-
apiKey: string;
|
|
2408
|
-
/**
|
|
2409
|
-
* Version of the client. Will be added to the user agent.
|
|
2410
|
-
*/
|
|
2411
|
-
version: string;
|
|
2412
|
-
/**
|
|
2413
|
-
* Customized user agent. Will be added to the user agent.
|
|
2414
|
-
*/
|
|
2415
|
-
userAgent?: string;
|
|
2416
|
-
}
|
|
2417
|
-
declare class SmartContractPlatformClient {
|
|
2418
|
-
DeployImport: ReturnType<typeof DeployImportApiFactory>;
|
|
2419
|
-
EventMonitors: ReturnType<typeof EventMonitorsApiFactory>;
|
|
2420
|
-
Interact: ReturnType<typeof InteractApiFactory>;
|
|
2421
|
-
Templates: ReturnType<typeof TemplatesApiFactory>;
|
|
2422
|
-
ViewUpdate: ReturnType<typeof ViewUpdateApiFactory>;
|
|
2423
|
-
constructor(baseUrl: string, config: ClientConfig, headers?: Record<string, string>);
|
|
2424
|
-
}
|
|
2425
|
-
|
|
2426
|
-
export { type AbiParametersInner, Blockchain, type Contract, type ContractDeployment, type ContractDeploymentData, type ContractDeploymentEstimateFeeRequest, type ContractDeploymentEstimateRequest, type ContractDeploymentRequest, ContractInputType, type ContractResponse, type ContractResponseData, ContractStatus, type Contracts, type ContractsData, type CreateEventMonitorRequest, DeployImportApi, DeployImportApiAxiosParamCreator, DeployImportApiFactory, DeployImportApiFp, type Event, type EventLog, type EventLogs, type EventLogsData, type EventMonitor, type EventMonitorResponse, type EventMonitorResponseData, type EventMonitors, EventMonitorsApi, EventMonitorsApiAxiosParamCreator, EventMonitorsApiFactory, EventMonitorsApiFp, type EventMonitorsData, type FeeEstimation, type FeeEstimationData, FeeLevel, type Function, type ImportContractRequest, InteractApi, InteractApiAxiosParamCreator, InteractApiFactory, InteractApiFp, type ModelError, type ParamType, type PatchContractRequest, type ReadContractState, type ReadContractStateData, type ReadContractStateRequest, SmartContractPlatformClient, type SolFile, type TemplateContractDeployment, type TemplateContractDeploymentData, type TemplateContractDeploymentRequest, TemplatesApi, TemplatesApiAxiosParamCreator, TemplatesApiFactory, TemplatesApiFp, type TransactionFee, type UpdateEventMonitorRequest, VerificationStatus, ViewUpdateApi, ViewUpdateApiAxiosParamCreator, ViewUpdateApiFactory, ViewUpdateApiFp };
|