@imtbl/sdk 1.43.3 → 1.43.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Passport.d-011d5035.d.ts +224 -0
- package/dist/blockchain-data.d-1634b683.d.ts +3406 -0
- package/dist/blockchain_data-d989298c.js +1 -0
- package/dist/blockchain_data.d-d538f8d4.d.ts +4543 -0
- package/dist/blockchain_data.d.ts +3 -7950
- package/dist/blockchain_data.js +1 -6058
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout-68675dd1.js +16 -0
- package/dist/checkout.d-ae9ca847.d.ts +3392 -0
- package/dist/checkout.d.ts +7 -16882
- package/dist/checkout.js +1 -37189
- package/dist/config-53a9a4ca.js +1 -0
- package/dist/config.d-65420620.d.ts +18 -0
- package/dist/config.d.ts +1 -30
- package/dist/config.js +1 -394
- package/dist/event-types.d-42520276.d.ts +332 -0
- package/dist/imxProvider.d-cac9e315.d.ts +12538 -0
- package/dist/index-14aad537.js +1 -0
- package/dist/index-3951cdf0.js +1 -0
- package/dist/index-3f40d7f6.js +1 -0
- package/dist/index-58a79c29.js +1 -0
- package/dist/index-96599707.js +1 -0
- package/dist/index-e7002486.js +1 -0
- package/dist/index.browser.js +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.d-c4a4c17d.d.ts +277 -0
- package/dist/index.d-f0845744.d.ts +30 -0
- package/dist/index.d-f1471830.d.ts +376 -0
- package/dist/index.d.ts +18 -32627
- package/dist/index.js +1 -64124
- package/dist/json-rpc-provider.d-5c038bd9.d.ts +249 -0
- package/dist/minting_backend-04aef147.js +1 -0
- package/dist/minting_backend.d-4754ffee.d.ts +104 -0
- package/dist/minting_backend.d.ts +5 -3535
- package/dist/minting_backend.js +1 -6756
- package/dist/orderbook-e71036df.js +1 -0
- package/dist/orderbook.d-77162c6c.d.ts +1257 -0
- package/dist/orderbook.d.ts +5 -1713
- package/dist/orderbook.js +1 -2479
- package/dist/passport-0f45e532.js +1 -0
- package/dist/passport.d-d3f44798.d.ts +67 -0
- package/dist/passport.d.ts +6 -13703
- package/dist/passport.js +1 -23137
- package/dist/transfer.d-87728423.d.ts +898 -0
- package/dist/webhook-a16541bb.js +1 -0
- package/dist/webhook.d-4c3cb340.d.ts +75 -0
- package/dist/webhook.d.ts +4 -1265
- package/dist/webhook.js +1 -488
- package/dist/x-a5b39578.js +1 -0
- package/dist/x.d-1b51f0c3.d.ts +4879 -0
- package/dist/x.d.ts +6 -18663
- package/dist/x.js +1 -19242
- package/package.json +1 -1
package/dist/webhook.d.ts
CHANGED
|
@@ -1,1265 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Immutable X API
|
|
8
|
-
* Immutable X API
|
|
9
|
-
*
|
|
10
|
-
* The version of the OpenAPI document: 3.0.0
|
|
11
|
-
* Contact: support@immutable.com
|
|
12
|
-
*
|
|
13
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14
|
-
* https://openapi-generator.tech
|
|
15
|
-
* Do not edit the class manually.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface CollectionDetails
|
|
21
|
-
*/
|
|
22
|
-
interface CollectionDetails {
|
|
23
|
-
/**
|
|
24
|
-
* URL of the icon of the collection
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof CollectionDetails
|
|
27
|
-
*/
|
|
28
|
-
'icon_url': string | null;
|
|
29
|
-
/**
|
|
30
|
-
* Name of the collection
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof CollectionDetails
|
|
33
|
-
*/
|
|
34
|
-
'name': string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Immutable X API
|
|
39
|
-
* Immutable X API
|
|
40
|
-
*
|
|
41
|
-
* The version of the OpenAPI document: 3.0.0
|
|
42
|
-
* Contact: support@immutable.com
|
|
43
|
-
*
|
|
44
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
45
|
-
* https://openapi-generator.tech
|
|
46
|
-
* Do not edit the class manually.
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @type AssetPropertiesCollection
|
|
51
|
-
* Details of this asset\'s collection
|
|
52
|
-
* @export
|
|
53
|
-
*/
|
|
54
|
-
type AssetPropertiesCollection = CollectionDetails;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Immutable X API
|
|
58
|
-
* Immutable X API
|
|
59
|
-
*
|
|
60
|
-
* The version of the OpenAPI document: 3.0.0
|
|
61
|
-
* Contact: support@immutable.com
|
|
62
|
-
*
|
|
63
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
64
|
-
* https://openapi-generator.tech
|
|
65
|
-
* Do not edit the class manually.
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @export
|
|
71
|
-
* @interface AssetProperties
|
|
72
|
-
*/
|
|
73
|
-
interface AssetProperties {
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {AssetPropertiesCollection}
|
|
77
|
-
* @memberof AssetProperties
|
|
78
|
-
*/
|
|
79
|
-
'collection'?: AssetPropertiesCollection;
|
|
80
|
-
/**
|
|
81
|
-
* Image URL of this asset
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof AssetProperties
|
|
84
|
-
*/
|
|
85
|
-
'image_url'?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Name of this asset
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof AssetProperties
|
|
90
|
-
*/
|
|
91
|
-
'name'?: string;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Immutable X API
|
|
96
|
-
* Immutable X API
|
|
97
|
-
*
|
|
98
|
-
* The version of the OpenAPI document: 3.0.0
|
|
99
|
-
* Contact: support@immutable.com
|
|
100
|
-
*
|
|
101
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
102
|
-
* https://openapi-generator.tech
|
|
103
|
-
* Do not edit the class manually.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @type TokenDataProperties
|
|
108
|
-
* Properties of this asset
|
|
109
|
-
* @export
|
|
110
|
-
*/
|
|
111
|
-
type TokenDataProperties = AssetProperties;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Immutable X API
|
|
115
|
-
* Immutable X API
|
|
116
|
-
*
|
|
117
|
-
* The version of the OpenAPI document: 3.0.0
|
|
118
|
-
* Contact: support@immutable.com
|
|
119
|
-
*
|
|
120
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
121
|
-
* https://openapi-generator.tech
|
|
122
|
-
* Do not edit the class manually.
|
|
123
|
-
*/
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @export
|
|
128
|
-
* @interface TokenData
|
|
129
|
-
*/
|
|
130
|
-
interface TokenData {
|
|
131
|
-
/**
|
|
132
|
-
* Number of decimals supported by this asset
|
|
133
|
-
* @type {number}
|
|
134
|
-
* @memberof TokenData
|
|
135
|
-
*/
|
|
136
|
-
'decimals'?: number;
|
|
137
|
-
/**
|
|
138
|
-
* [DEPRECATED] Internal Immutable X Token ID
|
|
139
|
-
* @type {string}
|
|
140
|
-
* @memberof TokenData
|
|
141
|
-
*/
|
|
142
|
-
'id'?: string;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @type {TokenDataProperties}
|
|
146
|
-
* @memberof TokenData
|
|
147
|
-
*/
|
|
148
|
-
'properties'?: TokenDataProperties;
|
|
149
|
-
/**
|
|
150
|
-
* Quantity of this asset - inclusive of fees for buy order in v1 API and exclusive of fees in v3 API
|
|
151
|
-
* @type {string}
|
|
152
|
-
* @memberof TokenData
|
|
153
|
-
*/
|
|
154
|
-
'quantity': string;
|
|
155
|
-
/**
|
|
156
|
-
* [DEPRECATED for v3 endpoints] Quantity of this asset with the sum of all fees applied to the asset. Replaced by quantity_with_fees in maker_fees / taker_fees depending on the type of order. Refer https://docs.x.immutable.com/docs/maker-taker-fees/#new-maker-taker-fields-and-the-deprecation-of-quantity_with_fees-in-buy-and-sell.
|
|
157
|
-
* @type {string}
|
|
158
|
-
* @memberof TokenData
|
|
159
|
-
*/
|
|
160
|
-
'quantity_with_fees': string;
|
|
161
|
-
/**
|
|
162
|
-
* Symbol of a token
|
|
163
|
-
* @type {string}
|
|
164
|
-
* @memberof TokenData
|
|
165
|
-
*/
|
|
166
|
-
'symbol'?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Address of ERC721/ERC20 contract
|
|
169
|
-
* @type {string}
|
|
170
|
-
* @memberof TokenData
|
|
171
|
-
*/
|
|
172
|
-
'token_address'?: string;
|
|
173
|
-
/**
|
|
174
|
-
* ERC721 Token ID
|
|
175
|
-
* @type {string}
|
|
176
|
-
* @memberof TokenData
|
|
177
|
-
*/
|
|
178
|
-
'token_id'?: string;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Immutable X API
|
|
183
|
-
* Immutable X API
|
|
184
|
-
*
|
|
185
|
-
* The version of the OpenAPI document: 3.0.0
|
|
186
|
-
* Contact: support@immutable.com
|
|
187
|
-
*
|
|
188
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
189
|
-
* https://openapi-generator.tech
|
|
190
|
-
* Do not edit the class manually.
|
|
191
|
-
*/
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* @type TokenDataOAIGen
|
|
195
|
-
* Token details of this asset
|
|
196
|
-
* @export
|
|
197
|
-
*/
|
|
198
|
-
type TokenDataOAIGen = TokenData;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Immutable X API
|
|
202
|
-
* Immutable X API
|
|
203
|
-
*
|
|
204
|
-
* The version of the OpenAPI document: 3.0.0
|
|
205
|
-
* Contact: support@immutable.com
|
|
206
|
-
*
|
|
207
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
208
|
-
* https://openapi-generator.tech
|
|
209
|
-
* Do not edit the class manually.
|
|
210
|
-
*/
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
*
|
|
214
|
-
* @export
|
|
215
|
-
* @interface Token
|
|
216
|
-
*/
|
|
217
|
-
interface Token {
|
|
218
|
-
/**
|
|
219
|
-
*
|
|
220
|
-
* @type {TokenDataOAIGen}
|
|
221
|
-
* @memberof Token
|
|
222
|
-
*/
|
|
223
|
-
'data': TokenDataOAIGen;
|
|
224
|
-
/**
|
|
225
|
-
* Type of this asset (ETH/ERC20/ERC721)
|
|
226
|
-
* @type {string}
|
|
227
|
-
* @memberof Token
|
|
228
|
-
*/
|
|
229
|
-
'type': string;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Immutable X API
|
|
234
|
-
* Immutable X API
|
|
235
|
-
*
|
|
236
|
-
* The version of the OpenAPI document: 3.0.0
|
|
237
|
-
* Contact: support@immutable.com
|
|
238
|
-
*
|
|
239
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
240
|
-
* https://openapi-generator.tech
|
|
241
|
-
* Do not edit the class manually.
|
|
242
|
-
*/
|
|
243
|
-
/**
|
|
244
|
-
*
|
|
245
|
-
* @export
|
|
246
|
-
* @interface FeeData
|
|
247
|
-
*/
|
|
248
|
-
interface FeeData {
|
|
249
|
-
/**
|
|
250
|
-
* Address of ERC721/ERC20 contract
|
|
251
|
-
* @type {string}
|
|
252
|
-
* @memberof FeeData
|
|
253
|
-
*/
|
|
254
|
-
'contract_address'?: string;
|
|
255
|
-
/**
|
|
256
|
-
* Number of decimals supported by this asset
|
|
257
|
-
* @type {number}
|
|
258
|
-
* @memberof FeeData
|
|
259
|
-
*/
|
|
260
|
-
'decimals'?: number;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Immutable X API
|
|
265
|
-
* Immutable X API
|
|
266
|
-
*
|
|
267
|
-
* The version of the OpenAPI document: 3.0.0
|
|
268
|
-
* Contact: support@immutable.com
|
|
269
|
-
*
|
|
270
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
271
|
-
* https://openapi-generator.tech
|
|
272
|
-
* Do not edit the class manually.
|
|
273
|
-
*/
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @type FeeTokenData
|
|
277
|
-
* Fee token data details
|
|
278
|
-
* @export
|
|
279
|
-
*/
|
|
280
|
-
type FeeTokenData = FeeData;
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* Immutable X API
|
|
284
|
-
* Immutable X API
|
|
285
|
-
*
|
|
286
|
-
* The version of the OpenAPI document: 3.0.0
|
|
287
|
-
* Contact: support@immutable.com
|
|
288
|
-
*
|
|
289
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
290
|
-
* https://openapi-generator.tech
|
|
291
|
-
* Do not edit the class manually.
|
|
292
|
-
*/
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
*
|
|
296
|
-
* @export
|
|
297
|
-
* @interface FeeToken
|
|
298
|
-
*/
|
|
299
|
-
interface FeeToken {
|
|
300
|
-
/**
|
|
301
|
-
*
|
|
302
|
-
* @type {FeeTokenData}
|
|
303
|
-
* @memberof FeeToken
|
|
304
|
-
*/
|
|
305
|
-
'data'?: FeeTokenData;
|
|
306
|
-
/**
|
|
307
|
-
* Fee token type. One of ETH/ERC20
|
|
308
|
-
* @type {string}
|
|
309
|
-
* @memberof FeeToken
|
|
310
|
-
*/
|
|
311
|
-
'type'?: FeeTokenTypeEnum;
|
|
312
|
-
}
|
|
313
|
-
declare const FeeTokenTypeEnum: {
|
|
314
|
-
readonly Eth: "ETH";
|
|
315
|
-
readonly Erc20: "ERC20";
|
|
316
|
-
};
|
|
317
|
-
type FeeTokenTypeEnum = typeof FeeTokenTypeEnum[keyof typeof FeeTokenTypeEnum];
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Immutable X API
|
|
321
|
-
* Immutable X API
|
|
322
|
-
*
|
|
323
|
-
* The version of the OpenAPI document: 3.0.0
|
|
324
|
-
* Contact: support@immutable.com
|
|
325
|
-
*
|
|
326
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
327
|
-
* https://openapi-generator.tech
|
|
328
|
-
* Do not edit the class manually.
|
|
329
|
-
*/
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* @type OrderFeeInfoToken
|
|
333
|
-
* Details of the fee currency
|
|
334
|
-
* @export
|
|
335
|
-
*/
|
|
336
|
-
type OrderFeeInfoToken = FeeToken;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Immutable X API
|
|
340
|
-
* Immutable X API
|
|
341
|
-
*
|
|
342
|
-
* The version of the OpenAPI document: 3.0.0
|
|
343
|
-
* Contact: support@immutable.com
|
|
344
|
-
*
|
|
345
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
346
|
-
* https://openapi-generator.tech
|
|
347
|
-
* Do not edit the class manually.
|
|
348
|
-
*/
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
*
|
|
352
|
-
* @export
|
|
353
|
-
* @interface OrderFeeInfo
|
|
354
|
-
*/
|
|
355
|
-
interface OrderFeeInfo {
|
|
356
|
-
/**
|
|
357
|
-
* Address of the fee recipient
|
|
358
|
-
* @type {string}
|
|
359
|
-
* @memberof OrderFeeInfo
|
|
360
|
-
*/
|
|
361
|
-
'address'?: string;
|
|
362
|
-
/**
|
|
363
|
-
* Fee amount
|
|
364
|
-
* @type {string}
|
|
365
|
-
* @memberof OrderFeeInfo
|
|
366
|
-
*/
|
|
367
|
-
'amount'?: string;
|
|
368
|
-
/**
|
|
369
|
-
*
|
|
370
|
-
* @type {OrderFeeInfoToken}
|
|
371
|
-
* @memberof OrderFeeInfo
|
|
372
|
-
*/
|
|
373
|
-
'token'?: OrderFeeInfoToken;
|
|
374
|
-
/**
|
|
375
|
-
* Fee type
|
|
376
|
-
* @type {string}
|
|
377
|
-
* @memberof OrderFeeInfo
|
|
378
|
-
*/
|
|
379
|
-
'type'?: string;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* Immutable X API
|
|
384
|
-
* Immutable X API
|
|
385
|
-
*
|
|
386
|
-
* The version of the OpenAPI document: 3.0.0
|
|
387
|
-
* Contact: support@immutable.com
|
|
388
|
-
*
|
|
389
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
390
|
-
* https://openapi-generator.tech
|
|
391
|
-
* Do not edit the class manually.
|
|
392
|
-
*/
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* @type AssetCollection
|
|
396
|
-
* Information about the collection to which this asset belongs
|
|
397
|
-
* @export
|
|
398
|
-
*/
|
|
399
|
-
type AssetCollection = CollectionDetails;
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* Immutable X API
|
|
403
|
-
* Immutable X API
|
|
404
|
-
*
|
|
405
|
-
* The version of the OpenAPI document: 3.0.0
|
|
406
|
-
* Contact: support@immutable.com
|
|
407
|
-
*
|
|
408
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
409
|
-
* https://openapi-generator.tech
|
|
410
|
-
* Do not edit the class manually.
|
|
411
|
-
*/
|
|
412
|
-
/**
|
|
413
|
-
*
|
|
414
|
-
* @export
|
|
415
|
-
* @interface OrderDetails
|
|
416
|
-
*/
|
|
417
|
-
interface OrderDetails {
|
|
418
|
-
/**
|
|
419
|
-
* Buy orders for this asset
|
|
420
|
-
* @type {Array<object>}
|
|
421
|
-
* @memberof OrderDetails
|
|
422
|
-
*/
|
|
423
|
-
'buy_orders'?: Array<object>;
|
|
424
|
-
/**
|
|
425
|
-
* Sell orders for this asset
|
|
426
|
-
* @type {Array<object>}
|
|
427
|
-
* @memberof OrderDetails
|
|
428
|
-
*/
|
|
429
|
-
'sell_orders'?: Array<object>;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* Immutable X API
|
|
434
|
-
* Immutable X API
|
|
435
|
-
*
|
|
436
|
-
* The version of the OpenAPI document: 3.0.0
|
|
437
|
-
* Contact: support@immutable.com
|
|
438
|
-
*
|
|
439
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
440
|
-
* https://openapi-generator.tech
|
|
441
|
-
* Do not edit the class manually.
|
|
442
|
-
*/
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* @type AssetOrders
|
|
446
|
-
* [DEPRECATED] Open orders for this asset will always return empty. Use GET /orders
|
|
447
|
-
* @export
|
|
448
|
-
*/
|
|
449
|
-
type AssetOrders = OrderDetails;
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* Immutable X API
|
|
453
|
-
* Immutable X API
|
|
454
|
-
*
|
|
455
|
-
* The version of the OpenAPI document: 3.0.0
|
|
456
|
-
* Contact: support@immutable.com
|
|
457
|
-
*
|
|
458
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
459
|
-
* https://openapi-generator.tech
|
|
460
|
-
* Do not edit the class manually.
|
|
461
|
-
*/
|
|
462
|
-
/**
|
|
463
|
-
*
|
|
464
|
-
* @export
|
|
465
|
-
* @interface Fee
|
|
466
|
-
*/
|
|
467
|
-
interface Fee {
|
|
468
|
-
/**
|
|
469
|
-
* Wallet address
|
|
470
|
-
* @type {string}
|
|
471
|
-
* @memberof Fee
|
|
472
|
-
*/
|
|
473
|
-
'address': string;
|
|
474
|
-
/**
|
|
475
|
-
* The percentage of fee
|
|
476
|
-
* @type {number}
|
|
477
|
-
* @memberof Fee
|
|
478
|
-
*/
|
|
479
|
-
'percentage': number;
|
|
480
|
-
/**
|
|
481
|
-
* Type of fee. Examples: `royalty`, `maker`, `taker` or `protocol`
|
|
482
|
-
* @type {string}
|
|
483
|
-
* @memberof Fee
|
|
484
|
-
*/
|
|
485
|
-
'type': string;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* Immutable X API
|
|
490
|
-
* Immutable X API
|
|
491
|
-
*
|
|
492
|
-
* The version of the OpenAPI document: 3.0.0
|
|
493
|
-
* Contact: support@immutable.com
|
|
494
|
-
*
|
|
495
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
496
|
-
* https://openapi-generator.tech
|
|
497
|
-
* Do not edit the class manually.
|
|
498
|
-
*/
|
|
499
|
-
|
|
500
|
-
/**
|
|
501
|
-
*
|
|
502
|
-
* @export
|
|
503
|
-
* @interface Asset
|
|
504
|
-
*/
|
|
505
|
-
interface Asset {
|
|
506
|
-
/**
|
|
507
|
-
*
|
|
508
|
-
* @type {AssetCollection}
|
|
509
|
-
* @memberof Asset
|
|
510
|
-
*/
|
|
511
|
-
'collection': AssetCollection;
|
|
512
|
-
/**
|
|
513
|
-
* Timestamp of when the asset was created
|
|
514
|
-
* @type {string}
|
|
515
|
-
* @memberof Asset
|
|
516
|
-
*/
|
|
517
|
-
'created_at': string | null;
|
|
518
|
-
/**
|
|
519
|
-
* Description of this asset
|
|
520
|
-
* @type {string}
|
|
521
|
-
* @memberof Asset
|
|
522
|
-
*/
|
|
523
|
-
'description': string | null;
|
|
524
|
-
/**
|
|
525
|
-
* Royalties to pay on this asset operations
|
|
526
|
-
* @type {Array<Fee>}
|
|
527
|
-
* @memberof Asset
|
|
528
|
-
*/
|
|
529
|
-
'fees'?: Array<Fee>;
|
|
530
|
-
/**
|
|
531
|
-
* [DEPRECATED] Internal Immutable X Token ID
|
|
532
|
-
* @type {string}
|
|
533
|
-
* @memberof Asset
|
|
534
|
-
*/
|
|
535
|
-
'id'?: string;
|
|
536
|
-
/**
|
|
537
|
-
* URL of the image which should be used for this asset
|
|
538
|
-
* @type {string}
|
|
539
|
-
* @memberof Asset
|
|
540
|
-
*/
|
|
541
|
-
'image_url': string | null;
|
|
542
|
-
/**
|
|
543
|
-
* Metadata of this asset
|
|
544
|
-
* @type {object}
|
|
545
|
-
* @memberof Asset
|
|
546
|
-
*/
|
|
547
|
-
'metadata': object | null;
|
|
548
|
-
/**
|
|
549
|
-
* Name of this asset
|
|
550
|
-
* @type {string}
|
|
551
|
-
* @memberof Asset
|
|
552
|
-
*/
|
|
553
|
-
'name': string | null;
|
|
554
|
-
/**
|
|
555
|
-
*
|
|
556
|
-
* @type {AssetOrders}
|
|
557
|
-
* @memberof Asset
|
|
558
|
-
*/
|
|
559
|
-
'orders'?: AssetOrders;
|
|
560
|
-
/**
|
|
561
|
-
* Status of this asset (where it is in the system)
|
|
562
|
-
* @type {string}
|
|
563
|
-
* @memberof Asset
|
|
564
|
-
*/
|
|
565
|
-
'status': string;
|
|
566
|
-
/**
|
|
567
|
-
* Address of the ERC721 contract
|
|
568
|
-
* @type {string}
|
|
569
|
-
* @memberof Asset
|
|
570
|
-
*/
|
|
571
|
-
'token_address': string;
|
|
572
|
-
/**
|
|
573
|
-
* ERC721 Token ID of this asset
|
|
574
|
-
* @type {string}
|
|
575
|
-
* @memberof Asset
|
|
576
|
-
*/
|
|
577
|
-
'token_id': string;
|
|
578
|
-
/**
|
|
579
|
-
* Timestamp of when the asset was updated
|
|
580
|
-
* @type {string}
|
|
581
|
-
* @memberof Asset
|
|
582
|
-
*/
|
|
583
|
-
'updated_at': string | null;
|
|
584
|
-
/**
|
|
585
|
-
* URI to access this asset externally to Immutable X
|
|
586
|
-
* @type {string}
|
|
587
|
-
* @memberof Asset
|
|
588
|
-
*/
|
|
589
|
-
'uri': string | null;
|
|
590
|
-
/**
|
|
591
|
-
* Ethereum address of the user who owns this asset
|
|
592
|
-
* @type {string}
|
|
593
|
-
* @memberof Asset
|
|
594
|
-
*/
|
|
595
|
-
'user': string;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* Immutable X API
|
|
600
|
-
* Immutable X API
|
|
601
|
-
*
|
|
602
|
-
* The version of the OpenAPI document: 3.0.0
|
|
603
|
-
* Contact: support@immutable.com
|
|
604
|
-
*
|
|
605
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
606
|
-
* https://openapi-generator.tech
|
|
607
|
-
* Do not edit the class manually.
|
|
608
|
-
*/
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* @type OrderV3Buy
|
|
612
|
-
* Details of the asset being bought
|
|
613
|
-
* @export
|
|
614
|
-
*/
|
|
615
|
-
type OrderV3Buy = Token;
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Immutable X API
|
|
619
|
-
* Immutable X API
|
|
620
|
-
*
|
|
621
|
-
* The version of the OpenAPI document: 3.0.0
|
|
622
|
-
* Contact: support@immutable.com
|
|
623
|
-
*
|
|
624
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
625
|
-
* https://openapi-generator.tech
|
|
626
|
-
* Do not edit the class manually.
|
|
627
|
-
*/
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
*
|
|
631
|
-
* @export
|
|
632
|
-
* @interface OrdersMakerTakerFee
|
|
633
|
-
*/
|
|
634
|
-
interface OrdersMakerTakerFee {
|
|
635
|
-
/**
|
|
636
|
-
* Number of Decimals supported the fee token
|
|
637
|
-
* @type {number}
|
|
638
|
-
* @memberof OrdersMakerTakerFee
|
|
639
|
-
*/
|
|
640
|
-
'decimals'?: number;
|
|
641
|
-
/**
|
|
642
|
-
* Fees
|
|
643
|
-
* @type {Array<OrderFeeInfo>}
|
|
644
|
-
* @memberof OrdersMakerTakerFee
|
|
645
|
-
*/
|
|
646
|
-
'fees'?: Array<OrderFeeInfo>;
|
|
647
|
-
/**
|
|
648
|
-
* Quantity of this asset with the sum of all fees applied to the asset
|
|
649
|
-
* @type {string}
|
|
650
|
-
* @memberof OrdersMakerTakerFee
|
|
651
|
-
*/
|
|
652
|
-
'quantity_with_fees': string;
|
|
653
|
-
/**
|
|
654
|
-
* Symbol of the fee token
|
|
655
|
-
* @type {string}
|
|
656
|
-
* @memberof OrdersMakerTakerFee
|
|
657
|
-
*/
|
|
658
|
-
'symbol'?: string;
|
|
659
|
-
/**
|
|
660
|
-
* Address of the ERC20 contract for the fee token
|
|
661
|
-
* @type {string}
|
|
662
|
-
* @memberof OrdersMakerTakerFee
|
|
663
|
-
*/
|
|
664
|
-
'token_address'?: string;
|
|
665
|
-
/**
|
|
666
|
-
* Type of the fee token (ETH/ERC20)
|
|
667
|
-
* @type {string}
|
|
668
|
-
* @memberof OrdersMakerTakerFee
|
|
669
|
-
*/
|
|
670
|
-
'token_type'?: string;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* Immutable X API
|
|
675
|
-
* Immutable X API
|
|
676
|
-
*
|
|
677
|
-
* The version of the OpenAPI document: 3.0.0
|
|
678
|
-
* Contact: support@immutable.com
|
|
679
|
-
*
|
|
680
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
681
|
-
* https://openapi-generator.tech
|
|
682
|
-
* Do not edit the class manually.
|
|
683
|
-
*/
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* @type OrderV3MakerFees
|
|
687
|
-
* MakerFees is the information about the fees that needs to be paid by the maker (liquidity)
|
|
688
|
-
* @export
|
|
689
|
-
*/
|
|
690
|
-
type OrderV3MakerFees = OrdersMakerTakerFee;
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* Immutable X API
|
|
694
|
-
* Immutable X API
|
|
695
|
-
*
|
|
696
|
-
* The version of the OpenAPI document: 3.0.0
|
|
697
|
-
* Contact: support@immutable.com
|
|
698
|
-
*
|
|
699
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
700
|
-
* https://openapi-generator.tech
|
|
701
|
-
* Do not edit the class manually.
|
|
702
|
-
*/
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* @type OrderV3Sell
|
|
706
|
-
* Details of the asset being sold
|
|
707
|
-
* @export
|
|
708
|
-
*/
|
|
709
|
-
type OrderV3Sell = Token;
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* Immutable X API
|
|
713
|
-
* Immutable X API
|
|
714
|
-
*
|
|
715
|
-
* The version of the OpenAPI document: 3.0.0
|
|
716
|
-
* Contact: support@immutable.com
|
|
717
|
-
*
|
|
718
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
719
|
-
* https://openapi-generator.tech
|
|
720
|
-
* Do not edit the class manually.
|
|
721
|
-
*/
|
|
722
|
-
|
|
723
|
-
/**
|
|
724
|
-
* @type OrderV3TakerFees
|
|
725
|
-
* TakerFees is the information about the fees that needs to be paid by the taker (liquidity)
|
|
726
|
-
* @export
|
|
727
|
-
*/
|
|
728
|
-
type OrderV3TakerFees = OrdersMakerTakerFee;
|
|
729
|
-
|
|
730
|
-
/**
|
|
731
|
-
* Immutable X API
|
|
732
|
-
* Immutable X API
|
|
733
|
-
*
|
|
734
|
-
* The version of the OpenAPI document: 3.0.0
|
|
735
|
-
* Contact: support@immutable.com
|
|
736
|
-
*
|
|
737
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
738
|
-
* https://openapi-generator.tech
|
|
739
|
-
* Do not edit the class manually.
|
|
740
|
-
*/
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
*
|
|
744
|
-
* @export
|
|
745
|
-
* @interface OrderV3
|
|
746
|
-
*/
|
|
747
|
-
interface OrderV3 {
|
|
748
|
-
/**
|
|
749
|
-
* Amount of the asset already sold by this order
|
|
750
|
-
* @type {string}
|
|
751
|
-
* @memberof OrderV3
|
|
752
|
-
*/
|
|
753
|
-
'amount_sold': string | null;
|
|
754
|
-
/**
|
|
755
|
-
*
|
|
756
|
-
* @type {OrderV3Buy}
|
|
757
|
-
* @memberof OrderV3
|
|
758
|
-
*/
|
|
759
|
-
'buy': OrderV3Buy;
|
|
760
|
-
/**
|
|
761
|
-
* Expiration timestamp of this order
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof OrderV3
|
|
764
|
-
*/
|
|
765
|
-
'expiration_timestamp': string | null;
|
|
766
|
-
/**
|
|
767
|
-
* [DEPRECATED] Fee information for the order. Replaced by maker_fees / taker_fees depending on the type of order. Refer https://docs.x.immutable.com/docs/maker-taker-fees/#new-maker-taker-fields-and-the-deprecation-of-quantity_with_fees-in-buy-and-sell.
|
|
768
|
-
* @type {Array<OrderFeeInfo>}
|
|
769
|
-
* @memberof OrderV3
|
|
770
|
-
*/
|
|
771
|
-
'fees'?: Array<OrderFeeInfo>;
|
|
772
|
-
/**
|
|
773
|
-
*
|
|
774
|
-
* @type {OrderV3MakerFees}
|
|
775
|
-
* @memberof OrderV3
|
|
776
|
-
*/
|
|
777
|
-
'maker_fees'?: OrderV3MakerFees;
|
|
778
|
-
/**
|
|
779
|
-
* MakerTakerType
|
|
780
|
-
* @type {string}
|
|
781
|
-
* @memberof OrderV3
|
|
782
|
-
*/
|
|
783
|
-
'maker_taker_type'?: string;
|
|
784
|
-
/**
|
|
785
|
-
* ID of the order
|
|
786
|
-
* @type {number}
|
|
787
|
-
* @memberof OrderV3
|
|
788
|
-
*/
|
|
789
|
-
'order_id': number;
|
|
790
|
-
/**
|
|
791
|
-
*
|
|
792
|
-
* @type {OrderV3Sell}
|
|
793
|
-
* @memberof OrderV3
|
|
794
|
-
*/
|
|
795
|
-
'sell': OrderV3Sell;
|
|
796
|
-
/**
|
|
797
|
-
* Status of the order
|
|
798
|
-
* @type {string}
|
|
799
|
-
* @memberof OrderV3
|
|
800
|
-
*/
|
|
801
|
-
'status': string;
|
|
802
|
-
/**
|
|
803
|
-
*
|
|
804
|
-
* @type {OrderV3TakerFees}
|
|
805
|
-
* @memberof OrderV3
|
|
806
|
-
*/
|
|
807
|
-
'taker_fees'?: OrderV3TakerFees;
|
|
808
|
-
/**
|
|
809
|
-
* Timestamp this order was created
|
|
810
|
-
* @type {string}
|
|
811
|
-
* @memberof OrderV3
|
|
812
|
-
*/
|
|
813
|
-
'timestamp': string | null;
|
|
814
|
-
/**
|
|
815
|
-
* Updated timestamp of this order
|
|
816
|
-
* @type {string}
|
|
817
|
-
* @memberof OrderV3
|
|
818
|
-
*/
|
|
819
|
-
'updated_timestamp': string | null;
|
|
820
|
-
/**
|
|
821
|
-
* Ethereum address of the user who submitted the order
|
|
822
|
-
* @type {string}
|
|
823
|
-
* @memberof OrderV3
|
|
824
|
-
*/
|
|
825
|
-
'user': string;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* Immutable X API
|
|
830
|
-
* Immutable X API
|
|
831
|
-
*
|
|
832
|
-
* The version of the OpenAPI document: 3.0.0
|
|
833
|
-
* Contact: support@immutable.com
|
|
834
|
-
*
|
|
835
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
836
|
-
* https://openapi-generator.tech
|
|
837
|
-
* Do not edit the class manually.
|
|
838
|
-
*/
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* @type TransferToken
|
|
842
|
-
* Token transferred by the user
|
|
843
|
-
* @export
|
|
844
|
-
*/
|
|
845
|
-
type TransferToken = Token;
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* Immutable X API
|
|
849
|
-
* Immutable X API
|
|
850
|
-
*
|
|
851
|
-
* The version of the OpenAPI document: 3.0.0
|
|
852
|
-
* Contact: support@immutable.com
|
|
853
|
-
*
|
|
854
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
855
|
-
* https://openapi-generator.tech
|
|
856
|
-
* Do not edit the class manually.
|
|
857
|
-
*/
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
*
|
|
861
|
-
* @export
|
|
862
|
-
* @interface Transfer
|
|
863
|
-
*/
|
|
864
|
-
interface Transfer {
|
|
865
|
-
/**
|
|
866
|
-
* Ethereum address of the user who received this transfer
|
|
867
|
-
* @type {string}
|
|
868
|
-
* @memberof Transfer
|
|
869
|
-
*/
|
|
870
|
-
'receiver': string;
|
|
871
|
-
/**
|
|
872
|
-
* Status of the transaction
|
|
873
|
-
* @type {string}
|
|
874
|
-
* @memberof Transfer
|
|
875
|
-
*/
|
|
876
|
-
'status': string;
|
|
877
|
-
/**
|
|
878
|
-
* Timestamp of the transfer
|
|
879
|
-
* @type {string}
|
|
880
|
-
* @memberof Transfer
|
|
881
|
-
*/
|
|
882
|
-
'timestamp': string | null;
|
|
883
|
-
/**
|
|
884
|
-
*
|
|
885
|
-
* @type {TransferToken}
|
|
886
|
-
* @memberof Transfer
|
|
887
|
-
*/
|
|
888
|
-
'token': TransferToken;
|
|
889
|
-
/**
|
|
890
|
-
* Sequential transaction ID
|
|
891
|
-
* @type {number}
|
|
892
|
-
* @memberof Transfer
|
|
893
|
-
*/
|
|
894
|
-
'transaction_id': number;
|
|
895
|
-
/**
|
|
896
|
-
* Ethereum address of the user who submitted this transfer
|
|
897
|
-
* @type {string}
|
|
898
|
-
* @memberof Transfer
|
|
899
|
-
*/
|
|
900
|
-
'user': string;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
interface BlockChainMetadata {
|
|
904
|
-
log_index: string;
|
|
905
|
-
block_number: string;
|
|
906
|
-
transaction_hash: string;
|
|
907
|
-
transaction_index: string;
|
|
908
|
-
}
|
|
909
|
-
interface Chain {
|
|
910
|
-
id: string;
|
|
911
|
-
name: string;
|
|
912
|
-
}
|
|
913
|
-
interface ZkevmActivityMint {
|
|
914
|
-
event_name: 'imtbl_zkevm_activity_mint';
|
|
915
|
-
event_id: string;
|
|
916
|
-
chain: string;
|
|
917
|
-
data: {
|
|
918
|
-
id: string;
|
|
919
|
-
chain: Chain;
|
|
920
|
-
details: {
|
|
921
|
-
to: string;
|
|
922
|
-
asset: {
|
|
923
|
-
token_id: string;
|
|
924
|
-
contract_type: string;
|
|
925
|
-
contract_address: string;
|
|
926
|
-
};
|
|
927
|
-
amount: string;
|
|
928
|
-
};
|
|
929
|
-
indexed_at: string;
|
|
930
|
-
activity_type: string;
|
|
931
|
-
blockchain_metadata: BlockChainMetadata;
|
|
932
|
-
};
|
|
933
|
-
}
|
|
934
|
-
interface ZkevmActivityBurn {
|
|
935
|
-
event_name: 'imtbl_zkevm_activity_burn';
|
|
936
|
-
event_id: string;
|
|
937
|
-
chain: string;
|
|
938
|
-
data: {
|
|
939
|
-
id: string;
|
|
940
|
-
chain: Chain;
|
|
941
|
-
details: {
|
|
942
|
-
from: string;
|
|
943
|
-
asset: {
|
|
944
|
-
token_id: string;
|
|
945
|
-
contract_type: string;
|
|
946
|
-
contract_address: string;
|
|
947
|
-
};
|
|
948
|
-
amount: string;
|
|
949
|
-
};
|
|
950
|
-
indexed_at: string;
|
|
951
|
-
activity_type: string;
|
|
952
|
-
blockchain_metadata: BlockChainMetadata;
|
|
953
|
-
};
|
|
954
|
-
}
|
|
955
|
-
interface ZkevmActivityTransfer {
|
|
956
|
-
event_name: 'imtbl_zkevm_activity_transfer';
|
|
957
|
-
event_id: string;
|
|
958
|
-
chain: string;
|
|
959
|
-
data: {
|
|
960
|
-
id: string;
|
|
961
|
-
chain: Chain;
|
|
962
|
-
details: {
|
|
963
|
-
to: string;
|
|
964
|
-
from: string;
|
|
965
|
-
asset: {
|
|
966
|
-
token_id: string;
|
|
967
|
-
contract_type: string;
|
|
968
|
-
contract_address: string;
|
|
969
|
-
};
|
|
970
|
-
amount: string;
|
|
971
|
-
};
|
|
972
|
-
indexed_at: string;
|
|
973
|
-
activity_type: string;
|
|
974
|
-
blockchain_metadata: BlockChainMetadata;
|
|
975
|
-
};
|
|
976
|
-
}
|
|
977
|
-
interface ZkevmActivitySale {
|
|
978
|
-
event_name: 'imtbl_zkevm_activity_sale';
|
|
979
|
-
event_id: string;
|
|
980
|
-
chain: string;
|
|
981
|
-
data: {
|
|
982
|
-
id: string;
|
|
983
|
-
chain: Chain;
|
|
984
|
-
details: {
|
|
985
|
-
to: string;
|
|
986
|
-
from: string;
|
|
987
|
-
asset: {
|
|
988
|
-
amount: string;
|
|
989
|
-
token_id: string;
|
|
990
|
-
contract_type: string;
|
|
991
|
-
contract_address: string;
|
|
992
|
-
}[];
|
|
993
|
-
payment: {
|
|
994
|
-
fees: {
|
|
995
|
-
amount: string;
|
|
996
|
-
fee_type: string;
|
|
997
|
-
recipient: string;
|
|
998
|
-
}[];
|
|
999
|
-
token: {
|
|
1000
|
-
symbol: string;
|
|
1001
|
-
contract_type: string;
|
|
1002
|
-
contract_address: string;
|
|
1003
|
-
};
|
|
1004
|
-
price_excluding_fees: string;
|
|
1005
|
-
price_including_fees: string;
|
|
1006
|
-
};
|
|
1007
|
-
order_id: string;
|
|
1008
|
-
};
|
|
1009
|
-
indexed_at: string;
|
|
1010
|
-
activity_type: string;
|
|
1011
|
-
blockchain_metadata: BlockChainMetadata;
|
|
1012
|
-
};
|
|
1013
|
-
}
|
|
1014
|
-
interface ZkevmActivityDeposit {
|
|
1015
|
-
event_name: 'imtbl_zkevm_activity_deposit';
|
|
1016
|
-
event_id: string;
|
|
1017
|
-
chain: string;
|
|
1018
|
-
data: {
|
|
1019
|
-
id: string;
|
|
1020
|
-
chain: Chain;
|
|
1021
|
-
details: {
|
|
1022
|
-
amount: string;
|
|
1023
|
-
asset: {
|
|
1024
|
-
contract_type: string;
|
|
1025
|
-
contract_address: string;
|
|
1026
|
-
};
|
|
1027
|
-
to: string;
|
|
1028
|
-
};
|
|
1029
|
-
indexed_at: string;
|
|
1030
|
-
activity_type: string;
|
|
1031
|
-
blockchain_metadata: BlockChainMetadata;
|
|
1032
|
-
};
|
|
1033
|
-
}
|
|
1034
|
-
interface ZkevmActivityWithdrawal {
|
|
1035
|
-
event_name: 'imtbl_zkevm_activity_withdrawal';
|
|
1036
|
-
event_id: string;
|
|
1037
|
-
chain: string;
|
|
1038
|
-
data: {
|
|
1039
|
-
id: string;
|
|
1040
|
-
chain: Chain;
|
|
1041
|
-
details: {
|
|
1042
|
-
amount: string;
|
|
1043
|
-
asset: {
|
|
1044
|
-
contract_type: string;
|
|
1045
|
-
contract_address: string;
|
|
1046
|
-
};
|
|
1047
|
-
from: string;
|
|
1048
|
-
};
|
|
1049
|
-
indexed_at: string;
|
|
1050
|
-
activity_type: string;
|
|
1051
|
-
blockchain_metadata: BlockChainMetadata;
|
|
1052
|
-
};
|
|
1053
|
-
}
|
|
1054
|
-
interface ZkevmCollectionUpdated {
|
|
1055
|
-
event_name: 'imtbl_zkevm_collection_updated';
|
|
1056
|
-
event_id: string;
|
|
1057
|
-
chain: string;
|
|
1058
|
-
data: {
|
|
1059
|
-
chain: Chain;
|
|
1060
|
-
contract_address: string;
|
|
1061
|
-
indexed_at: string;
|
|
1062
|
-
updated_at: string;
|
|
1063
|
-
contract_type: string;
|
|
1064
|
-
symbol: string | null;
|
|
1065
|
-
name: string | null;
|
|
1066
|
-
image: string | null;
|
|
1067
|
-
contract_uri: string | null;
|
|
1068
|
-
description: string | null;
|
|
1069
|
-
external_link: string | null;
|
|
1070
|
-
metadata_synced_at: string | null;
|
|
1071
|
-
decimals: string | null;
|
|
1072
|
-
root_contract_address: string | null;
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
interface ZkevmNftUpdated {
|
|
1076
|
-
event_name: 'imtbl_zkevm_nft_updated';
|
|
1077
|
-
event_id: string;
|
|
1078
|
-
chain: string;
|
|
1079
|
-
data: {
|
|
1080
|
-
chain: Chain;
|
|
1081
|
-
contract_address: string;
|
|
1082
|
-
indexed_at: string;
|
|
1083
|
-
metadata_synced_at: string | null;
|
|
1084
|
-
token_id: string;
|
|
1085
|
-
metadata_id: string | null;
|
|
1086
|
-
};
|
|
1087
|
-
}
|
|
1088
|
-
interface ZkevmMintRequestUpdated {
|
|
1089
|
-
event_name: 'imtbl_zkevm_mint_request_updated';
|
|
1090
|
-
event_id: string;
|
|
1091
|
-
chain: string;
|
|
1092
|
-
data: {
|
|
1093
|
-
chain: Chain;
|
|
1094
|
-
contract_address: string;
|
|
1095
|
-
owner_address: string;
|
|
1096
|
-
reference_id: string;
|
|
1097
|
-
metadata_id: string;
|
|
1098
|
-
token_id: string | null;
|
|
1099
|
-
status: string;
|
|
1100
|
-
transaction_hash: string | null;
|
|
1101
|
-
activity_id: string | null;
|
|
1102
|
-
error: {
|
|
1103
|
-
code: string;
|
|
1104
|
-
message: string;
|
|
1105
|
-
} | null;
|
|
1106
|
-
created_at: string;
|
|
1107
|
-
updated_at: string;
|
|
1108
|
-
amount?: number;
|
|
1109
|
-
};
|
|
1110
|
-
}
|
|
1111
|
-
interface ZkevmMetadataUpdated {
|
|
1112
|
-
event_name: 'imtbl_zkevm_metadata_updated';
|
|
1113
|
-
event_id: string;
|
|
1114
|
-
chain: string;
|
|
1115
|
-
data: {
|
|
1116
|
-
id: string;
|
|
1117
|
-
chain: Chain;
|
|
1118
|
-
contract_address: string;
|
|
1119
|
-
image: string | null;
|
|
1120
|
-
external_url: string | null;
|
|
1121
|
-
description: string | null;
|
|
1122
|
-
name: string | null;
|
|
1123
|
-
attributes: {
|
|
1124
|
-
trait_type: string;
|
|
1125
|
-
value: string;
|
|
1126
|
-
}[];
|
|
1127
|
-
animation_url: string | null;
|
|
1128
|
-
youtube_url: string | null;
|
|
1129
|
-
created_at: string;
|
|
1130
|
-
updated_at: string;
|
|
1131
|
-
};
|
|
1132
|
-
}
|
|
1133
|
-
interface ZkevmTokenUpdated {
|
|
1134
|
-
event_name: 'imtbl_zkevm_token_updated';
|
|
1135
|
-
event_id: string;
|
|
1136
|
-
chain: string;
|
|
1137
|
-
data: {
|
|
1138
|
-
chain: Chain;
|
|
1139
|
-
contract_address: string;
|
|
1140
|
-
indexed_at: string;
|
|
1141
|
-
updated_at: string;
|
|
1142
|
-
contract_type: string;
|
|
1143
|
-
symbol: string;
|
|
1144
|
-
name: string;
|
|
1145
|
-
image: string | null;
|
|
1146
|
-
contract_uri: string | null;
|
|
1147
|
-
description: string | null;
|
|
1148
|
-
external_link: string | null;
|
|
1149
|
-
metadata_synced_at: string | null;
|
|
1150
|
-
decimals: number;
|
|
1151
|
-
root_contract_address: string | null;
|
|
1152
|
-
};
|
|
1153
|
-
}
|
|
1154
|
-
interface ZkevmOrderUpdated {
|
|
1155
|
-
event_name: 'imtbl_zkevm_order_updated';
|
|
1156
|
-
event_id: string;
|
|
1157
|
-
chain: string;
|
|
1158
|
-
data: {
|
|
1159
|
-
id: string;
|
|
1160
|
-
buy: {
|
|
1161
|
-
item_type: string;
|
|
1162
|
-
end_amount: string;
|
|
1163
|
-
start_amount: string;
|
|
1164
|
-
contract_address: string;
|
|
1165
|
-
}[];
|
|
1166
|
-
hash: string;
|
|
1167
|
-
salt: string;
|
|
1168
|
-
sell: {
|
|
1169
|
-
token_id: string;
|
|
1170
|
-
item_type: string;
|
|
1171
|
-
end_amount: string;
|
|
1172
|
-
start_amount: string;
|
|
1173
|
-
contract_address: string;
|
|
1174
|
-
}[];
|
|
1175
|
-
status: string;
|
|
1176
|
-
fill_status: {
|
|
1177
|
-
denominator: string;
|
|
1178
|
-
numerator: string;
|
|
1179
|
-
};
|
|
1180
|
-
chain_id: string;
|
|
1181
|
-
end_time: number;
|
|
1182
|
-
signature: string;
|
|
1183
|
-
buyer_fees: {
|
|
1184
|
-
amount: string;
|
|
1185
|
-
fee_type: string;
|
|
1186
|
-
recipient: string;
|
|
1187
|
-
}[];
|
|
1188
|
-
created_at: number;
|
|
1189
|
-
start_time: number;
|
|
1190
|
-
updated_at: number;
|
|
1191
|
-
protocol_data: {
|
|
1192
|
-
counter: string;
|
|
1193
|
-
order_type: string;
|
|
1194
|
-
zone_address: string;
|
|
1195
|
-
seaport_address: string;
|
|
1196
|
-
seaport_version: string;
|
|
1197
|
-
};
|
|
1198
|
-
account_address: string;
|
|
1199
|
-
};
|
|
1200
|
-
}
|
|
1201
|
-
interface ZkevmTradeCreated {
|
|
1202
|
-
event_name: 'imtbl_zkevm_trade_created';
|
|
1203
|
-
event_id: string;
|
|
1204
|
-
chain: string;
|
|
1205
|
-
data: {
|
|
1206
|
-
id: string;
|
|
1207
|
-
tx_hash: string;
|
|
1208
|
-
chain_id: string;
|
|
1209
|
-
order_id: string;
|
|
1210
|
-
buy_items: {
|
|
1211
|
-
amount: string;
|
|
1212
|
-
item_type: string;
|
|
1213
|
-
contract_address: string;
|
|
1214
|
-
}[];
|
|
1215
|
-
buyer_fees: {
|
|
1216
|
-
amount: string;
|
|
1217
|
-
fee_type: string;
|
|
1218
|
-
recipient: string;
|
|
1219
|
-
}[];
|
|
1220
|
-
sell_items: {
|
|
1221
|
-
amount: string;
|
|
1222
|
-
token_id: string;
|
|
1223
|
-
item_type: string;
|
|
1224
|
-
contract_address: string;
|
|
1225
|
-
}[];
|
|
1226
|
-
block_number: string;
|
|
1227
|
-
buyer_address: string;
|
|
1228
|
-
seller_address: string;
|
|
1229
|
-
tx_index_in_block: string;
|
|
1230
|
-
log_index_in_block: string;
|
|
1231
|
-
};
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
type WebhookHandlers = {
|
|
1235
|
-
zkevmMintRequestUpdated?: (event: ZkevmMintRequestUpdated) => Promise<void>;
|
|
1236
|
-
zkEvmActivityMint?: (event: ZkevmActivityMint) => Promise<void>;
|
|
1237
|
-
zkEvmActivityBurn?: (event: ZkevmActivityBurn) => Promise<void>;
|
|
1238
|
-
zkEvmActivityTransfer?: (event: ZkevmActivityTransfer) => Promise<void>;
|
|
1239
|
-
zkEvmActivitySale?: (event: ZkevmActivitySale) => Promise<void>;
|
|
1240
|
-
zkEvmActivityDeposit?: (event: ZkevmActivityDeposit) => Promise<void>;
|
|
1241
|
-
zkEvmActivityWithdrawal?: (event: ZkevmActivityWithdrawal) => Promise<void>;
|
|
1242
|
-
zkEvmCollectionUpdated?: (event: ZkevmCollectionUpdated) => Promise<void>;
|
|
1243
|
-
zkEvmNftUpdated?: (event: ZkevmNftUpdated) => Promise<void>;
|
|
1244
|
-
zkEvmMetadataUpdated?: (event: ZkevmMetadataUpdated) => Promise<void>;
|
|
1245
|
-
zkEvmTokenUpdated?: (event: ZkevmTokenUpdated) => Promise<void>;
|
|
1246
|
-
zkEvmOrderUpdated?: (event: ZkevmOrderUpdated) => Promise<void>;
|
|
1247
|
-
zkEvmTradeCreated?: (event: ZkevmTradeCreated) => Promise<void>;
|
|
1248
|
-
xNftCreated?: (event: Asset) => Promise<void>;
|
|
1249
|
-
xNftUpdated?: (event: Asset) => Promise<void>;
|
|
1250
|
-
xOrderAccepted?: (event: OrderV3) => Promise<void>;
|
|
1251
|
-
xOrderFilled?: (event: OrderV3) => Promise<void>;
|
|
1252
|
-
xOrderCancelled?: (event: OrderV3) => Promise<void>;
|
|
1253
|
-
xTransferCreated?: (event: Transfer) => Promise<void>;
|
|
1254
|
-
all?: (event: any) => Promise<void>;
|
|
1255
|
-
};
|
|
1256
|
-
/**
|
|
1257
|
-
* handle will validate webhook message origin and verify signature of the message and calls corresponding handlers passed in.
|
|
1258
|
-
* @param body The request body to a webhook endpoint in json string or js object form.
|
|
1259
|
-
* @param env The Immutable environment the webhook is set up for.
|
|
1260
|
-
* @param handlers The optional handlers object for different events. The `all` handler will be triggered for all event types.
|
|
1261
|
-
* @returns The event object from the webhook message after validation and verification.
|
|
1262
|
-
*/
|
|
1263
|
-
declare const handle: (body: string | Record<string, unknown>, env: Environment, handlers?: WebhookHandlers) => Promise<any>;
|
|
1264
|
-
|
|
1265
|
-
export { BlockChainMetadata, Chain, WebhookHandlers, ZkevmActivityBurn, ZkevmActivityDeposit, ZkevmActivityMint, ZkevmActivitySale, ZkevmActivityTransfer, ZkevmActivityWithdrawal, ZkevmCollectionUpdated, ZkevmMetadataUpdated, ZkevmMintRequestUpdated, ZkevmNftUpdated, ZkevmOrderUpdated, ZkevmTokenUpdated, ZkevmTradeCreated, handle };
|
|
1
|
+
export { W as WebhookHandlers, h as handle } from './webhook.d-4c3cb340.js';
|
|
2
|
+
export { B as BlockChainMetadata, C as Chain, b as ZkevmActivityBurn, e as ZkevmActivityDeposit, a as ZkevmActivityMint, d as ZkevmActivitySale, c as ZkevmActivityTransfer, f as ZkevmActivityWithdrawal, g as ZkevmCollectionUpdated, i as ZkevmMetadataUpdated, Z as ZkevmMintRequestUpdated, h as ZkevmNftUpdated, k as ZkevmOrderUpdated, j as ZkevmTokenUpdated, l as ZkevmTradeCreated } from './event-types.d-42520276.js';
|
|
3
|
+
import './index.d-f0845744.js';
|
|
4
|
+
import './transfer.d-87728423.js';
|