@imtbl/sdk 0.0.1-alpha.2 → 0.0.1-alpha.3
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/base.d.ts +14 -119
- package/dist/base.js +8 -20
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +53 -2
- package/dist/checkout_sdk.js +178 -93
- package/dist/checkout_widgets.d.ts +10 -5
- package/dist/checkout_widgets.js +29 -11
- package/dist/index.cjs +384 -248
- package/dist/index.d.ts +2089 -822
- package/dist/index.js +384 -248
- package/dist/passport.d.ts +40 -14
- package/dist/passport.js +96 -92
- package/dist/provider.d.ts +36 -20
- package/dist/provider.js +66 -55
- package/dist/starkex.d.ts +2015 -824
- package/dist/starkex.js +52 -4
- package/package.json +22 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
/// <reference path="global.d.ts" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
|
+
import { ProviderConfiguration as ProviderConfiguration$1 } from 'config';
|
|
4
|
+
|
|
5
|
+
declare enum Environment {
|
|
6
|
+
PRODUCTION = "production",
|
|
7
|
+
SANDBOX = "sandbox"
|
|
8
|
+
}
|
|
9
|
+
declare class ImmutableConfiguration {
|
|
10
|
+
readonly environment: Environment;
|
|
11
|
+
readonly apiKey?: string;
|
|
12
|
+
constructor(options: {
|
|
13
|
+
environment: Environment;
|
|
14
|
+
apiKey?: string;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
interface ModuleConfiguration<T> {
|
|
18
|
+
baseConfig: ImmutableConfiguration;
|
|
19
|
+
overrides?: T;
|
|
20
|
+
}
|
|
21
|
+
|
|
3
22
|
declare type Bytes = ArrayLike<number>;
|
|
4
23
|
declare type BytesLike = Bytes | string;
|
|
5
24
|
interface Hexable {
|
|
@@ -816,7 +835,7 @@ interface ConfigurationParameters {
|
|
|
816
835
|
baseOptions?: any;
|
|
817
836
|
formDataCtor?: new () => any;
|
|
818
837
|
}
|
|
819
|
-
declare class Configuration
|
|
838
|
+
declare class Configuration {
|
|
820
839
|
/**
|
|
821
840
|
* parameter for apiKey security
|
|
822
841
|
* @param name security name
|
|
@@ -887,8 +906,8 @@ declare class Configuration$1 {
|
|
|
887
906
|
declare class BaseAPI {
|
|
888
907
|
protected basePath: string;
|
|
889
908
|
protected axios: AxiosInstance;
|
|
890
|
-
protected configuration: Configuration
|
|
891
|
-
constructor(configuration?: Configuration
|
|
909
|
+
protected configuration: Configuration | undefined;
|
|
910
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
892
911
|
}
|
|
893
912
|
|
|
894
913
|
/**
|
|
@@ -999,49 +1018,6 @@ interface AggregateLimit {
|
|
|
999
1018
|
'min_amount'?: number;
|
|
1000
1019
|
}
|
|
1001
1020
|
|
|
1002
|
-
/**
|
|
1003
|
-
* Immutable X API
|
|
1004
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1005
|
-
*
|
|
1006
|
-
* The version of the OpenAPI document: 3.0
|
|
1007
|
-
* Contact: support@immutable.com
|
|
1008
|
-
*
|
|
1009
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1010
|
-
* https://openapi-generator.tech
|
|
1011
|
-
* Do not edit the class manually.
|
|
1012
|
-
*/
|
|
1013
|
-
/**
|
|
1014
|
-
*
|
|
1015
|
-
* @export
|
|
1016
|
-
* @interface ApiRegisterPassportUserRequest
|
|
1017
|
-
*/
|
|
1018
|
-
interface ApiRegisterPassportUserRequest {
|
|
1019
|
-
/**
|
|
1020
|
-
* Eth signature
|
|
1021
|
-
* @type {string}
|
|
1022
|
-
* @memberof ApiRegisterPassportUserRequest
|
|
1023
|
-
*/
|
|
1024
|
-
'eth_signature': string;
|
|
1025
|
-
/**
|
|
1026
|
-
* The ether key of the user
|
|
1027
|
-
* @type {string}
|
|
1028
|
-
* @memberof ApiRegisterPassportUserRequest
|
|
1029
|
-
*/
|
|
1030
|
-
'ether_key': string;
|
|
1031
|
-
/**
|
|
1032
|
-
* Public stark key of the user
|
|
1033
|
-
* @type {string}
|
|
1034
|
-
* @memberof ApiRegisterPassportUserRequest
|
|
1035
|
-
*/
|
|
1036
|
-
'stark_key': string;
|
|
1037
|
-
/**
|
|
1038
|
-
* Payload signature
|
|
1039
|
-
* @type {string}
|
|
1040
|
-
* @memberof ApiRegisterPassportUserRequest
|
|
1041
|
-
*/
|
|
1042
|
-
'stark_signature': string;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
1021
|
/**
|
|
1046
1022
|
* Immutable X API
|
|
1047
1023
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -1084,30 +1060,31 @@ interface CollectionDetails {
|
|
|
1084
1060
|
* https://openapi-generator.tech
|
|
1085
1061
|
* Do not edit the class manually.
|
|
1086
1062
|
*/
|
|
1063
|
+
|
|
1087
1064
|
/**
|
|
1088
1065
|
*
|
|
1089
1066
|
* @export
|
|
1090
|
-
* @interface
|
|
1067
|
+
* @interface AssetProperties
|
|
1091
1068
|
*/
|
|
1092
|
-
interface
|
|
1069
|
+
interface AssetProperties {
|
|
1093
1070
|
/**
|
|
1094
|
-
*
|
|
1095
|
-
* @type {
|
|
1096
|
-
* @memberof
|
|
1071
|
+
*
|
|
1072
|
+
* @type {CollectionDetails}
|
|
1073
|
+
* @memberof AssetProperties
|
|
1097
1074
|
*/
|
|
1098
|
-
'
|
|
1075
|
+
'collection'?: CollectionDetails;
|
|
1099
1076
|
/**
|
|
1100
|
-
*
|
|
1101
|
-
* @type {
|
|
1102
|
-
* @memberof
|
|
1077
|
+
* Image URL of this asset
|
|
1078
|
+
* @type {string}
|
|
1079
|
+
* @memberof AssetProperties
|
|
1103
1080
|
*/
|
|
1104
|
-
'
|
|
1081
|
+
'image_url'?: string;
|
|
1105
1082
|
/**
|
|
1106
|
-
*
|
|
1083
|
+
* Name of this asset
|
|
1107
1084
|
* @type {string}
|
|
1108
|
-
* @memberof
|
|
1085
|
+
* @memberof AssetProperties
|
|
1109
1086
|
*/
|
|
1110
|
-
'
|
|
1087
|
+
'name'?: string;
|
|
1111
1088
|
}
|
|
1112
1089
|
|
|
1113
1090
|
/**
|
|
@@ -1121,25 +1098,13 @@ interface Fee {
|
|
|
1121
1098
|
* https://openapi-generator.tech
|
|
1122
1099
|
* Do not edit the class manually.
|
|
1123
1100
|
*/
|
|
1101
|
+
|
|
1124
1102
|
/**
|
|
1125
|
-
*
|
|
1103
|
+
* @type TokenDataProperties
|
|
1104
|
+
* Properties of this asset
|
|
1126
1105
|
* @export
|
|
1127
|
-
* @interface OrderDetails
|
|
1128
1106
|
*/
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* Buy orders for this asset
|
|
1132
|
-
* @type {Array<object>}
|
|
1133
|
-
* @memberof OrderDetails
|
|
1134
|
-
*/
|
|
1135
|
-
'buy_orders'?: Array<object>;
|
|
1136
|
-
/**
|
|
1137
|
-
* Sell orders for this asset
|
|
1138
|
-
* @type {Array<object>}
|
|
1139
|
-
* @memberof OrderDetails
|
|
1140
|
-
*/
|
|
1141
|
-
'sell_orders'?: Array<object>;
|
|
1142
|
-
}
|
|
1107
|
+
declare type TokenDataProperties = AssetProperties;
|
|
1143
1108
|
|
|
1144
1109
|
/**
|
|
1145
1110
|
* Immutable X API
|
|
@@ -1156,101 +1121,78 @@ interface OrderDetails {
|
|
|
1156
1121
|
/**
|
|
1157
1122
|
*
|
|
1158
1123
|
* @export
|
|
1159
|
-
* @interface
|
|
1124
|
+
* @interface TokenData
|
|
1160
1125
|
*/
|
|
1161
|
-
interface
|
|
1162
|
-
/**
|
|
1163
|
-
*
|
|
1164
|
-
* @type {CollectionDetails}
|
|
1165
|
-
* @memberof Asset
|
|
1166
|
-
*/
|
|
1167
|
-
'collection': CollectionDetails;
|
|
1168
|
-
/**
|
|
1169
|
-
* Timestamp of when the asset was created
|
|
1170
|
-
* @type {string}
|
|
1171
|
-
* @memberof Asset
|
|
1172
|
-
*/
|
|
1173
|
-
'created_at': string | null;
|
|
1174
|
-
/**
|
|
1175
|
-
* Description of this asset
|
|
1176
|
-
* @type {string}
|
|
1177
|
-
* @memberof Asset
|
|
1178
|
-
*/
|
|
1179
|
-
'description': string | null;
|
|
1126
|
+
interface TokenData {
|
|
1180
1127
|
/**
|
|
1181
|
-
*
|
|
1182
|
-
* @type {
|
|
1183
|
-
* @memberof
|
|
1128
|
+
* Number of decimals supported by this asset
|
|
1129
|
+
* @type {number}
|
|
1130
|
+
* @memberof TokenData
|
|
1184
1131
|
*/
|
|
1185
|
-
'
|
|
1132
|
+
'decimals'?: number;
|
|
1186
1133
|
/**
|
|
1187
1134
|
* [DEPRECATED] Internal Immutable X Token ID
|
|
1188
1135
|
* @type {string}
|
|
1189
|
-
* @memberof
|
|
1136
|
+
* @memberof TokenData
|
|
1190
1137
|
*/
|
|
1191
1138
|
'id'?: string;
|
|
1192
|
-
/**
|
|
1193
|
-
* URL of the image which should be used for this asset
|
|
1194
|
-
* @type {string}
|
|
1195
|
-
* @memberof Asset
|
|
1196
|
-
*/
|
|
1197
|
-
'image_url': string | null;
|
|
1198
|
-
/**
|
|
1199
|
-
* Metadata of this asset
|
|
1200
|
-
* @type {object}
|
|
1201
|
-
* @memberof Asset
|
|
1202
|
-
*/
|
|
1203
|
-
'metadata': object | null;
|
|
1204
|
-
/**
|
|
1205
|
-
* Name of this asset
|
|
1206
|
-
* @type {string}
|
|
1207
|
-
* @memberof Asset
|
|
1208
|
-
*/
|
|
1209
|
-
'name': string | null;
|
|
1210
1139
|
/**
|
|
1211
1140
|
*
|
|
1212
|
-
* @type {
|
|
1213
|
-
* @memberof
|
|
1214
|
-
*/
|
|
1215
|
-
'orders'?: OrderDetails;
|
|
1216
|
-
/**
|
|
1217
|
-
* Status of this asset (where it is in the system)
|
|
1218
|
-
* @type {string}
|
|
1219
|
-
* @memberof Asset
|
|
1141
|
+
* @type {TokenDataProperties}
|
|
1142
|
+
* @memberof TokenData
|
|
1220
1143
|
*/
|
|
1221
|
-
'
|
|
1144
|
+
'properties'?: TokenDataProperties;
|
|
1222
1145
|
/**
|
|
1223
|
-
*
|
|
1146
|
+
* Quantity of this asset - inclusive of fees for buy order in v1 API and exclusive of fees in v3 API
|
|
1224
1147
|
* @type {string}
|
|
1225
|
-
* @memberof
|
|
1148
|
+
* @memberof TokenData
|
|
1226
1149
|
*/
|
|
1227
|
-
'
|
|
1150
|
+
'quantity': string;
|
|
1228
1151
|
/**
|
|
1229
|
-
*
|
|
1152
|
+
* Quantity of this asset with the sum of all fees applied to the asset
|
|
1230
1153
|
* @type {string}
|
|
1231
|
-
* @memberof
|
|
1154
|
+
* @memberof TokenData
|
|
1232
1155
|
*/
|
|
1233
|
-
'
|
|
1156
|
+
'quantity_with_fees': string;
|
|
1234
1157
|
/**
|
|
1235
|
-
*
|
|
1158
|
+
* Symbol of a token
|
|
1236
1159
|
* @type {string}
|
|
1237
|
-
* @memberof
|
|
1160
|
+
* @memberof TokenData
|
|
1238
1161
|
*/
|
|
1239
|
-
'
|
|
1162
|
+
'symbol'?: string;
|
|
1240
1163
|
/**
|
|
1241
|
-
*
|
|
1164
|
+
* Address of ERC721/ERC20 contract
|
|
1242
1165
|
* @type {string}
|
|
1243
|
-
* @memberof
|
|
1166
|
+
* @memberof TokenData
|
|
1244
1167
|
*/
|
|
1245
|
-
'
|
|
1168
|
+
'token_address'?: string;
|
|
1246
1169
|
/**
|
|
1247
|
-
*
|
|
1170
|
+
* ERC721 Token ID
|
|
1248
1171
|
* @type {string}
|
|
1249
|
-
* @memberof
|
|
1172
|
+
* @memberof TokenData
|
|
1250
1173
|
*/
|
|
1251
|
-
'
|
|
1174
|
+
'token_id'?: string;
|
|
1252
1175
|
}
|
|
1253
1176
|
|
|
1177
|
+
/**
|
|
1178
|
+
* Immutable X API
|
|
1179
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1180
|
+
*
|
|
1181
|
+
* The version of the OpenAPI document: 3.0
|
|
1182
|
+
* Contact: support@immutable.com
|
|
1183
|
+
*
|
|
1184
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1185
|
+
* https://openapi-generator.tech
|
|
1186
|
+
* Do not edit the class manually.
|
|
1187
|
+
*/
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* @type TokenDataOAIGen
|
|
1191
|
+
* Token details of this asset
|
|
1192
|
+
* @export
|
|
1193
|
+
*/
|
|
1194
|
+
declare type TokenDataOAIGen = TokenData;
|
|
1195
|
+
|
|
1254
1196
|
/**
|
|
1255
1197
|
* Immutable X API
|
|
1256
1198
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -1266,27 +1208,52 @@ interface Asset {
|
|
|
1266
1208
|
/**
|
|
1267
1209
|
*
|
|
1268
1210
|
* @export
|
|
1269
|
-
* @interface
|
|
1211
|
+
* @interface Token
|
|
1270
1212
|
*/
|
|
1271
|
-
interface
|
|
1213
|
+
interface Token {
|
|
1272
1214
|
/**
|
|
1273
1215
|
*
|
|
1274
|
-
* @type {
|
|
1275
|
-
* @memberof
|
|
1216
|
+
* @type {TokenDataOAIGen}
|
|
1217
|
+
* @memberof Token
|
|
1276
1218
|
*/
|
|
1277
|
-
'
|
|
1219
|
+
'data': TokenDataOAIGen;
|
|
1278
1220
|
/**
|
|
1279
|
-
*
|
|
1221
|
+
* Type of this asset (ETH/ERC20/ERC721)
|
|
1280
1222
|
* @type {string}
|
|
1281
|
-
* @memberof
|
|
1223
|
+
* @memberof Token
|
|
1282
1224
|
*/
|
|
1283
|
-
'
|
|
1225
|
+
'type': string;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Immutable X API
|
|
1230
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1231
|
+
*
|
|
1232
|
+
* The version of the OpenAPI document: 3.0
|
|
1233
|
+
* Contact: support@immutable.com
|
|
1234
|
+
*
|
|
1235
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1236
|
+
* https://openapi-generator.tech
|
|
1237
|
+
* Do not edit the class manually.
|
|
1238
|
+
*/
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @export
|
|
1242
|
+
* @interface FeeData
|
|
1243
|
+
*/
|
|
1244
|
+
interface FeeData {
|
|
1284
1245
|
/**
|
|
1285
|
-
*
|
|
1246
|
+
* Address of ERC721/ERC20 contract
|
|
1286
1247
|
* @type {string}
|
|
1287
|
-
* @memberof
|
|
1248
|
+
* @memberof FeeData
|
|
1288
1249
|
*/
|
|
1289
|
-
'
|
|
1250
|
+
'contract_address'?: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* Number of decimals supported by this asset
|
|
1253
|
+
* @type {number}
|
|
1254
|
+
* @memberof FeeData
|
|
1255
|
+
*/
|
|
1256
|
+
'decimals'?: number;
|
|
1290
1257
|
}
|
|
1291
1258
|
|
|
1292
1259
|
/**
|
|
@@ -1304,99 +1271,89 @@ interface AssetProperties {
|
|
|
1304
1271
|
/**
|
|
1305
1272
|
*
|
|
1306
1273
|
* @export
|
|
1307
|
-
* @interface
|
|
1274
|
+
* @interface FeeToken
|
|
1308
1275
|
*/
|
|
1309
|
-
interface
|
|
1276
|
+
interface FeeToken {
|
|
1310
1277
|
/**
|
|
1311
1278
|
*
|
|
1312
|
-
* @type {
|
|
1313
|
-
* @memberof
|
|
1279
|
+
* @type {FeeData}
|
|
1280
|
+
* @memberof FeeToken
|
|
1314
1281
|
*/
|
|
1315
|
-
'
|
|
1282
|
+
'data'?: FeeData;
|
|
1316
1283
|
/**
|
|
1317
|
-
*
|
|
1318
|
-
* @type {string}
|
|
1319
|
-
* @memberof AssetWithOrders
|
|
1320
|
-
*/
|
|
1321
|
-
'created_at': string | null;
|
|
1322
|
-
/**
|
|
1323
|
-
* Description of this asset
|
|
1324
|
-
* @type {string}
|
|
1325
|
-
* @memberof AssetWithOrders
|
|
1326
|
-
*/
|
|
1327
|
-
'description': string | null;
|
|
1328
|
-
/**
|
|
1329
|
-
* Royalties to pay on this asset operations
|
|
1330
|
-
* @type {Array<Fee>}
|
|
1331
|
-
* @memberof AssetWithOrders
|
|
1332
|
-
*/
|
|
1333
|
-
'fees'?: Array<Fee>;
|
|
1334
|
-
/**
|
|
1335
|
-
* [DEPRECATED] Internal Immutable X Token ID
|
|
1284
|
+
* Fee token type. One of ETH/ERC20
|
|
1336
1285
|
* @type {string}
|
|
1337
|
-
* @memberof
|
|
1286
|
+
* @memberof FeeToken
|
|
1338
1287
|
*/
|
|
1339
|
-
'
|
|
1288
|
+
'type'?: FeeTokenTypeEnum;
|
|
1289
|
+
}
|
|
1290
|
+
declare const FeeTokenTypeEnum: {
|
|
1291
|
+
readonly Eth: "ETH";
|
|
1292
|
+
readonly Erc20: "ERC20";
|
|
1293
|
+
};
|
|
1294
|
+
declare type FeeTokenTypeEnum = typeof FeeTokenTypeEnum[keyof typeof FeeTokenTypeEnum];
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Immutable X API
|
|
1298
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1299
|
+
*
|
|
1300
|
+
* The version of the OpenAPI document: 3.0
|
|
1301
|
+
* Contact: support@immutable.com
|
|
1302
|
+
*
|
|
1303
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1304
|
+
* https://openapi-generator.tech
|
|
1305
|
+
* Do not edit the class manually.
|
|
1306
|
+
*/
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* @type OrderFeeInfoToken
|
|
1310
|
+
* Details of the fee currency
|
|
1311
|
+
* @export
|
|
1312
|
+
*/
|
|
1313
|
+
declare type OrderFeeInfoToken = FeeToken;
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Immutable X API
|
|
1317
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1318
|
+
*
|
|
1319
|
+
* The version of the OpenAPI document: 3.0
|
|
1320
|
+
* Contact: support@immutable.com
|
|
1321
|
+
*
|
|
1322
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1323
|
+
* https://openapi-generator.tech
|
|
1324
|
+
* Do not edit the class manually.
|
|
1325
|
+
*/
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
*
|
|
1329
|
+
* @export
|
|
1330
|
+
* @interface OrderFeeInfo
|
|
1331
|
+
*/
|
|
1332
|
+
interface OrderFeeInfo {
|
|
1340
1333
|
/**
|
|
1341
|
-
*
|
|
1334
|
+
* Address of the fee recipient
|
|
1342
1335
|
* @type {string}
|
|
1343
|
-
* @memberof
|
|
1344
|
-
*/
|
|
1345
|
-
'image_url': string | null;
|
|
1346
|
-
/**
|
|
1347
|
-
* Metadata of this asset
|
|
1348
|
-
* @type {object}
|
|
1349
|
-
* @memberof AssetWithOrders
|
|
1336
|
+
* @memberof OrderFeeInfo
|
|
1350
1337
|
*/
|
|
1351
|
-
'
|
|
1338
|
+
'address'?: string;
|
|
1352
1339
|
/**
|
|
1353
|
-
*
|
|
1340
|
+
* Fee amount
|
|
1354
1341
|
* @type {string}
|
|
1355
|
-
* @memberof
|
|
1342
|
+
* @memberof OrderFeeInfo
|
|
1356
1343
|
*/
|
|
1357
|
-
'
|
|
1344
|
+
'amount'?: string;
|
|
1358
1345
|
/**
|
|
1359
1346
|
*
|
|
1360
|
-
* @type {
|
|
1361
|
-
* @memberof
|
|
1362
|
-
*/
|
|
1363
|
-
'orders'?: OrderDetails;
|
|
1364
|
-
/**
|
|
1365
|
-
* Status of this asset (where it is in the system)
|
|
1366
|
-
* @type {string}
|
|
1367
|
-
* @memberof AssetWithOrders
|
|
1368
|
-
*/
|
|
1369
|
-
'status': string;
|
|
1370
|
-
/**
|
|
1371
|
-
* Address of the ERC721 contract
|
|
1372
|
-
* @type {string}
|
|
1373
|
-
* @memberof AssetWithOrders
|
|
1374
|
-
*/
|
|
1375
|
-
'token_address': string;
|
|
1376
|
-
/**
|
|
1377
|
-
* ERC721 Token ID of this asset
|
|
1378
|
-
* @type {string}
|
|
1379
|
-
* @memberof AssetWithOrders
|
|
1380
|
-
*/
|
|
1381
|
-
'token_id': string;
|
|
1382
|
-
/**
|
|
1383
|
-
* Timestamp of when the asset was updated
|
|
1384
|
-
* @type {string}
|
|
1385
|
-
* @memberof AssetWithOrders
|
|
1386
|
-
*/
|
|
1387
|
-
'updated_at': string | null;
|
|
1388
|
-
/**
|
|
1389
|
-
* URI to access this asset externally to Immutable X
|
|
1390
|
-
* @type {string}
|
|
1391
|
-
* @memberof AssetWithOrders
|
|
1347
|
+
* @type {OrderFeeInfoToken}
|
|
1348
|
+
* @memberof OrderFeeInfo
|
|
1392
1349
|
*/
|
|
1393
|
-
'
|
|
1350
|
+
'token'?: OrderFeeInfoToken;
|
|
1394
1351
|
/**
|
|
1395
|
-
*
|
|
1352
|
+
* Fee type
|
|
1396
1353
|
* @type {string}
|
|
1397
|
-
* @memberof
|
|
1354
|
+
* @memberof OrderFeeInfo
|
|
1398
1355
|
*/
|
|
1399
|
-
'
|
|
1356
|
+
'type'?: string;
|
|
1400
1357
|
}
|
|
1401
1358
|
|
|
1402
1359
|
/**
|
|
@@ -1413,39 +1370,33 @@ interface AssetWithOrders {
|
|
|
1413
1370
|
/**
|
|
1414
1371
|
*
|
|
1415
1372
|
* @export
|
|
1416
|
-
* @interface
|
|
1373
|
+
* @interface ApiRegisterPassportUserRequest
|
|
1417
1374
|
*/
|
|
1418
|
-
interface
|
|
1419
|
-
/**
|
|
1420
|
-
* Amount which is currently inside the exchange
|
|
1421
|
-
* @type {string}
|
|
1422
|
-
* @memberof Balance
|
|
1423
|
-
*/
|
|
1424
|
-
'balance': string;
|
|
1375
|
+
interface ApiRegisterPassportUserRequest {
|
|
1425
1376
|
/**
|
|
1426
|
-
*
|
|
1377
|
+
* Eth signature
|
|
1427
1378
|
* @type {string}
|
|
1428
|
-
* @memberof
|
|
1379
|
+
* @memberof ApiRegisterPassportUserRequest
|
|
1429
1380
|
*/
|
|
1430
|
-
'
|
|
1381
|
+
'eth_signature': string;
|
|
1431
1382
|
/**
|
|
1432
|
-
*
|
|
1383
|
+
* The ether key of the user
|
|
1433
1384
|
* @type {string}
|
|
1434
|
-
* @memberof
|
|
1385
|
+
* @memberof ApiRegisterPassportUserRequest
|
|
1435
1386
|
*/
|
|
1436
|
-
'
|
|
1387
|
+
'ether_key': string;
|
|
1437
1388
|
/**
|
|
1438
|
-
*
|
|
1389
|
+
* Public stark key of the user
|
|
1439
1390
|
* @type {string}
|
|
1440
|
-
* @memberof
|
|
1391
|
+
* @memberof ApiRegisterPassportUserRequest
|
|
1441
1392
|
*/
|
|
1442
|
-
'
|
|
1393
|
+
'stark_key': string;
|
|
1443
1394
|
/**
|
|
1444
|
-
*
|
|
1395
|
+
* Payload signature
|
|
1445
1396
|
* @type {string}
|
|
1446
|
-
* @memberof
|
|
1397
|
+
* @memberof ApiRegisterPassportUserRequest
|
|
1447
1398
|
*/
|
|
1448
|
-
'
|
|
1399
|
+
'stark_signature': string;
|
|
1449
1400
|
}
|
|
1450
1401
|
|
|
1451
1402
|
/**
|
|
@@ -1462,21 +1413,27 @@ interface Balance {
|
|
|
1462
1413
|
/**
|
|
1463
1414
|
*
|
|
1464
1415
|
* @export
|
|
1465
|
-
* @interface
|
|
1416
|
+
* @interface Fee
|
|
1466
1417
|
*/
|
|
1467
|
-
interface
|
|
1418
|
+
interface Fee {
|
|
1468
1419
|
/**
|
|
1469
|
-
*
|
|
1420
|
+
* Wallet address
|
|
1421
|
+
* @type {string}
|
|
1422
|
+
* @memberof Fee
|
|
1423
|
+
*/
|
|
1424
|
+
'address': string;
|
|
1425
|
+
/**
|
|
1426
|
+
* The percentage of fee
|
|
1470
1427
|
* @type {number}
|
|
1471
|
-
* @memberof
|
|
1428
|
+
* @memberof Fee
|
|
1472
1429
|
*/
|
|
1473
|
-
'
|
|
1430
|
+
'percentage': number;
|
|
1474
1431
|
/**
|
|
1475
|
-
*
|
|
1432
|
+
* Type of fee. Examples: `royalty`, `maker`, `taker` or `protocol`
|
|
1476
1433
|
* @type {string}
|
|
1477
|
-
* @memberof
|
|
1434
|
+
* @memberof Fee
|
|
1478
1435
|
*/
|
|
1479
|
-
'
|
|
1436
|
+
'type': string;
|
|
1480
1437
|
}
|
|
1481
1438
|
|
|
1482
1439
|
/**
|
|
@@ -1493,21 +1450,21 @@ interface CancelOrderRequest {
|
|
|
1493
1450
|
/**
|
|
1494
1451
|
*
|
|
1495
1452
|
* @export
|
|
1496
|
-
* @interface
|
|
1453
|
+
* @interface OrderDetails
|
|
1497
1454
|
*/
|
|
1498
|
-
interface
|
|
1455
|
+
interface OrderDetails {
|
|
1499
1456
|
/**
|
|
1500
|
-
*
|
|
1501
|
-
* @type {
|
|
1502
|
-
* @memberof
|
|
1457
|
+
* Buy orders for this asset
|
|
1458
|
+
* @type {Array<object>}
|
|
1459
|
+
* @memberof OrderDetails
|
|
1503
1460
|
*/
|
|
1504
|
-
'
|
|
1461
|
+
'buy_orders'?: Array<object>;
|
|
1505
1462
|
/**
|
|
1506
|
-
*
|
|
1507
|
-
* @type {
|
|
1508
|
-
* @memberof
|
|
1463
|
+
* Sell orders for this asset
|
|
1464
|
+
* @type {Array<object>}
|
|
1465
|
+
* @memberof OrderDetails
|
|
1509
1466
|
*/
|
|
1510
|
-
'
|
|
1467
|
+
'sell_orders'?: Array<object>;
|
|
1511
1468
|
}
|
|
1512
1469
|
|
|
1513
1470
|
/**
|
|
@@ -1521,72 +1478,103 @@ interface CancelOrderResponse {
|
|
|
1521
1478
|
* https://openapi-generator.tech
|
|
1522
1479
|
* Do not edit the class manually.
|
|
1523
1480
|
*/
|
|
1481
|
+
|
|
1524
1482
|
/**
|
|
1525
1483
|
*
|
|
1526
1484
|
* @export
|
|
1527
|
-
* @interface
|
|
1485
|
+
* @interface Asset
|
|
1528
1486
|
*/
|
|
1529
|
-
interface
|
|
1530
|
-
/**
|
|
1531
|
-
* Ethereum address of the ERC721 contract
|
|
1532
|
-
* @type {string}
|
|
1533
|
-
* @memberof Collection
|
|
1534
|
-
*/
|
|
1535
|
-
'address': string;
|
|
1487
|
+
interface Asset {
|
|
1536
1488
|
/**
|
|
1537
|
-
*
|
|
1538
|
-
* @type {
|
|
1539
|
-
* @memberof
|
|
1489
|
+
*
|
|
1490
|
+
* @type {CollectionDetails}
|
|
1491
|
+
* @memberof Asset
|
|
1540
1492
|
*/
|
|
1541
|
-
'
|
|
1493
|
+
'collection': CollectionDetails;
|
|
1542
1494
|
/**
|
|
1543
|
-
* Timestamp of when the
|
|
1495
|
+
* Timestamp of when the asset was created
|
|
1544
1496
|
* @type {string}
|
|
1545
|
-
* @memberof
|
|
1497
|
+
* @memberof Asset
|
|
1546
1498
|
*/
|
|
1547
1499
|
'created_at': string | null;
|
|
1548
1500
|
/**
|
|
1549
|
-
* Description of
|
|
1501
|
+
* Description of this asset
|
|
1550
1502
|
* @type {string}
|
|
1551
|
-
* @memberof
|
|
1503
|
+
* @memberof Asset
|
|
1552
1504
|
*/
|
|
1553
1505
|
'description': string | null;
|
|
1554
1506
|
/**
|
|
1555
|
-
*
|
|
1556
|
-
* @type {
|
|
1557
|
-
* @memberof
|
|
1507
|
+
* Royalties to pay on this asset operations
|
|
1508
|
+
* @type {Array<Fee>}
|
|
1509
|
+
* @memberof Asset
|
|
1558
1510
|
*/
|
|
1559
|
-
'
|
|
1511
|
+
'fees'?: Array<Fee>;
|
|
1560
1512
|
/**
|
|
1561
|
-
*
|
|
1513
|
+
* [DEPRECATED] Internal Immutable X Token ID
|
|
1562
1514
|
* @type {string}
|
|
1563
|
-
* @memberof
|
|
1515
|
+
* @memberof Asset
|
|
1564
1516
|
*/
|
|
1565
|
-
'
|
|
1517
|
+
'id'?: string;
|
|
1566
1518
|
/**
|
|
1567
|
-
*
|
|
1519
|
+
* URL of the image which should be used for this asset
|
|
1568
1520
|
* @type {string}
|
|
1569
|
-
* @memberof
|
|
1521
|
+
* @memberof Asset
|
|
1570
1522
|
*/
|
|
1571
|
-
'
|
|
1523
|
+
'image_url': string | null;
|
|
1572
1524
|
/**
|
|
1573
|
-
*
|
|
1574
|
-
* @type {
|
|
1575
|
-
* @memberof
|
|
1525
|
+
* Metadata of this asset
|
|
1526
|
+
* @type {object}
|
|
1527
|
+
* @memberof Asset
|
|
1576
1528
|
*/
|
|
1577
|
-
'
|
|
1529
|
+
'metadata': object | null;
|
|
1578
1530
|
/**
|
|
1579
|
-
*
|
|
1531
|
+
* Name of this asset
|
|
1580
1532
|
* @type {string}
|
|
1581
|
-
* @memberof
|
|
1533
|
+
* @memberof Asset
|
|
1582
1534
|
*/
|
|
1583
|
-
'
|
|
1535
|
+
'name': string | null;
|
|
1584
1536
|
/**
|
|
1585
|
-
*
|
|
1537
|
+
*
|
|
1538
|
+
* @type {OrderDetails}
|
|
1539
|
+
* @memberof Asset
|
|
1540
|
+
*/
|
|
1541
|
+
'orders'?: OrderDetails;
|
|
1542
|
+
/**
|
|
1543
|
+
* Status of this asset (where it is in the system)
|
|
1586
1544
|
* @type {string}
|
|
1587
|
-
* @memberof
|
|
1545
|
+
* @memberof Asset
|
|
1546
|
+
*/
|
|
1547
|
+
'status': string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Address of the ERC721 contract
|
|
1550
|
+
* @type {string}
|
|
1551
|
+
* @memberof Asset
|
|
1552
|
+
*/
|
|
1553
|
+
'token_address': string;
|
|
1554
|
+
/**
|
|
1555
|
+
* ERC721 Token ID of this asset
|
|
1556
|
+
* @type {string}
|
|
1557
|
+
* @memberof Asset
|
|
1558
|
+
*/
|
|
1559
|
+
'token_id': string;
|
|
1560
|
+
/**
|
|
1561
|
+
* Timestamp of when the asset was updated
|
|
1562
|
+
* @type {string}
|
|
1563
|
+
* @memberof Asset
|
|
1588
1564
|
*/
|
|
1589
1565
|
'updated_at': string | null;
|
|
1566
|
+
/**
|
|
1567
|
+
* URI to access this asset externally to Immutable X
|
|
1568
|
+
* @type {string}
|
|
1569
|
+
* @memberof Asset
|
|
1570
|
+
*/
|
|
1571
|
+
'uri': string | null;
|
|
1572
|
+
/**
|
|
1573
|
+
* Ethereum address of the user who owns this asset
|
|
1574
|
+
* @type {string}
|
|
1575
|
+
* @memberof Asset
|
|
1576
|
+
*/
|
|
1577
|
+
'user': string;
|
|
1590
1578
|
}
|
|
1591
1579
|
|
|
1592
1580
|
/**
|
|
@@ -1600,24 +1588,103 @@ interface Collection {
|
|
|
1600
1588
|
* https://openapi-generator.tech
|
|
1601
1589
|
* Do not edit the class manually.
|
|
1602
1590
|
*/
|
|
1591
|
+
|
|
1603
1592
|
/**
|
|
1604
1593
|
*
|
|
1605
1594
|
* @export
|
|
1606
|
-
* @interface
|
|
1595
|
+
* @interface AssetWithOrders
|
|
1607
1596
|
*/
|
|
1608
|
-
interface
|
|
1597
|
+
interface AssetWithOrders {
|
|
1609
1598
|
/**
|
|
1610
|
-
*
|
|
1611
|
-
* @type {
|
|
1612
|
-
* @memberof
|
|
1599
|
+
*
|
|
1600
|
+
* @type {CollectionDetails}
|
|
1601
|
+
* @memberof AssetWithOrders
|
|
1613
1602
|
*/
|
|
1614
|
-
'
|
|
1603
|
+
'collection': CollectionDetails;
|
|
1615
1604
|
/**
|
|
1616
|
-
*
|
|
1617
|
-
* @type {
|
|
1618
|
-
* @memberof
|
|
1605
|
+
* Timestamp of when the asset was created
|
|
1606
|
+
* @type {string}
|
|
1607
|
+
* @memberof AssetWithOrders
|
|
1619
1608
|
*/
|
|
1620
|
-
'
|
|
1609
|
+
'created_at': string | null;
|
|
1610
|
+
/**
|
|
1611
|
+
* Description of this asset
|
|
1612
|
+
* @type {string}
|
|
1613
|
+
* @memberof AssetWithOrders
|
|
1614
|
+
*/
|
|
1615
|
+
'description': string | null;
|
|
1616
|
+
/**
|
|
1617
|
+
* Royalties to pay on this asset operations
|
|
1618
|
+
* @type {Array<Fee>}
|
|
1619
|
+
* @memberof AssetWithOrders
|
|
1620
|
+
*/
|
|
1621
|
+
'fees'?: Array<Fee>;
|
|
1622
|
+
/**
|
|
1623
|
+
* [DEPRECATED] Internal Immutable X Token ID
|
|
1624
|
+
* @type {string}
|
|
1625
|
+
* @memberof AssetWithOrders
|
|
1626
|
+
*/
|
|
1627
|
+
'id'?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* URL of the image which should be used for this asset
|
|
1630
|
+
* @type {string}
|
|
1631
|
+
* @memberof AssetWithOrders
|
|
1632
|
+
*/
|
|
1633
|
+
'image_url': string | null;
|
|
1634
|
+
/**
|
|
1635
|
+
* Metadata of this asset
|
|
1636
|
+
* @type {object}
|
|
1637
|
+
* @memberof AssetWithOrders
|
|
1638
|
+
*/
|
|
1639
|
+
'metadata': object | null;
|
|
1640
|
+
/**
|
|
1641
|
+
* Name of this asset
|
|
1642
|
+
* @type {string}
|
|
1643
|
+
* @memberof AssetWithOrders
|
|
1644
|
+
*/
|
|
1645
|
+
'name': string | null;
|
|
1646
|
+
/**
|
|
1647
|
+
*
|
|
1648
|
+
* @type {OrderDetails}
|
|
1649
|
+
* @memberof AssetWithOrders
|
|
1650
|
+
*/
|
|
1651
|
+
'orders'?: OrderDetails;
|
|
1652
|
+
/**
|
|
1653
|
+
* Status of this asset (where it is in the system)
|
|
1654
|
+
* @type {string}
|
|
1655
|
+
* @memberof AssetWithOrders
|
|
1656
|
+
*/
|
|
1657
|
+
'status': string;
|
|
1658
|
+
/**
|
|
1659
|
+
* Address of the ERC721 contract
|
|
1660
|
+
* @type {string}
|
|
1661
|
+
* @memberof AssetWithOrders
|
|
1662
|
+
*/
|
|
1663
|
+
'token_address': string;
|
|
1664
|
+
/**
|
|
1665
|
+
* ERC721 Token ID of this asset
|
|
1666
|
+
* @type {string}
|
|
1667
|
+
* @memberof AssetWithOrders
|
|
1668
|
+
*/
|
|
1669
|
+
'token_id': string;
|
|
1670
|
+
/**
|
|
1671
|
+
* Timestamp of when the asset was updated
|
|
1672
|
+
* @type {string}
|
|
1673
|
+
* @memberof AssetWithOrders
|
|
1674
|
+
*/
|
|
1675
|
+
'updated_at': string | null;
|
|
1676
|
+
/**
|
|
1677
|
+
* URI to access this asset externally to Immutable X
|
|
1678
|
+
* @type {string}
|
|
1679
|
+
* @memberof AssetWithOrders
|
|
1680
|
+
*/
|
|
1681
|
+
'uri': string | null;
|
|
1682
|
+
/**
|
|
1683
|
+
* Ethereum address of the user who owns this asset
|
|
1684
|
+
* @type {string}
|
|
1685
|
+
* @memberof AssetWithOrders
|
|
1686
|
+
*/
|
|
1687
|
+
'user': string;
|
|
1621
1688
|
}
|
|
1622
1689
|
|
|
1623
1690
|
/**
|
|
@@ -1631,37 +1698,42 @@ interface Range {
|
|
|
1631
1698
|
* https://openapi-generator.tech
|
|
1632
1699
|
* Do not edit the class manually.
|
|
1633
1700
|
*/
|
|
1634
|
-
|
|
1635
1701
|
/**
|
|
1636
1702
|
*
|
|
1637
1703
|
* @export
|
|
1638
|
-
* @interface
|
|
1704
|
+
* @interface Balance
|
|
1639
1705
|
*/
|
|
1640
|
-
interface
|
|
1706
|
+
interface Balance {
|
|
1641
1707
|
/**
|
|
1642
|
-
*
|
|
1708
|
+
* Amount which is currently inside the exchange
|
|
1643
1709
|
* @type {string}
|
|
1644
|
-
* @memberof
|
|
1710
|
+
* @memberof Balance
|
|
1645
1711
|
*/
|
|
1646
|
-
'
|
|
1712
|
+
'balance': string;
|
|
1647
1713
|
/**
|
|
1648
|
-
*
|
|
1649
|
-
* @type {
|
|
1650
|
-
* @memberof
|
|
1714
|
+
* Amount which is currently preparing withdrawal from the exchange
|
|
1715
|
+
* @type {string}
|
|
1716
|
+
* @memberof Balance
|
|
1651
1717
|
*/
|
|
1652
|
-
'
|
|
1718
|
+
'preparing_withdrawal': string;
|
|
1653
1719
|
/**
|
|
1654
|
-
*
|
|
1720
|
+
* Symbol of the token (e.g. ETH, IMX)
|
|
1655
1721
|
* @type {string}
|
|
1656
|
-
* @memberof
|
|
1722
|
+
* @memberof Balance
|
|
1657
1723
|
*/
|
|
1658
|
-
'
|
|
1724
|
+
'symbol': string;
|
|
1659
1725
|
/**
|
|
1660
|
-
*
|
|
1661
|
-
* @type {
|
|
1662
|
-
* @memberof
|
|
1726
|
+
* Address of the contract that represents this ERC20 token or empty for ETH
|
|
1727
|
+
* @type {string}
|
|
1728
|
+
* @memberof Balance
|
|
1663
1729
|
*/
|
|
1664
|
-
'
|
|
1730
|
+
'token_address': string;
|
|
1731
|
+
/**
|
|
1732
|
+
* Amount which is currently withdrawable from the exchange
|
|
1733
|
+
* @type {string}
|
|
1734
|
+
* @memberof Balance
|
|
1735
|
+
*/
|
|
1736
|
+
'withdrawable': string;
|
|
1665
1737
|
}
|
|
1666
1738
|
|
|
1667
1739
|
/**
|
|
@@ -1678,27 +1750,21 @@ interface CollectionFilter {
|
|
|
1678
1750
|
/**
|
|
1679
1751
|
*
|
|
1680
1752
|
* @export
|
|
1681
|
-
* @interface
|
|
1753
|
+
* @interface CancelOrderRequest
|
|
1682
1754
|
*/
|
|
1683
|
-
interface
|
|
1684
|
-
/**
|
|
1685
|
-
*
|
|
1686
|
-
* @type {string}
|
|
1687
|
-
* @memberof ContractCreateAPIRequest
|
|
1688
|
-
*/
|
|
1689
|
-
'contract_address'?: string;
|
|
1755
|
+
interface CancelOrderRequest {
|
|
1690
1756
|
/**
|
|
1691
|
-
*
|
|
1692
|
-
* @type {
|
|
1693
|
-
* @memberof
|
|
1757
|
+
* ID of the order
|
|
1758
|
+
* @type {number}
|
|
1759
|
+
* @memberof CancelOrderRequest
|
|
1694
1760
|
*/
|
|
1695
|
-
'
|
|
1761
|
+
'order_id': number;
|
|
1696
1762
|
/**
|
|
1697
|
-
*
|
|
1763
|
+
* Payload signature
|
|
1698
1764
|
* @type {string}
|
|
1699
|
-
* @memberof
|
|
1765
|
+
* @memberof CancelOrderRequest
|
|
1700
1766
|
*/
|
|
1701
|
-
'
|
|
1767
|
+
'stark_signature': string;
|
|
1702
1768
|
}
|
|
1703
1769
|
|
|
1704
1770
|
/**
|
|
@@ -1715,15 +1781,21 @@ interface ContractCreateAPIRequest {
|
|
|
1715
1781
|
/**
|
|
1716
1782
|
*
|
|
1717
1783
|
* @export
|
|
1718
|
-
* @interface
|
|
1784
|
+
* @interface CancelOrderResponse
|
|
1719
1785
|
*/
|
|
1720
|
-
interface
|
|
1786
|
+
interface CancelOrderResponse {
|
|
1721
1787
|
/**
|
|
1722
|
-
*
|
|
1788
|
+
* ID of the cancelled order
|
|
1789
|
+
* @type {number}
|
|
1790
|
+
* @memberof CancelOrderResponse
|
|
1791
|
+
*/
|
|
1792
|
+
'order_id': number;
|
|
1793
|
+
/**
|
|
1794
|
+
* New status of the order
|
|
1723
1795
|
* @type {string}
|
|
1724
|
-
* @memberof
|
|
1796
|
+
* @memberof CancelOrderResponse
|
|
1725
1797
|
*/
|
|
1726
|
-
'
|
|
1798
|
+
'status': string;
|
|
1727
1799
|
}
|
|
1728
1800
|
|
|
1729
1801
|
/**
|
|
@@ -1740,47 +1812,263 @@ interface ContractCreateResponse {
|
|
|
1740
1812
|
/**
|
|
1741
1813
|
*
|
|
1742
1814
|
* @export
|
|
1743
|
-
* @interface
|
|
1815
|
+
* @interface Collection
|
|
1744
1816
|
*/
|
|
1745
|
-
interface
|
|
1817
|
+
interface Collection {
|
|
1818
|
+
/**
|
|
1819
|
+
* Ethereum address of the ERC721 contract
|
|
1820
|
+
* @type {string}
|
|
1821
|
+
* @memberof Collection
|
|
1822
|
+
*/
|
|
1823
|
+
'address': string;
|
|
1746
1824
|
/**
|
|
1747
1825
|
* URL of the tile image for this collection
|
|
1748
1826
|
* @type {string}
|
|
1749
|
-
* @memberof
|
|
1827
|
+
* @memberof Collection
|
|
1750
1828
|
*/
|
|
1751
|
-
'collection_image_url'
|
|
1829
|
+
'collection_image_url': string | null;
|
|
1752
1830
|
/**
|
|
1753
|
-
*
|
|
1831
|
+
* Timestamp of when the collection was created
|
|
1754
1832
|
* @type {string}
|
|
1755
|
-
* @memberof
|
|
1833
|
+
* @memberof Collection
|
|
1756
1834
|
*/
|
|
1757
|
-
'
|
|
1835
|
+
'created_at': string | null;
|
|
1758
1836
|
/**
|
|
1759
1837
|
* Description of the collection
|
|
1760
1838
|
* @type {string}
|
|
1761
|
-
* @memberof
|
|
1839
|
+
* @memberof Collection
|
|
1762
1840
|
*/
|
|
1763
|
-
'description'
|
|
1841
|
+
'description': string | null;
|
|
1764
1842
|
/**
|
|
1765
1843
|
* URL of the icon for this collection
|
|
1766
1844
|
* @type {string}
|
|
1767
|
-
* @memberof
|
|
1845
|
+
* @memberof Collection
|
|
1768
1846
|
*/
|
|
1769
|
-
'icon_url'
|
|
1847
|
+
'icon_url': string | null;
|
|
1770
1848
|
/**
|
|
1771
1849
|
* URL of the metadata for this collection
|
|
1772
1850
|
* @type {string}
|
|
1773
|
-
* @memberof
|
|
1851
|
+
* @memberof Collection
|
|
1774
1852
|
*/
|
|
1775
|
-
'metadata_api_url'
|
|
1853
|
+
'metadata_api_url': string | null;
|
|
1776
1854
|
/**
|
|
1777
1855
|
* Name of the collection
|
|
1778
1856
|
* @type {string}
|
|
1779
|
-
* @memberof
|
|
1857
|
+
* @memberof Collection
|
|
1780
1858
|
*/
|
|
1781
1859
|
'name': string;
|
|
1782
1860
|
/**
|
|
1783
|
-
*
|
|
1861
|
+
* The collection\'s project ID
|
|
1862
|
+
* @type {number}
|
|
1863
|
+
* @memberof Collection
|
|
1864
|
+
*/
|
|
1865
|
+
'project_id': number;
|
|
1866
|
+
/**
|
|
1867
|
+
* Project owner address
|
|
1868
|
+
* @type {string}
|
|
1869
|
+
* @memberof Collection
|
|
1870
|
+
*/
|
|
1871
|
+
'project_owner_address': string;
|
|
1872
|
+
/**
|
|
1873
|
+
* Timestamp of when the collection was updated
|
|
1874
|
+
* @type {string}
|
|
1875
|
+
* @memberof Collection
|
|
1876
|
+
*/
|
|
1877
|
+
'updated_at': string | null;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* Immutable X API
|
|
1882
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1883
|
+
*
|
|
1884
|
+
* The version of the OpenAPI document: 3.0
|
|
1885
|
+
* Contact: support@immutable.com
|
|
1886
|
+
*
|
|
1887
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1888
|
+
* https://openapi-generator.tech
|
|
1889
|
+
* Do not edit the class manually.
|
|
1890
|
+
*/
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @export
|
|
1894
|
+
* @interface Range
|
|
1895
|
+
*/
|
|
1896
|
+
interface Range {
|
|
1897
|
+
/**
|
|
1898
|
+
* Maximum value
|
|
1899
|
+
* @type {number}
|
|
1900
|
+
* @memberof Range
|
|
1901
|
+
*/
|
|
1902
|
+
'max'?: number;
|
|
1903
|
+
/**
|
|
1904
|
+
* Minimum value
|
|
1905
|
+
* @type {number}
|
|
1906
|
+
* @memberof Range
|
|
1907
|
+
*/
|
|
1908
|
+
'min'?: number;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* Immutable X API
|
|
1913
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1914
|
+
*
|
|
1915
|
+
* The version of the OpenAPI document: 3.0
|
|
1916
|
+
* Contact: support@immutable.com
|
|
1917
|
+
*
|
|
1918
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1919
|
+
* https://openapi-generator.tech
|
|
1920
|
+
* Do not edit the class manually.
|
|
1921
|
+
*/
|
|
1922
|
+
|
|
1923
|
+
/**
|
|
1924
|
+
*
|
|
1925
|
+
* @export
|
|
1926
|
+
* @interface CollectionFilter
|
|
1927
|
+
*/
|
|
1928
|
+
interface CollectionFilter {
|
|
1929
|
+
/**
|
|
1930
|
+
* Key of this property
|
|
1931
|
+
* @type {string}
|
|
1932
|
+
* @memberof CollectionFilter
|
|
1933
|
+
*/
|
|
1934
|
+
'key'?: string;
|
|
1935
|
+
/**
|
|
1936
|
+
*
|
|
1937
|
+
* @type {Range}
|
|
1938
|
+
* @memberof CollectionFilter
|
|
1939
|
+
*/
|
|
1940
|
+
'range'?: Range;
|
|
1941
|
+
/**
|
|
1942
|
+
* Type of this filter
|
|
1943
|
+
* @type {string}
|
|
1944
|
+
* @memberof CollectionFilter
|
|
1945
|
+
*/
|
|
1946
|
+
'type'?: string;
|
|
1947
|
+
/**
|
|
1948
|
+
* List of possible values for this property
|
|
1949
|
+
* @type {Array<string>}
|
|
1950
|
+
* @memberof CollectionFilter
|
|
1951
|
+
*/
|
|
1952
|
+
'value'?: Array<string>;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Immutable X API
|
|
1957
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1958
|
+
*
|
|
1959
|
+
* The version of the OpenAPI document: 3.0
|
|
1960
|
+
* Contact: support@immutable.com
|
|
1961
|
+
*
|
|
1962
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1963
|
+
* https://openapi-generator.tech
|
|
1964
|
+
* Do not edit the class manually.
|
|
1965
|
+
*/
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @export
|
|
1969
|
+
* @interface ContractCreateAPIRequest
|
|
1970
|
+
*/
|
|
1971
|
+
interface ContractCreateAPIRequest {
|
|
1972
|
+
/**
|
|
1973
|
+
*
|
|
1974
|
+
* @type {string}
|
|
1975
|
+
* @memberof ContractCreateAPIRequest
|
|
1976
|
+
*/
|
|
1977
|
+
'contract_address'?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
*
|
|
1980
|
+
* @type {string}
|
|
1981
|
+
* @memberof ContractCreateAPIRequest
|
|
1982
|
+
*/
|
|
1983
|
+
'data_url'?: string;
|
|
1984
|
+
/**
|
|
1985
|
+
*
|
|
1986
|
+
* @type {string}
|
|
1987
|
+
* @memberof ContractCreateAPIRequest
|
|
1988
|
+
*/
|
|
1989
|
+
'mint_url'?: string;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Immutable X API
|
|
1994
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1995
|
+
*
|
|
1996
|
+
* The version of the OpenAPI document: 3.0
|
|
1997
|
+
* Contact: support@immutable.com
|
|
1998
|
+
*
|
|
1999
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2000
|
+
* https://openapi-generator.tech
|
|
2001
|
+
* Do not edit the class manually.
|
|
2002
|
+
*/
|
|
2003
|
+
/**
|
|
2004
|
+
*
|
|
2005
|
+
* @export
|
|
2006
|
+
* @interface ContractCreateResponse
|
|
2007
|
+
*/
|
|
2008
|
+
interface ContractCreateResponse {
|
|
2009
|
+
/**
|
|
2010
|
+
*
|
|
2011
|
+
* @type {string}
|
|
2012
|
+
* @memberof ContractCreateResponse
|
|
2013
|
+
*/
|
|
2014
|
+
'webhook_hash'?: string;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* Immutable X API
|
|
2019
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2020
|
+
*
|
|
2021
|
+
* The version of the OpenAPI document: 3.0
|
|
2022
|
+
* Contact: support@immutable.com
|
|
2023
|
+
*
|
|
2024
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2025
|
+
* https://openapi-generator.tech
|
|
2026
|
+
* Do not edit the class manually.
|
|
2027
|
+
*/
|
|
2028
|
+
/**
|
|
2029
|
+
*
|
|
2030
|
+
* @export
|
|
2031
|
+
* @interface CreateCollectionRequest
|
|
2032
|
+
*/
|
|
2033
|
+
interface CreateCollectionRequest {
|
|
2034
|
+
/**
|
|
2035
|
+
* URL of the tile image for this collection
|
|
2036
|
+
* @type {string}
|
|
2037
|
+
* @memberof CreateCollectionRequest
|
|
2038
|
+
*/
|
|
2039
|
+
'collection_image_url'?: string;
|
|
2040
|
+
/**
|
|
2041
|
+
* Ethereum address of the ERC721 contract
|
|
2042
|
+
* @type {string}
|
|
2043
|
+
* @memberof CreateCollectionRequest
|
|
2044
|
+
*/
|
|
2045
|
+
'contract_address': string;
|
|
2046
|
+
/**
|
|
2047
|
+
* Description of the collection
|
|
2048
|
+
* @type {string}
|
|
2049
|
+
* @memberof CreateCollectionRequest
|
|
2050
|
+
*/
|
|
2051
|
+
'description'?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* URL of the icon for this collection
|
|
2054
|
+
* @type {string}
|
|
2055
|
+
* @memberof CreateCollectionRequest
|
|
2056
|
+
*/
|
|
2057
|
+
'icon_url'?: string;
|
|
2058
|
+
/**
|
|
2059
|
+
* URL of the metadata for this collection
|
|
2060
|
+
* @type {string}
|
|
2061
|
+
* @memberof CreateCollectionRequest
|
|
2062
|
+
*/
|
|
2063
|
+
'metadata_api_url'?: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* Name of the collection
|
|
2066
|
+
* @type {string}
|
|
2067
|
+
* @memberof CreateCollectionRequest
|
|
2068
|
+
*/
|
|
2069
|
+
'name': string;
|
|
2070
|
+
/**
|
|
2071
|
+
* Owner Public Key: The uncompressed public key of the owner of the contract
|
|
1784
2072
|
* @type {string}
|
|
1785
2073
|
* @memberof CreateCollectionRequest
|
|
1786
2074
|
*/
|
|
@@ -2074,52 +2362,144 @@ interface CreateOrderRequest {
|
|
|
2074
2362
|
* https://openapi-generator.tech
|
|
2075
2363
|
* Do not edit the class manually.
|
|
2076
2364
|
*/
|
|
2365
|
+
|
|
2077
2366
|
/**
|
|
2078
2367
|
*
|
|
2079
2368
|
* @export
|
|
2080
|
-
* @interface
|
|
2369
|
+
* @interface CreateOrderRequestV3
|
|
2081
2370
|
*/
|
|
2082
|
-
interface
|
|
2371
|
+
interface CreateOrderRequestV3 {
|
|
2083
2372
|
/**
|
|
2084
|
-
*
|
|
2085
|
-
* @type {
|
|
2086
|
-
* @memberof
|
|
2373
|
+
* Amount to buy
|
|
2374
|
+
* @type {string}
|
|
2375
|
+
* @memberof CreateOrderRequestV3
|
|
2087
2376
|
*/
|
|
2088
|
-
'
|
|
2377
|
+
'amount_buy': string;
|
|
2089
2378
|
/**
|
|
2090
|
-
*
|
|
2379
|
+
* Amount to sell
|
|
2091
2380
|
* @type {string}
|
|
2092
|
-
* @memberof
|
|
2381
|
+
* @memberof CreateOrderRequestV3
|
|
2093
2382
|
*/
|
|
2094
|
-
'
|
|
2383
|
+
'amount_sell': string;
|
|
2095
2384
|
/**
|
|
2096
|
-
*
|
|
2385
|
+
* ID of the asset to buy
|
|
2097
2386
|
* @type {string}
|
|
2098
|
-
* @memberof
|
|
2387
|
+
* @memberof CreateOrderRequestV3
|
|
2099
2388
|
*/
|
|
2100
|
-
'
|
|
2389
|
+
'asset_id_buy': string;
|
|
2101
2390
|
/**
|
|
2102
|
-
*
|
|
2391
|
+
* ID of the asset to sell
|
|
2392
|
+
* @type {string}
|
|
2393
|
+
* @memberof CreateOrderRequestV3
|
|
2394
|
+
*/
|
|
2395
|
+
'asset_id_sell': string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Expiration timestamp for this order
|
|
2103
2398
|
* @type {number}
|
|
2104
|
-
* @memberof
|
|
2399
|
+
* @memberof CreateOrderRequestV3
|
|
2105
2400
|
*/
|
|
2106
|
-
'
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2401
|
+
'expiration_timestamp': number;
|
|
2402
|
+
/**
|
|
2403
|
+
* Fee information
|
|
2404
|
+
* @type {Array<FeeEntry>}
|
|
2405
|
+
* @memberof CreateOrderRequestV3
|
|
2406
|
+
*/
|
|
2407
|
+
'fees'?: Array<FeeEntry>;
|
|
2408
|
+
/**
|
|
2409
|
+
* [DEPRECATED] Whether to include fees in order
|
|
2410
|
+
* @type {boolean}
|
|
2411
|
+
* @memberof CreateOrderRequestV3
|
|
2412
|
+
*/
|
|
2413
|
+
'include_fees'?: boolean;
|
|
2414
|
+
/**
|
|
2415
|
+
* Nonce of the order
|
|
2416
|
+
* @type {number}
|
|
2417
|
+
* @memberof CreateOrderRequestV3
|
|
2418
|
+
*/
|
|
2419
|
+
'nonce': number;
|
|
2420
|
+
/**
|
|
2421
|
+
* Public stark key of the user creating order
|
|
2422
|
+
* @type {string}
|
|
2423
|
+
* @memberof CreateOrderRequestV3
|
|
2424
|
+
*/
|
|
2425
|
+
'stark_key': string;
|
|
2426
|
+
/**
|
|
2427
|
+
* Payload signature
|
|
2428
|
+
* @type {string}
|
|
2429
|
+
* @memberof CreateOrderRequestV3
|
|
2430
|
+
*/
|
|
2431
|
+
'stark_signature': string;
|
|
2432
|
+
/**
|
|
2433
|
+
* ID of the vault into which the bought asset will be placed
|
|
2434
|
+
* @type {number}
|
|
2435
|
+
* @memberof CreateOrderRequestV3
|
|
2436
|
+
*/
|
|
2437
|
+
'vault_id_buy': number;
|
|
2438
|
+
/**
|
|
2439
|
+
* ID of the vault to sell from
|
|
2440
|
+
* @type {number}
|
|
2441
|
+
* @memberof CreateOrderRequestV3
|
|
2442
|
+
*/
|
|
2443
|
+
'vault_id_sell': number;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Immutable X API
|
|
2448
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2449
|
+
*
|
|
2450
|
+
* The version of the OpenAPI document: 3.0
|
|
2451
|
+
* Contact: support@immutable.com
|
|
2452
|
+
*
|
|
2453
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2454
|
+
* https://openapi-generator.tech
|
|
2455
|
+
* Do not edit the class manually.
|
|
2456
|
+
*/
|
|
2457
|
+
/**
|
|
2458
|
+
*
|
|
2459
|
+
* @export
|
|
2460
|
+
* @interface CreateOrderResponse
|
|
2461
|
+
*/
|
|
2462
|
+
interface CreateOrderResponse {
|
|
2463
|
+
/**
|
|
2464
|
+
* ID of the created order
|
|
2465
|
+
* @type {number}
|
|
2466
|
+
* @memberof CreateOrderResponse
|
|
2467
|
+
*/
|
|
2468
|
+
'order_id': number;
|
|
2469
|
+
/**
|
|
2470
|
+
* Request ID as a reference for an asynchronous order creation request
|
|
2471
|
+
* @type {string}
|
|
2472
|
+
* @memberof CreateOrderResponse
|
|
2473
|
+
*/
|
|
2474
|
+
'request_id'?: string;
|
|
2475
|
+
/**
|
|
2476
|
+
* Status of the created order
|
|
2477
|
+
* @type {string}
|
|
2478
|
+
* @memberof CreateOrderResponse
|
|
2479
|
+
*/
|
|
2480
|
+
'status': string;
|
|
2481
|
+
/**
|
|
2482
|
+
* Timestamp of the created order
|
|
2483
|
+
* @type {number}
|
|
2484
|
+
* @memberof CreateOrderResponse
|
|
2485
|
+
*/
|
|
2486
|
+
'time': number;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* Immutable X API
|
|
2491
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2492
|
+
*
|
|
2493
|
+
* The version of the OpenAPI document: 3.0
|
|
2494
|
+
* Contact: support@immutable.com
|
|
2495
|
+
*
|
|
2496
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2497
|
+
* https://openapi-generator.tech
|
|
2498
|
+
* Do not edit the class manually.
|
|
2499
|
+
*/
|
|
2500
|
+
/**
|
|
2501
|
+
*
|
|
2502
|
+
* @export
|
|
2123
2503
|
* @interface CreateProjectRequest
|
|
2124
2504
|
*/
|
|
2125
2505
|
interface CreateProjectRequest {
|
|
@@ -2205,6 +2585,25 @@ interface FeeInfo {
|
|
|
2205
2585
|
'source_vault_id': number;
|
|
2206
2586
|
}
|
|
2207
2587
|
|
|
2588
|
+
/**
|
|
2589
|
+
* Immutable X API
|
|
2590
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2591
|
+
*
|
|
2592
|
+
* The version of the OpenAPI document: 3.0
|
|
2593
|
+
* Contact: support@immutable.com
|
|
2594
|
+
*
|
|
2595
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2596
|
+
* https://openapi-generator.tech
|
|
2597
|
+
* Do not edit the class manually.
|
|
2598
|
+
*/
|
|
2599
|
+
|
|
2600
|
+
/**
|
|
2601
|
+
* @type CreateTradeRequestV1FeeInfo
|
|
2602
|
+
* Fee details
|
|
2603
|
+
* @export
|
|
2604
|
+
*/
|
|
2605
|
+
declare type CreateTradeRequestV1FeeInfo = FeeInfo;
|
|
2606
|
+
|
|
2208
2607
|
/**
|
|
2209
2608
|
* Immutable X API
|
|
2210
2609
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -2255,10 +2654,10 @@ interface CreateTradeRequestV1 {
|
|
|
2255
2654
|
'expiration_timestamp': number;
|
|
2256
2655
|
/**
|
|
2257
2656
|
*
|
|
2258
|
-
* @type {
|
|
2657
|
+
* @type {CreateTradeRequestV1FeeInfo}
|
|
2259
2658
|
* @memberof CreateTradeRequestV1
|
|
2260
2659
|
*/
|
|
2261
|
-
'fee_info'?:
|
|
2660
|
+
'fee_info'?: CreateTradeRequestV1FeeInfo;
|
|
2262
2661
|
/**
|
|
2263
2662
|
* Fee information
|
|
2264
2663
|
* @type {Array<FeeEntry>}
|
|
@@ -2722,106 +3121,6 @@ interface CurrencyWithLimits {
|
|
|
2722
3121
|
'symbol'?: string;
|
|
2723
3122
|
}
|
|
2724
3123
|
|
|
2725
|
-
/**
|
|
2726
|
-
* Immutable X API
|
|
2727
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2728
|
-
*
|
|
2729
|
-
* The version of the OpenAPI document: 3.0
|
|
2730
|
-
* Contact: support@immutable.com
|
|
2731
|
-
*
|
|
2732
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2733
|
-
* https://openapi-generator.tech
|
|
2734
|
-
* Do not edit the class manually.
|
|
2735
|
-
*/
|
|
2736
|
-
|
|
2737
|
-
/**
|
|
2738
|
-
*
|
|
2739
|
-
* @export
|
|
2740
|
-
* @interface TokenData
|
|
2741
|
-
*/
|
|
2742
|
-
interface TokenData {
|
|
2743
|
-
/**
|
|
2744
|
-
* Number of decimals supported by this asset
|
|
2745
|
-
* @type {number}
|
|
2746
|
-
* @memberof TokenData
|
|
2747
|
-
*/
|
|
2748
|
-
'decimals'?: number;
|
|
2749
|
-
/**
|
|
2750
|
-
* [DEPRECATED] Internal Immutable X Token ID
|
|
2751
|
-
* @type {string}
|
|
2752
|
-
* @memberof TokenData
|
|
2753
|
-
*/
|
|
2754
|
-
'id'?: string;
|
|
2755
|
-
/**
|
|
2756
|
-
*
|
|
2757
|
-
* @type {AssetProperties}
|
|
2758
|
-
* @memberof TokenData
|
|
2759
|
-
*/
|
|
2760
|
-
'properties'?: AssetProperties;
|
|
2761
|
-
/**
|
|
2762
|
-
* Quantity of this asset - inclusive of fees for buy order in v1 API and exclusive of fees in v3 API
|
|
2763
|
-
* @type {string}
|
|
2764
|
-
* @memberof TokenData
|
|
2765
|
-
*/
|
|
2766
|
-
'quantity': string;
|
|
2767
|
-
/**
|
|
2768
|
-
* Quantity of this asset with the sum of all fees applied to the asset
|
|
2769
|
-
* @type {string}
|
|
2770
|
-
* @memberof TokenData
|
|
2771
|
-
*/
|
|
2772
|
-
'quantity_with_fees': string;
|
|
2773
|
-
/**
|
|
2774
|
-
* Symbol of a token
|
|
2775
|
-
* @type {string}
|
|
2776
|
-
* @memberof TokenData
|
|
2777
|
-
*/
|
|
2778
|
-
'symbol'?: string;
|
|
2779
|
-
/**
|
|
2780
|
-
* Address of ERC721/ERC20 contract
|
|
2781
|
-
* @type {string}
|
|
2782
|
-
* @memberof TokenData
|
|
2783
|
-
*/
|
|
2784
|
-
'token_address'?: string;
|
|
2785
|
-
/**
|
|
2786
|
-
* ERC721 Token ID
|
|
2787
|
-
* @type {string}
|
|
2788
|
-
* @memberof TokenData
|
|
2789
|
-
*/
|
|
2790
|
-
'token_id'?: string;
|
|
2791
|
-
}
|
|
2792
|
-
|
|
2793
|
-
/**
|
|
2794
|
-
* Immutable X API
|
|
2795
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2796
|
-
*
|
|
2797
|
-
* The version of the OpenAPI document: 3.0
|
|
2798
|
-
* Contact: support@immutable.com
|
|
2799
|
-
*
|
|
2800
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2801
|
-
* https://openapi-generator.tech
|
|
2802
|
-
* Do not edit the class manually.
|
|
2803
|
-
*/
|
|
2804
|
-
|
|
2805
|
-
/**
|
|
2806
|
-
*
|
|
2807
|
-
* @export
|
|
2808
|
-
* @interface Token
|
|
2809
|
-
*/
|
|
2810
|
-
interface Token {
|
|
2811
|
-
/**
|
|
2812
|
-
*
|
|
2813
|
-
* @type {TokenData}
|
|
2814
|
-
* @memberof Token
|
|
2815
|
-
*/
|
|
2816
|
-
'data': TokenData;
|
|
2817
|
-
/**
|
|
2818
|
-
* Type of this asset (ETH/ERC20/ERC721)
|
|
2819
|
-
* @type {string}
|
|
2820
|
-
* @memberof Token
|
|
2821
|
-
*/
|
|
2822
|
-
'type': string;
|
|
2823
|
-
}
|
|
2824
|
-
|
|
2825
3124
|
/**
|
|
2826
3125
|
* Immutable X API
|
|
2827
3126
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -3070,21 +3369,51 @@ interface ExchangeCreateExchangeAndURLResponse {
|
|
|
3070
3369
|
/**
|
|
3071
3370
|
*
|
|
3072
3371
|
* @export
|
|
3073
|
-
* @interface
|
|
3372
|
+
* @interface MetadataRefreshErrors
|
|
3074
3373
|
*/
|
|
3075
|
-
interface
|
|
3374
|
+
interface MetadataRefreshErrors {
|
|
3076
3375
|
/**
|
|
3077
|
-
*
|
|
3376
|
+
* Metadata API response for the token
|
|
3078
3377
|
* @type {string}
|
|
3079
|
-
* @memberof
|
|
3378
|
+
* @memberof MetadataRefreshErrors
|
|
3080
3379
|
*/
|
|
3081
|
-
'
|
|
3380
|
+
'client_response_body': string | null;
|
|
3082
3381
|
/**
|
|
3083
|
-
*
|
|
3084
|
-
* @type {
|
|
3085
|
-
* @memberof
|
|
3382
|
+
* Metadata API response code for the token
|
|
3383
|
+
* @type {string}
|
|
3384
|
+
* @memberof MetadataRefreshErrors
|
|
3086
3385
|
*/
|
|
3087
|
-
'
|
|
3386
|
+
'client_response_status_code': string | null;
|
|
3387
|
+
/**
|
|
3388
|
+
* Requested metadata url for the token
|
|
3389
|
+
* @type {string}
|
|
3390
|
+
* @memberof MetadataRefreshErrors
|
|
3391
|
+
*/
|
|
3392
|
+
'client_token_metadata_url': string;
|
|
3393
|
+
/**
|
|
3394
|
+
* The collection contract address
|
|
3395
|
+
* @type {string}
|
|
3396
|
+
* @memberof MetadataRefreshErrors
|
|
3397
|
+
*/
|
|
3398
|
+
'collection_address': string;
|
|
3399
|
+
/**
|
|
3400
|
+
* When the error was created
|
|
3401
|
+
* @type {string}
|
|
3402
|
+
* @memberof MetadataRefreshErrors
|
|
3403
|
+
*/
|
|
3404
|
+
'created_at': string;
|
|
3405
|
+
/**
|
|
3406
|
+
* Metadata refresh error code
|
|
3407
|
+
* @type {string}
|
|
3408
|
+
* @memberof MetadataRefreshErrors
|
|
3409
|
+
*/
|
|
3410
|
+
'error_code': string;
|
|
3411
|
+
/**
|
|
3412
|
+
* The token ID
|
|
3413
|
+
* @type {string}
|
|
3414
|
+
* @memberof MetadataRefreshErrors
|
|
3415
|
+
*/
|
|
3416
|
+
'token_id': string;
|
|
3088
3417
|
}
|
|
3089
3418
|
|
|
3090
3419
|
/**
|
|
@@ -3102,105 +3431,7 @@ interface FeeData {
|
|
|
3102
3431
|
/**
|
|
3103
3432
|
*
|
|
3104
3433
|
* @export
|
|
3105
|
-
* @interface
|
|
3106
|
-
*/
|
|
3107
|
-
interface FeeToken {
|
|
3108
|
-
/**
|
|
3109
|
-
*
|
|
3110
|
-
* @type {FeeData}
|
|
3111
|
-
* @memberof FeeToken
|
|
3112
|
-
*/
|
|
3113
|
-
'data'?: FeeData;
|
|
3114
|
-
/**
|
|
3115
|
-
* Fee token type. One of ETH/ERC20
|
|
3116
|
-
* @type {string}
|
|
3117
|
-
* @memberof FeeToken
|
|
3118
|
-
*/
|
|
3119
|
-
'type'?: FeeTokenTypeEnum;
|
|
3120
|
-
}
|
|
3121
|
-
declare const FeeTokenTypeEnum: {
|
|
3122
|
-
readonly Eth: "ETH";
|
|
3123
|
-
readonly Erc20: "ERC20";
|
|
3124
|
-
};
|
|
3125
|
-
declare type FeeTokenTypeEnum = typeof FeeTokenTypeEnum[keyof typeof FeeTokenTypeEnum];
|
|
3126
|
-
|
|
3127
|
-
/**
|
|
3128
|
-
* Immutable X API
|
|
3129
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3130
|
-
*
|
|
3131
|
-
* The version of the OpenAPI document: 3.0
|
|
3132
|
-
* Contact: support@immutable.com
|
|
3133
|
-
*
|
|
3134
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3135
|
-
* https://openapi-generator.tech
|
|
3136
|
-
* Do not edit the class manually.
|
|
3137
|
-
*/
|
|
3138
|
-
/**
|
|
3139
|
-
*
|
|
3140
|
-
* @export
|
|
3141
|
-
* @interface MetadataRefreshErrors
|
|
3142
|
-
*/
|
|
3143
|
-
interface MetadataRefreshErrors {
|
|
3144
|
-
/**
|
|
3145
|
-
* Metadata API response for the token
|
|
3146
|
-
* @type {string}
|
|
3147
|
-
* @memberof MetadataRefreshErrors
|
|
3148
|
-
*/
|
|
3149
|
-
'client_response_body': string | null;
|
|
3150
|
-
/**
|
|
3151
|
-
* Metadata API response code for the token
|
|
3152
|
-
* @type {string}
|
|
3153
|
-
* @memberof MetadataRefreshErrors
|
|
3154
|
-
*/
|
|
3155
|
-
'client_response_status_code': string | null;
|
|
3156
|
-
/**
|
|
3157
|
-
* Requested metadata url for the token
|
|
3158
|
-
* @type {string}
|
|
3159
|
-
* @memberof MetadataRefreshErrors
|
|
3160
|
-
*/
|
|
3161
|
-
'client_token_metadata_url': string;
|
|
3162
|
-
/**
|
|
3163
|
-
* The collection contract address
|
|
3164
|
-
* @type {string}
|
|
3165
|
-
* @memberof MetadataRefreshErrors
|
|
3166
|
-
*/
|
|
3167
|
-
'collection_address': string;
|
|
3168
|
-
/**
|
|
3169
|
-
* When the error was created
|
|
3170
|
-
* @type {string}
|
|
3171
|
-
* @memberof MetadataRefreshErrors
|
|
3172
|
-
*/
|
|
3173
|
-
'created_at': string;
|
|
3174
|
-
/**
|
|
3175
|
-
* Metadata refresh error code
|
|
3176
|
-
* @type {string}
|
|
3177
|
-
* @memberof MetadataRefreshErrors
|
|
3178
|
-
*/
|
|
3179
|
-
'error_code': string;
|
|
3180
|
-
/**
|
|
3181
|
-
* The token ID
|
|
3182
|
-
* @type {string}
|
|
3183
|
-
* @memberof MetadataRefreshErrors
|
|
3184
|
-
*/
|
|
3185
|
-
'token_id': string;
|
|
3186
|
-
}
|
|
3187
|
-
|
|
3188
|
-
/**
|
|
3189
|
-
* Immutable X API
|
|
3190
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3191
|
-
*
|
|
3192
|
-
* The version of the OpenAPI document: 3.0
|
|
3193
|
-
* Contact: support@immutable.com
|
|
3194
|
-
*
|
|
3195
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3196
|
-
* https://openapi-generator.tech
|
|
3197
|
-
* Do not edit the class manually.
|
|
3198
|
-
*/
|
|
3199
|
-
|
|
3200
|
-
/**
|
|
3201
|
-
*
|
|
3202
|
-
* @export
|
|
3203
|
-
* @interface GetMetadataRefreshErrorsResponse
|
|
3434
|
+
* @interface GetMetadataRefreshErrorsResponse
|
|
3204
3435
|
*/
|
|
3205
3436
|
interface GetMetadataRefreshErrorsResponse {
|
|
3206
3437
|
/**
|
|
@@ -3712,6 +3943,44 @@ interface GetSignableDepositResponse {
|
|
|
3712
3943
|
'vault_id': number;
|
|
3713
3944
|
}
|
|
3714
3945
|
|
|
3946
|
+
/**
|
|
3947
|
+
* Immutable X API
|
|
3948
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3949
|
+
*
|
|
3950
|
+
* The version of the OpenAPI document: 3.0
|
|
3951
|
+
* Contact: support@immutable.com
|
|
3952
|
+
*
|
|
3953
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3954
|
+
* https://openapi-generator.tech
|
|
3955
|
+
* Do not edit the class manually.
|
|
3956
|
+
*/
|
|
3957
|
+
|
|
3958
|
+
/**
|
|
3959
|
+
* @type GetSignableOrderRequestV3TokenBuy
|
|
3960
|
+
* Token to buy
|
|
3961
|
+
* @export
|
|
3962
|
+
*/
|
|
3963
|
+
declare type GetSignableOrderRequestV3TokenBuy = SignableToken;
|
|
3964
|
+
|
|
3965
|
+
/**
|
|
3966
|
+
* Immutable X API
|
|
3967
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3968
|
+
*
|
|
3969
|
+
* The version of the OpenAPI document: 3.0
|
|
3970
|
+
* Contact: support@immutable.com
|
|
3971
|
+
*
|
|
3972
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3973
|
+
* https://openapi-generator.tech
|
|
3974
|
+
* Do not edit the class manually.
|
|
3975
|
+
*/
|
|
3976
|
+
|
|
3977
|
+
/**
|
|
3978
|
+
* @type GetSignableOrderRequestV3TokenSell
|
|
3979
|
+
* Token to sell
|
|
3980
|
+
* @export
|
|
3981
|
+
*/
|
|
3982
|
+
declare type GetSignableOrderRequestV3TokenSell = SignableToken;
|
|
3983
|
+
|
|
3715
3984
|
/**
|
|
3716
3985
|
* Immutable X API
|
|
3717
3986
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -3727,53 +3996,78 @@ interface GetSignableDepositResponse {
|
|
|
3727
3996
|
/**
|
|
3728
3997
|
*
|
|
3729
3998
|
* @export
|
|
3730
|
-
* @interface
|
|
3999
|
+
* @interface GetSignableOrderRequestV3
|
|
3731
4000
|
*/
|
|
3732
|
-
interface
|
|
4001
|
+
interface GetSignableOrderRequestV3 {
|
|
3733
4002
|
/**
|
|
3734
4003
|
* Fee-exclusive amount to buy the asset
|
|
3735
4004
|
* @type {string}
|
|
3736
|
-
* @memberof
|
|
4005
|
+
* @memberof GetSignableOrderRequestV3
|
|
3737
4006
|
*/
|
|
3738
4007
|
'amount_buy': string;
|
|
3739
4008
|
/**
|
|
3740
4009
|
* Amount to sell (quantity)
|
|
3741
4010
|
* @type {string}
|
|
3742
|
-
* @memberof
|
|
4011
|
+
* @memberof GetSignableOrderRequestV3
|
|
3743
4012
|
*/
|
|
3744
4013
|
'amount_sell': string;
|
|
3745
4014
|
/**
|
|
3746
4015
|
* ExpirationTimestamp in Unix time. Note: will be rounded down to the nearest hour
|
|
3747
4016
|
* @type {number}
|
|
3748
|
-
* @memberof
|
|
4017
|
+
* @memberof GetSignableOrderRequestV3
|
|
3749
4018
|
*/
|
|
3750
4019
|
'expiration_timestamp'?: number;
|
|
3751
4020
|
/**
|
|
3752
4021
|
* Inclusion of either maker or taker fees
|
|
3753
4022
|
* @type {Array<FeeEntry>}
|
|
3754
|
-
* @memberof
|
|
4023
|
+
* @memberof GetSignableOrderRequestV3
|
|
3755
4024
|
*/
|
|
3756
4025
|
'fees'?: Array<FeeEntry>;
|
|
4026
|
+
/**
|
|
4027
|
+
* SplitFees dictates whether fees will be split between maker & taker, set split_fees to true when submitting signing to v3 endpoints and vice versa for v1
|
|
4028
|
+
* @type {boolean}
|
|
4029
|
+
* @memberof GetSignableOrderRequestV3
|
|
4030
|
+
*/
|
|
4031
|
+
'split_fees'?: boolean;
|
|
3757
4032
|
/**
|
|
3758
4033
|
*
|
|
3759
|
-
* @type {
|
|
3760
|
-
* @memberof
|
|
4034
|
+
* @type {GetSignableOrderRequestV3TokenBuy}
|
|
4035
|
+
* @memberof GetSignableOrderRequestV3
|
|
3761
4036
|
*/
|
|
3762
|
-
'token_buy':
|
|
4037
|
+
'token_buy': GetSignableOrderRequestV3TokenBuy;
|
|
3763
4038
|
/**
|
|
3764
4039
|
*
|
|
3765
|
-
* @type {
|
|
3766
|
-
* @memberof
|
|
4040
|
+
* @type {GetSignableOrderRequestV3TokenSell}
|
|
4041
|
+
* @memberof GetSignableOrderRequestV3
|
|
3767
4042
|
*/
|
|
3768
|
-
'token_sell':
|
|
4043
|
+
'token_sell': GetSignableOrderRequestV3TokenSell;
|
|
3769
4044
|
/**
|
|
3770
4045
|
* Ethereum address of the submitting user
|
|
3771
4046
|
* @type {string}
|
|
3772
|
-
* @memberof
|
|
4047
|
+
* @memberof GetSignableOrderRequestV3
|
|
3773
4048
|
*/
|
|
3774
4049
|
'user': string;
|
|
3775
4050
|
}
|
|
3776
4051
|
|
|
4052
|
+
/**
|
|
4053
|
+
* Immutable X API
|
|
4054
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4055
|
+
*
|
|
4056
|
+
* The version of the OpenAPI document: 3.0
|
|
4057
|
+
* Contact: support@immutable.com
|
|
4058
|
+
*
|
|
4059
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4060
|
+
* https://openapi-generator.tech
|
|
4061
|
+
* Do not edit the class manually.
|
|
4062
|
+
*/
|
|
4063
|
+
|
|
4064
|
+
/**
|
|
4065
|
+
* @type GetSignableOrderResponseFeeInfo
|
|
4066
|
+
* Fee information
|
|
4067
|
+
* @export
|
|
4068
|
+
*/
|
|
4069
|
+
declare type GetSignableOrderResponseFeeInfo = FeeInfo;
|
|
4070
|
+
|
|
3777
4071
|
/**
|
|
3778
4072
|
* Immutable X API
|
|
3779
4073
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -3824,10 +4118,10 @@ interface GetSignableOrderResponse {
|
|
|
3824
4118
|
'expiration_timestamp': number;
|
|
3825
4119
|
/**
|
|
3826
4120
|
*
|
|
3827
|
-
* @type {
|
|
4121
|
+
* @type {GetSignableOrderResponseFeeInfo}
|
|
3828
4122
|
* @memberof GetSignableOrderResponse
|
|
3829
4123
|
*/
|
|
3830
|
-
'fee_info'?:
|
|
4124
|
+
'fee_info'?: GetSignableOrderResponseFeeInfo;
|
|
3831
4125
|
/**
|
|
3832
4126
|
* Nonce of the order
|
|
3833
4127
|
* @type {number}
|
|
@@ -4003,6 +4297,25 @@ interface GetSignableTradeRequest {
|
|
|
4003
4297
|
'user': string;
|
|
4004
4298
|
}
|
|
4005
4299
|
|
|
4300
|
+
/**
|
|
4301
|
+
* Immutable X API
|
|
4302
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4303
|
+
*
|
|
4304
|
+
* The version of the OpenAPI document: 3.0
|
|
4305
|
+
* Contact: support@immutable.com
|
|
4306
|
+
*
|
|
4307
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4308
|
+
* https://openapi-generator.tech
|
|
4309
|
+
* Do not edit the class manually.
|
|
4310
|
+
*/
|
|
4311
|
+
|
|
4312
|
+
/**
|
|
4313
|
+
* @type GetSignableTradeResponseFeeInfo
|
|
4314
|
+
* Fee information
|
|
4315
|
+
* @export
|
|
4316
|
+
*/
|
|
4317
|
+
declare type GetSignableTradeResponseFeeInfo = FeeInfo;
|
|
4318
|
+
|
|
4006
4319
|
/**
|
|
4007
4320
|
* Immutable X API
|
|
4008
4321
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -4053,10 +4366,10 @@ interface GetSignableTradeResponse {
|
|
|
4053
4366
|
'expiration_timestamp': number;
|
|
4054
4367
|
/**
|
|
4055
4368
|
*
|
|
4056
|
-
* @type {
|
|
4369
|
+
* @type {GetSignableTradeResponseFeeInfo}
|
|
4057
4370
|
* @memberof GetSignableTradeResponse
|
|
4058
4371
|
*/
|
|
4059
|
-
'fee_info'?:
|
|
4372
|
+
'fee_info'?: GetSignableTradeResponseFeeInfo;
|
|
4060
4373
|
/**
|
|
4061
4374
|
* Nonce of the order
|
|
4062
4375
|
* @type {number}
|
|
@@ -4821,36 +5134,30 @@ interface ListMintsResponse {
|
|
|
4821
5134
|
*/
|
|
4822
5135
|
|
|
4823
5136
|
/**
|
|
5137
|
+
* @type OrderBuy
|
|
5138
|
+
* Details of the asset being bought
|
|
5139
|
+
* @export
|
|
5140
|
+
*/
|
|
5141
|
+
declare type OrderBuy = Token;
|
|
5142
|
+
|
|
5143
|
+
/**
|
|
5144
|
+
* Immutable X API
|
|
5145
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5146
|
+
*
|
|
5147
|
+
* The version of the OpenAPI document: 3.0
|
|
5148
|
+
* Contact: support@immutable.com
|
|
4824
5149
|
*
|
|
5150
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5151
|
+
* https://openapi-generator.tech
|
|
5152
|
+
* Do not edit the class manually.
|
|
5153
|
+
*/
|
|
5154
|
+
|
|
5155
|
+
/**
|
|
5156
|
+
* @type OrderSell
|
|
5157
|
+
* Details of the asset being sold
|
|
4825
5158
|
* @export
|
|
4826
|
-
* @interface OrderFeeInfo
|
|
4827
5159
|
*/
|
|
4828
|
-
|
|
4829
|
-
/**
|
|
4830
|
-
* Address of the fee recipient
|
|
4831
|
-
* @type {string}
|
|
4832
|
-
* @memberof OrderFeeInfo
|
|
4833
|
-
*/
|
|
4834
|
-
'address'?: string;
|
|
4835
|
-
/**
|
|
4836
|
-
* Fee amount
|
|
4837
|
-
* @type {string}
|
|
4838
|
-
* @memberof OrderFeeInfo
|
|
4839
|
-
*/
|
|
4840
|
-
'amount'?: string;
|
|
4841
|
-
/**
|
|
4842
|
-
*
|
|
4843
|
-
* @type {FeeToken}
|
|
4844
|
-
* @memberof OrderFeeInfo
|
|
4845
|
-
*/
|
|
4846
|
-
'token'?: FeeToken;
|
|
4847
|
-
/**
|
|
4848
|
-
* Fee type
|
|
4849
|
-
* @type {string}
|
|
4850
|
-
* @memberof OrderFeeInfo
|
|
4851
|
-
*/
|
|
4852
|
-
'type'?: string;
|
|
4853
|
-
}
|
|
5160
|
+
declare type OrderSell = Token;
|
|
4854
5161
|
|
|
4855
5162
|
/**
|
|
4856
5163
|
* Immutable X API
|
|
@@ -4878,10 +5185,10 @@ interface Order {
|
|
|
4878
5185
|
'amount_sold': string | null;
|
|
4879
5186
|
/**
|
|
4880
5187
|
*
|
|
4881
|
-
* @type {
|
|
5188
|
+
* @type {OrderBuy}
|
|
4882
5189
|
* @memberof Order
|
|
4883
5190
|
*/
|
|
4884
|
-
'buy':
|
|
5191
|
+
'buy': OrderBuy;
|
|
4885
5192
|
/**
|
|
4886
5193
|
* Expiration timestamp of this order
|
|
4887
5194
|
* @type {string}
|
|
@@ -4902,10 +5209,10 @@ interface Order {
|
|
|
4902
5209
|
'order_id': number;
|
|
4903
5210
|
/**
|
|
4904
5211
|
*
|
|
4905
|
-
* @type {
|
|
5212
|
+
* @type {OrderSell}
|
|
4906
5213
|
* @memberof Order
|
|
4907
5214
|
*/
|
|
4908
|
-
'sell':
|
|
5215
|
+
'sell': OrderSell;
|
|
4909
5216
|
/**
|
|
4910
5217
|
* Status of the order
|
|
4911
5218
|
* @type {string}
|
|
@@ -4981,48 +5288,316 @@ interface ListOrdersResponse {
|
|
|
4981
5288
|
* https://openapi-generator.tech
|
|
4982
5289
|
* Do not edit the class manually.
|
|
4983
5290
|
*/
|
|
5291
|
+
|
|
5292
|
+
/**
|
|
5293
|
+
* @type OrderV3Buy
|
|
5294
|
+
* Details of the asset being bought
|
|
5295
|
+
* @export
|
|
5296
|
+
*/
|
|
5297
|
+
declare type OrderV3Buy = Token;
|
|
5298
|
+
|
|
5299
|
+
/**
|
|
5300
|
+
* Immutable X API
|
|
5301
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5302
|
+
*
|
|
5303
|
+
* The version of the OpenAPI document: 3.0
|
|
5304
|
+
* Contact: support@immutable.com
|
|
5305
|
+
*
|
|
5306
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5307
|
+
* https://openapi-generator.tech
|
|
5308
|
+
* Do not edit the class manually.
|
|
5309
|
+
*/
|
|
5310
|
+
|
|
4984
5311
|
/**
|
|
4985
5312
|
*
|
|
4986
5313
|
* @export
|
|
4987
|
-
* @interface
|
|
5314
|
+
* @interface OrdersMakerTakerFee
|
|
4988
5315
|
*/
|
|
4989
|
-
interface
|
|
5316
|
+
interface OrdersMakerTakerFee {
|
|
4990
5317
|
/**
|
|
4991
|
-
* Number of
|
|
4992
|
-
* @type {
|
|
4993
|
-
* @memberof
|
|
5318
|
+
* Number of Decimals supported the fee token
|
|
5319
|
+
* @type {number}
|
|
5320
|
+
* @memberof OrdersMakerTakerFee
|
|
4994
5321
|
*/
|
|
4995
|
-
'decimals'
|
|
5322
|
+
'decimals'?: number;
|
|
4996
5323
|
/**
|
|
4997
|
-
*
|
|
4998
|
-
* @type {
|
|
4999
|
-
* @memberof
|
|
5324
|
+
* Fees
|
|
5325
|
+
* @type {Array<OrderFeeInfo>}
|
|
5326
|
+
* @memberof OrdersMakerTakerFee
|
|
5000
5327
|
*/
|
|
5001
|
-
'
|
|
5328
|
+
'fees'?: Array<OrderFeeInfo>;
|
|
5002
5329
|
/**
|
|
5003
|
-
*
|
|
5330
|
+
* Quantity of this asset with the sum of all fees applied to the asset
|
|
5004
5331
|
* @type {string}
|
|
5005
|
-
* @memberof
|
|
5332
|
+
* @memberof OrdersMakerTakerFee
|
|
5006
5333
|
*/
|
|
5007
|
-
'
|
|
5334
|
+
'quantity_with_fees': string;
|
|
5008
5335
|
/**
|
|
5009
|
-
*
|
|
5336
|
+
* Symbol of the fee token
|
|
5010
5337
|
* @type {string}
|
|
5011
|
-
* @memberof
|
|
5338
|
+
* @memberof OrdersMakerTakerFee
|
|
5012
5339
|
*/
|
|
5013
|
-
'
|
|
5340
|
+
'symbol'?: string;
|
|
5014
5341
|
/**
|
|
5015
|
-
*
|
|
5342
|
+
* Address of the ERC20 contract for the fee token
|
|
5016
5343
|
* @type {string}
|
|
5017
|
-
* @memberof
|
|
5344
|
+
* @memberof OrdersMakerTakerFee
|
|
5018
5345
|
*/
|
|
5019
|
-
'
|
|
5346
|
+
'token_address'?: string;
|
|
5020
5347
|
/**
|
|
5021
|
-
*
|
|
5348
|
+
* Type of the fee token (ETH/ERC20)
|
|
5022
5349
|
* @type {string}
|
|
5023
|
-
* @memberof
|
|
5350
|
+
* @memberof OrdersMakerTakerFee
|
|
5024
5351
|
*/
|
|
5025
|
-
'
|
|
5352
|
+
'token_type'?: string;
|
|
5353
|
+
}
|
|
5354
|
+
|
|
5355
|
+
/**
|
|
5356
|
+
* Immutable X API
|
|
5357
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5358
|
+
*
|
|
5359
|
+
* The version of the OpenAPI document: 3.0
|
|
5360
|
+
* Contact: support@immutable.com
|
|
5361
|
+
*
|
|
5362
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5363
|
+
* https://openapi-generator.tech
|
|
5364
|
+
* Do not edit the class manually.
|
|
5365
|
+
*/
|
|
5366
|
+
|
|
5367
|
+
/**
|
|
5368
|
+
* @type OrderV3MakerFees
|
|
5369
|
+
* MakerFees is the information about the fees that needs to be paid by the maker (liquidity)
|
|
5370
|
+
* @export
|
|
5371
|
+
*/
|
|
5372
|
+
declare type OrderV3MakerFees = OrdersMakerTakerFee;
|
|
5373
|
+
|
|
5374
|
+
/**
|
|
5375
|
+
* Immutable X API
|
|
5376
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5377
|
+
*
|
|
5378
|
+
* The version of the OpenAPI document: 3.0
|
|
5379
|
+
* Contact: support@immutable.com
|
|
5380
|
+
*
|
|
5381
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5382
|
+
* https://openapi-generator.tech
|
|
5383
|
+
* Do not edit the class manually.
|
|
5384
|
+
*/
|
|
5385
|
+
|
|
5386
|
+
/**
|
|
5387
|
+
* @type OrderV3Sell
|
|
5388
|
+
* Details of the asset being sold
|
|
5389
|
+
* @export
|
|
5390
|
+
*/
|
|
5391
|
+
declare type OrderV3Sell = Token;
|
|
5392
|
+
|
|
5393
|
+
/**
|
|
5394
|
+
* Immutable X API
|
|
5395
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5396
|
+
*
|
|
5397
|
+
* The version of the OpenAPI document: 3.0
|
|
5398
|
+
* Contact: support@immutable.com
|
|
5399
|
+
*
|
|
5400
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5401
|
+
* https://openapi-generator.tech
|
|
5402
|
+
* Do not edit the class manually.
|
|
5403
|
+
*/
|
|
5404
|
+
|
|
5405
|
+
/**
|
|
5406
|
+
* @type OrderV3TakerFees
|
|
5407
|
+
* TakerFees is the information about the fees that needs to be paid by the taker (liquidity)
|
|
5408
|
+
* @export
|
|
5409
|
+
*/
|
|
5410
|
+
declare type OrderV3TakerFees = OrdersMakerTakerFee;
|
|
5411
|
+
|
|
5412
|
+
/**
|
|
5413
|
+
* Immutable X API
|
|
5414
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5415
|
+
*
|
|
5416
|
+
* The version of the OpenAPI document: 3.0
|
|
5417
|
+
* Contact: support@immutable.com
|
|
5418
|
+
*
|
|
5419
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5420
|
+
* https://openapi-generator.tech
|
|
5421
|
+
* Do not edit the class manually.
|
|
5422
|
+
*/
|
|
5423
|
+
|
|
5424
|
+
/**
|
|
5425
|
+
*
|
|
5426
|
+
* @export
|
|
5427
|
+
* @interface OrderV3
|
|
5428
|
+
*/
|
|
5429
|
+
interface OrderV3 {
|
|
5430
|
+
/**
|
|
5431
|
+
* Amount of the asset already sold by this order
|
|
5432
|
+
* @type {string}
|
|
5433
|
+
* @memberof OrderV3
|
|
5434
|
+
*/
|
|
5435
|
+
'amount_sold': string | null;
|
|
5436
|
+
/**
|
|
5437
|
+
*
|
|
5438
|
+
* @type {OrderV3Buy}
|
|
5439
|
+
* @memberof OrderV3
|
|
5440
|
+
*/
|
|
5441
|
+
'buy': OrderV3Buy;
|
|
5442
|
+
/**
|
|
5443
|
+
* Expiration timestamp of this order
|
|
5444
|
+
* @type {string}
|
|
5445
|
+
* @memberof OrderV3
|
|
5446
|
+
*/
|
|
5447
|
+
'expiration_timestamp': string | null;
|
|
5448
|
+
/**
|
|
5449
|
+
* Fee information for the order
|
|
5450
|
+
* @type {Array<OrderFeeInfo>}
|
|
5451
|
+
* @memberof OrderV3
|
|
5452
|
+
*/
|
|
5453
|
+
'fees'?: Array<OrderFeeInfo>;
|
|
5454
|
+
/**
|
|
5455
|
+
*
|
|
5456
|
+
* @type {OrderV3MakerFees}
|
|
5457
|
+
* @memberof OrderV3
|
|
5458
|
+
*/
|
|
5459
|
+
'maker_fees'?: OrderV3MakerFees;
|
|
5460
|
+
/**
|
|
5461
|
+
* MakerTakerType
|
|
5462
|
+
* @type {string}
|
|
5463
|
+
* @memberof OrderV3
|
|
5464
|
+
*/
|
|
5465
|
+
'maker_taker_type'?: string;
|
|
5466
|
+
/**
|
|
5467
|
+
* ID of the order
|
|
5468
|
+
* @type {number}
|
|
5469
|
+
* @memberof OrderV3
|
|
5470
|
+
*/
|
|
5471
|
+
'order_id': number;
|
|
5472
|
+
/**
|
|
5473
|
+
*
|
|
5474
|
+
* @type {OrderV3Sell}
|
|
5475
|
+
* @memberof OrderV3
|
|
5476
|
+
*/
|
|
5477
|
+
'sell': OrderV3Sell;
|
|
5478
|
+
/**
|
|
5479
|
+
* Status of the order
|
|
5480
|
+
* @type {string}
|
|
5481
|
+
* @memberof OrderV3
|
|
5482
|
+
*/
|
|
5483
|
+
'status': string;
|
|
5484
|
+
/**
|
|
5485
|
+
*
|
|
5486
|
+
* @type {OrderV3TakerFees}
|
|
5487
|
+
* @memberof OrderV3
|
|
5488
|
+
*/
|
|
5489
|
+
'taker_fees'?: OrderV3TakerFees;
|
|
5490
|
+
/**
|
|
5491
|
+
* Timestamp this order was created
|
|
5492
|
+
* @type {string}
|
|
5493
|
+
* @memberof OrderV3
|
|
5494
|
+
*/
|
|
5495
|
+
'timestamp': string | null;
|
|
5496
|
+
/**
|
|
5497
|
+
* Updated timestamp of this order
|
|
5498
|
+
* @type {string}
|
|
5499
|
+
* @memberof OrderV3
|
|
5500
|
+
*/
|
|
5501
|
+
'updated_timestamp': string | null;
|
|
5502
|
+
/**
|
|
5503
|
+
* Ethereum address of the user who submitted the order
|
|
5504
|
+
* @type {string}
|
|
5505
|
+
* @memberof OrderV3
|
|
5506
|
+
*/
|
|
5507
|
+
'user': string;
|
|
5508
|
+
}
|
|
5509
|
+
|
|
5510
|
+
/**
|
|
5511
|
+
* Immutable X API
|
|
5512
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5513
|
+
*
|
|
5514
|
+
* The version of the OpenAPI document: 3.0
|
|
5515
|
+
* Contact: support@immutable.com
|
|
5516
|
+
*
|
|
5517
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5518
|
+
* https://openapi-generator.tech
|
|
5519
|
+
* Do not edit the class manually.
|
|
5520
|
+
*/
|
|
5521
|
+
|
|
5522
|
+
/**
|
|
5523
|
+
*
|
|
5524
|
+
* @export
|
|
5525
|
+
* @interface ListOrdersResponseV3
|
|
5526
|
+
*/
|
|
5527
|
+
interface ListOrdersResponseV3 {
|
|
5528
|
+
/**
|
|
5529
|
+
* Generated cursor returned by previous query
|
|
5530
|
+
* @type {string}
|
|
5531
|
+
* @memberof ListOrdersResponseV3
|
|
5532
|
+
*/
|
|
5533
|
+
'cursor': string;
|
|
5534
|
+
/**
|
|
5535
|
+
* Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results
|
|
5536
|
+
* @type {number}
|
|
5537
|
+
* @memberof ListOrdersResponseV3
|
|
5538
|
+
*/
|
|
5539
|
+
'remaining': number;
|
|
5540
|
+
/**
|
|
5541
|
+
* Orders matching query parameters
|
|
5542
|
+
* @type {Array<OrderV3>}
|
|
5543
|
+
* @memberof ListOrdersResponseV3
|
|
5544
|
+
*/
|
|
5545
|
+
'result': Array<OrderV3>;
|
|
5546
|
+
}
|
|
5547
|
+
|
|
5548
|
+
/**
|
|
5549
|
+
* Immutable X API
|
|
5550
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5551
|
+
*
|
|
5552
|
+
* The version of the OpenAPI document: 3.0
|
|
5553
|
+
* Contact: support@immutable.com
|
|
5554
|
+
*
|
|
5555
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5556
|
+
* https://openapi-generator.tech
|
|
5557
|
+
* Do not edit the class manually.
|
|
5558
|
+
*/
|
|
5559
|
+
/**
|
|
5560
|
+
*
|
|
5561
|
+
* @export
|
|
5562
|
+
* @interface TokenDetails
|
|
5563
|
+
*/
|
|
5564
|
+
interface TokenDetails {
|
|
5565
|
+
/**
|
|
5566
|
+
* Number of decimals for token
|
|
5567
|
+
* @type {string}
|
|
5568
|
+
* @memberof TokenDetails
|
|
5569
|
+
*/
|
|
5570
|
+
'decimals': string;
|
|
5571
|
+
/**
|
|
5572
|
+
* Url for the icon of the token
|
|
5573
|
+
* @type {string}
|
|
5574
|
+
* @memberof TokenDetails
|
|
5575
|
+
*/
|
|
5576
|
+
'image_url': string;
|
|
5577
|
+
/**
|
|
5578
|
+
* Full name of the token (e.g. Ether)
|
|
5579
|
+
* @type {string}
|
|
5580
|
+
* @memberof TokenDetails
|
|
5581
|
+
*/
|
|
5582
|
+
'name': string;
|
|
5583
|
+
/**
|
|
5584
|
+
* Quantum for token
|
|
5585
|
+
* @type {string}
|
|
5586
|
+
* @memberof TokenDetails
|
|
5587
|
+
*/
|
|
5588
|
+
'quantum': string;
|
|
5589
|
+
/**
|
|
5590
|
+
* Ticker symbol for token (e.g. ETH/USDC/IMX)
|
|
5591
|
+
* @type {string}
|
|
5592
|
+
* @memberof TokenDetails
|
|
5593
|
+
*/
|
|
5594
|
+
'symbol': string;
|
|
5595
|
+
/**
|
|
5596
|
+
* Address of the ERC721 contract
|
|
5597
|
+
* @type {string}
|
|
5598
|
+
* @memberof TokenDetails
|
|
5599
|
+
*/
|
|
5600
|
+
'token_address': string;
|
|
5026
5601
|
}
|
|
5027
5602
|
|
|
5028
5603
|
/**
|
|
@@ -5106,6 +5681,44 @@ interface TradeSide {
|
|
|
5106
5681
|
'token_type': string;
|
|
5107
5682
|
}
|
|
5108
5683
|
|
|
5684
|
+
/**
|
|
5685
|
+
* Immutable X API
|
|
5686
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5687
|
+
*
|
|
5688
|
+
* The version of the OpenAPI document: 3.0
|
|
5689
|
+
* Contact: support@immutable.com
|
|
5690
|
+
*
|
|
5691
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5692
|
+
* https://openapi-generator.tech
|
|
5693
|
+
* Do not edit the class manually.
|
|
5694
|
+
*/
|
|
5695
|
+
|
|
5696
|
+
/**
|
|
5697
|
+
* @type TradeA
|
|
5698
|
+
* Side A of this trade (the buy order)
|
|
5699
|
+
* @export
|
|
5700
|
+
*/
|
|
5701
|
+
declare type TradeA = TradeSide;
|
|
5702
|
+
|
|
5703
|
+
/**
|
|
5704
|
+
* Immutable X API
|
|
5705
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5706
|
+
*
|
|
5707
|
+
* The version of the OpenAPI document: 3.0
|
|
5708
|
+
* Contact: support@immutable.com
|
|
5709
|
+
*
|
|
5710
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5711
|
+
* https://openapi-generator.tech
|
|
5712
|
+
* Do not edit the class manually.
|
|
5713
|
+
*/
|
|
5714
|
+
|
|
5715
|
+
/**
|
|
5716
|
+
* @type TradeB
|
|
5717
|
+
* Side B of this trade (the sell order)
|
|
5718
|
+
* @export
|
|
5719
|
+
*/
|
|
5720
|
+
declare type TradeB = TradeSide;
|
|
5721
|
+
|
|
5109
5722
|
/**
|
|
5110
5723
|
* Immutable X API
|
|
5111
5724
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -5126,16 +5739,16 @@ interface TradeSide {
|
|
|
5126
5739
|
interface Trade {
|
|
5127
5740
|
/**
|
|
5128
5741
|
*
|
|
5129
|
-
* @type {
|
|
5742
|
+
* @type {TradeA}
|
|
5130
5743
|
* @memberof Trade
|
|
5131
5744
|
*/
|
|
5132
|
-
'a':
|
|
5745
|
+
'a': TradeA;
|
|
5133
5746
|
/**
|
|
5134
5747
|
*
|
|
5135
|
-
* @type {
|
|
5748
|
+
* @type {TradeB}
|
|
5136
5749
|
* @memberof Trade
|
|
5137
5750
|
*/
|
|
5138
|
-
'b':
|
|
5751
|
+
'b': TradeB;
|
|
5139
5752
|
/**
|
|
5140
5753
|
* Status of this trade
|
|
5141
5754
|
* @type {string}
|
|
@@ -6154,25 +6767,148 @@ interface SuccessResponse {
|
|
|
6154
6767
|
* https://openapi-generator.tech
|
|
6155
6768
|
* Do not edit the class manually.
|
|
6156
6769
|
*/
|
|
6770
|
+
|
|
6157
6771
|
/**
|
|
6158
|
-
*
|
|
6772
|
+
* @type TradesCreateTradeRequestFeeInfo
|
|
6773
|
+
* Fee details
|
|
6159
6774
|
* @export
|
|
6160
|
-
* @interface UpdateCollectionRequest
|
|
6161
6775
|
*/
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6776
|
+
declare type TradesCreateTradeRequestFeeInfo = FeeInfo;
|
|
6777
|
+
|
|
6778
|
+
/**
|
|
6779
|
+
* Immutable X API
|
|
6780
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6781
|
+
*
|
|
6782
|
+
* The version of the OpenAPI document: 3.0
|
|
6783
|
+
* Contact: support@immutable.com
|
|
6784
|
+
*
|
|
6785
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6786
|
+
* https://openapi-generator.tech
|
|
6787
|
+
* Do not edit the class manually.
|
|
6788
|
+
*/
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
*
|
|
6792
|
+
* @export
|
|
6793
|
+
* @interface TradesCreateTradeRequest
|
|
6794
|
+
*/
|
|
6795
|
+
interface TradesCreateTradeRequest {
|
|
6796
|
+
/**
|
|
6797
|
+
* Amount to buy
|
|
6798
|
+
* @type {string}
|
|
6799
|
+
* @memberof TradesCreateTradeRequest
|
|
6800
|
+
*/
|
|
6801
|
+
'amount_buy': string;
|
|
6802
|
+
/**
|
|
6803
|
+
* Amount to sell
|
|
6804
|
+
* @type {string}
|
|
6805
|
+
* @memberof TradesCreateTradeRequest
|
|
6806
|
+
*/
|
|
6807
|
+
'amount_sell': string;
|
|
6808
|
+
/**
|
|
6809
|
+
* ID of the asset to buy
|
|
6810
|
+
* @type {string}
|
|
6811
|
+
* @memberof TradesCreateTradeRequest
|
|
6812
|
+
*/
|
|
6813
|
+
'asset_id_buy': string;
|
|
6814
|
+
/**
|
|
6815
|
+
* ID of the asset to sell
|
|
6816
|
+
* @type {string}
|
|
6817
|
+
* @memberof TradesCreateTradeRequest
|
|
6818
|
+
*/
|
|
6819
|
+
'asset_id_sell': string;
|
|
6820
|
+
/**
|
|
6821
|
+
* Expiration timestamp for this trade
|
|
6822
|
+
* @type {number}
|
|
6823
|
+
* @memberof TradesCreateTradeRequest
|
|
6824
|
+
*/
|
|
6825
|
+
'expiration_timestamp': number;
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @type {TradesCreateTradeRequestFeeInfo}
|
|
6829
|
+
* @memberof TradesCreateTradeRequest
|
|
6830
|
+
*/
|
|
6831
|
+
'fee_info'?: TradesCreateTradeRequestFeeInfo;
|
|
6832
|
+
/**
|
|
6833
|
+
* Fee information
|
|
6834
|
+
* @type {Array<FeeEntry>}
|
|
6835
|
+
* @memberof TradesCreateTradeRequest
|
|
6836
|
+
*/
|
|
6837
|
+
'fees'?: Array<FeeEntry>;
|
|
6838
|
+
/**
|
|
6839
|
+
* [deprecated] All orders include fees since the introduction of protocol fees
|
|
6840
|
+
* @type {boolean}
|
|
6841
|
+
* @memberof TradesCreateTradeRequest
|
|
6842
|
+
*/
|
|
6843
|
+
'include_fees'?: boolean;
|
|
6844
|
+
/**
|
|
6845
|
+
* Nonce of the trade
|
|
6846
|
+
* @type {number}
|
|
6847
|
+
* @memberof TradesCreateTradeRequest
|
|
6848
|
+
*/
|
|
6849
|
+
'nonce': number;
|
|
6850
|
+
/**
|
|
6851
|
+
* ID of the order
|
|
6852
|
+
* @type {number}
|
|
6853
|
+
* @memberof TradesCreateTradeRequest
|
|
6854
|
+
*/
|
|
6855
|
+
'order_id': number;
|
|
6856
|
+
/**
|
|
6857
|
+
* Public stark key of the user creating trade
|
|
6858
|
+
* @type {string}
|
|
6859
|
+
* @memberof TradesCreateTradeRequest
|
|
6860
|
+
*/
|
|
6861
|
+
'stark_key': string;
|
|
6862
|
+
/**
|
|
6863
|
+
* Payload signature
|
|
6864
|
+
* @type {string}
|
|
6865
|
+
* @memberof TradesCreateTradeRequest
|
|
6866
|
+
*/
|
|
6867
|
+
'stark_signature': string;
|
|
6868
|
+
/**
|
|
6869
|
+
* ID of the vault into which the traded asset will be placed
|
|
6870
|
+
* @type {number}
|
|
6871
|
+
* @memberof TradesCreateTradeRequest
|
|
6872
|
+
*/
|
|
6873
|
+
'vault_id_buy': number;
|
|
6874
|
+
/**
|
|
6875
|
+
* ID of the vault to sell from
|
|
6876
|
+
* @type {number}
|
|
6877
|
+
* @memberof TradesCreateTradeRequest
|
|
6878
|
+
*/
|
|
6879
|
+
'vault_id_sell': number;
|
|
6880
|
+
}
|
|
6881
|
+
|
|
6882
|
+
/**
|
|
6883
|
+
* Immutable X API
|
|
6884
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6885
|
+
*
|
|
6886
|
+
* The version of the OpenAPI document: 3.0
|
|
6887
|
+
* Contact: support@immutable.com
|
|
6888
|
+
*
|
|
6889
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6890
|
+
* https://openapi-generator.tech
|
|
6891
|
+
* Do not edit the class manually.
|
|
6892
|
+
*/
|
|
6893
|
+
/**
|
|
6894
|
+
*
|
|
6895
|
+
* @export
|
|
6896
|
+
* @interface UpdateCollectionRequest
|
|
6897
|
+
*/
|
|
6898
|
+
interface UpdateCollectionRequest {
|
|
6899
|
+
/**
|
|
6900
|
+
* URL of the tile image for this collection
|
|
6901
|
+
* @type {string}
|
|
6902
|
+
* @memberof UpdateCollectionRequest
|
|
6903
|
+
*/
|
|
6904
|
+
'collection_image_url'?: string;
|
|
6905
|
+
/**
|
|
6906
|
+
* Description of the collection
|
|
6907
|
+
* @type {string}
|
|
6908
|
+
* @memberof UpdateCollectionRequest
|
|
6909
|
+
*/
|
|
6910
|
+
'description'?: string;
|
|
6911
|
+
/**
|
|
6176
6912
|
* URL of the icon for this collection
|
|
6177
6913
|
* @type {string}
|
|
6178
6914
|
* @memberof UpdateCollectionRequest
|
|
@@ -6358,7 +7094,7 @@ interface BalancesApiGetBalanceRequest {
|
|
|
6358
7094
|
*/
|
|
6359
7095
|
readonly owner: string;
|
|
6360
7096
|
/**
|
|
6361
|
-
* Token address
|
|
7097
|
+
* Token address or \'eth\'
|
|
6362
7098
|
* @type {string}
|
|
6363
7099
|
* @memberof BalancesApiGetBalance
|
|
6364
7100
|
*/
|
|
@@ -7694,6 +8430,43 @@ interface OrdersApiCancelOrderRequest {
|
|
|
7694
8430
|
*/
|
|
7695
8431
|
readonly authorization?: string;
|
|
7696
8432
|
}
|
|
8433
|
+
/**
|
|
8434
|
+
* Request parameters for cancelOrderV3 operation in OrdersApi.
|
|
8435
|
+
* @export
|
|
8436
|
+
* @interface OrdersApiCancelOrderV3Request
|
|
8437
|
+
*/
|
|
8438
|
+
interface OrdersApiCancelOrderV3Request {
|
|
8439
|
+
/**
|
|
8440
|
+
* Order ID to cancel
|
|
8441
|
+
* @type {string}
|
|
8442
|
+
* @memberof OrdersApiCancelOrderV3
|
|
8443
|
+
*/
|
|
8444
|
+
readonly id: string;
|
|
8445
|
+
/**
|
|
8446
|
+
* cancel an order
|
|
8447
|
+
* @type {CancelOrderRequest}
|
|
8448
|
+
* @memberof OrdersApiCancelOrderV3
|
|
8449
|
+
*/
|
|
8450
|
+
readonly cancelOrderRequest: CancelOrderRequest;
|
|
8451
|
+
/**
|
|
8452
|
+
* eth address
|
|
8453
|
+
* @type {string}
|
|
8454
|
+
* @memberof OrdersApiCancelOrderV3
|
|
8455
|
+
*/
|
|
8456
|
+
readonly xImxEthAddress?: string;
|
|
8457
|
+
/**
|
|
8458
|
+
* eth signature
|
|
8459
|
+
* @type {string}
|
|
8460
|
+
* @memberof OrdersApiCancelOrderV3
|
|
8461
|
+
*/
|
|
8462
|
+
readonly xImxEthSignature?: string;
|
|
8463
|
+
/**
|
|
8464
|
+
* Authorization header
|
|
8465
|
+
* @type {string}
|
|
8466
|
+
* @memberof OrdersApiCancelOrderV3
|
|
8467
|
+
*/
|
|
8468
|
+
readonly authorization?: string;
|
|
8469
|
+
}
|
|
7697
8470
|
/**
|
|
7698
8471
|
* Request parameters for createOrder operation in OrdersApi.
|
|
7699
8472
|
* @export
|
|
@@ -7715,251 +8488,507 @@ interface OrdersApiCreateOrderRequest {
|
|
|
7715
8488
|
/**
|
|
7716
8489
|
* eth signature
|
|
7717
8490
|
* @type {string}
|
|
7718
|
-
* @memberof OrdersApiCreateOrder
|
|
8491
|
+
* @memberof OrdersApiCreateOrder
|
|
8492
|
+
*/
|
|
8493
|
+
readonly xImxEthSignature?: string;
|
|
8494
|
+
/**
|
|
8495
|
+
* Authorization header
|
|
8496
|
+
* @type {string}
|
|
8497
|
+
* @memberof OrdersApiCreateOrder
|
|
8498
|
+
*/
|
|
8499
|
+
readonly authorization?: string;
|
|
8500
|
+
}
|
|
8501
|
+
/**
|
|
8502
|
+
* Request parameters for createOrderV3 operation in OrdersApi.
|
|
8503
|
+
* @export
|
|
8504
|
+
* @interface OrdersApiCreateOrderV3Request
|
|
8505
|
+
*/
|
|
8506
|
+
interface OrdersApiCreateOrderV3Request {
|
|
8507
|
+
/**
|
|
8508
|
+
* create an order
|
|
8509
|
+
* @type {CreateOrderRequestV3}
|
|
8510
|
+
* @memberof OrdersApiCreateOrderV3
|
|
8511
|
+
*/
|
|
8512
|
+
readonly createOrderRequest: CreateOrderRequestV3;
|
|
8513
|
+
/**
|
|
8514
|
+
* eth address
|
|
8515
|
+
* @type {string}
|
|
8516
|
+
* @memberof OrdersApiCreateOrderV3
|
|
8517
|
+
*/
|
|
8518
|
+
readonly xImxEthAddress?: string;
|
|
8519
|
+
/**
|
|
8520
|
+
* eth signature
|
|
8521
|
+
* @type {string}
|
|
8522
|
+
* @memberof OrdersApiCreateOrderV3
|
|
8523
|
+
*/
|
|
8524
|
+
readonly xImxEthSignature?: string;
|
|
8525
|
+
/**
|
|
8526
|
+
* Authorization header
|
|
8527
|
+
* @type {string}
|
|
8528
|
+
* @memberof OrdersApiCreateOrderV3
|
|
8529
|
+
*/
|
|
8530
|
+
readonly authorization?: string;
|
|
8531
|
+
}
|
|
8532
|
+
/**
|
|
8533
|
+
* Request parameters for getOrder operation in OrdersApi.
|
|
8534
|
+
* @export
|
|
8535
|
+
* @interface OrdersApiGetOrderRequest
|
|
8536
|
+
*/
|
|
8537
|
+
interface OrdersApiGetOrderRequest {
|
|
8538
|
+
/**
|
|
8539
|
+
* Order ID
|
|
8540
|
+
* @type {string}
|
|
8541
|
+
* @memberof OrdersApiGetOrder
|
|
8542
|
+
*/
|
|
8543
|
+
readonly id: string;
|
|
8544
|
+
/**
|
|
8545
|
+
* Set flag to true to include fee body for the order
|
|
8546
|
+
* @type {boolean}
|
|
8547
|
+
* @memberof OrdersApiGetOrder
|
|
8548
|
+
*/
|
|
8549
|
+
readonly includeFees?: boolean;
|
|
8550
|
+
/**
|
|
8551
|
+
* Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
8552
|
+
* @type {string}
|
|
8553
|
+
* @memberof OrdersApiGetOrder
|
|
8554
|
+
*/
|
|
8555
|
+
readonly auxiliaryFeePercentages?: string;
|
|
8556
|
+
/**
|
|
8557
|
+
* Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
8558
|
+
* @type {string}
|
|
8559
|
+
* @memberof OrdersApiGetOrder
|
|
8560
|
+
*/
|
|
8561
|
+
readonly auxiliaryFeeRecipients?: string;
|
|
8562
|
+
}
|
|
8563
|
+
/**
|
|
8564
|
+
* Request parameters for getOrderV3 operation in OrdersApi.
|
|
8565
|
+
* @export
|
|
8566
|
+
* @interface OrdersApiGetOrderV3Request
|
|
8567
|
+
*/
|
|
8568
|
+
interface OrdersApiGetOrderV3Request {
|
|
8569
|
+
/**
|
|
8570
|
+
* Order ID
|
|
8571
|
+
* @type {string}
|
|
8572
|
+
* @memberof OrdersApiGetOrderV3
|
|
8573
|
+
*/
|
|
8574
|
+
readonly id: string;
|
|
8575
|
+
/**
|
|
8576
|
+
* Set flag to true to include fee body for the order
|
|
8577
|
+
* @type {boolean}
|
|
8578
|
+
* @memberof OrdersApiGetOrderV3
|
|
8579
|
+
*/
|
|
8580
|
+
readonly includeFees?: boolean;
|
|
8581
|
+
/**
|
|
8582
|
+
* Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
8583
|
+
* @type {string}
|
|
8584
|
+
* @memberof OrdersApiGetOrderV3
|
|
8585
|
+
*/
|
|
8586
|
+
readonly auxiliaryFeePercentages?: string;
|
|
8587
|
+
/**
|
|
8588
|
+
* Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
8589
|
+
* @type {string}
|
|
8590
|
+
* @memberof OrdersApiGetOrderV3
|
|
8591
|
+
*/
|
|
8592
|
+
readonly auxiliaryFeeRecipients?: string;
|
|
8593
|
+
}
|
|
8594
|
+
/**
|
|
8595
|
+
* Request parameters for getSignableCancelOrder operation in OrdersApi.
|
|
8596
|
+
* @export
|
|
8597
|
+
* @interface OrdersApiGetSignableCancelOrderRequest
|
|
8598
|
+
*/
|
|
8599
|
+
interface OrdersApiGetSignableCancelOrderRequest {
|
|
8600
|
+
/**
|
|
8601
|
+
* get a signable cancel order
|
|
8602
|
+
* @type {GetSignableCancelOrderRequest}
|
|
8603
|
+
* @memberof OrdersApiGetSignableCancelOrder
|
|
8604
|
+
*/
|
|
8605
|
+
readonly getSignableCancelOrderRequest: GetSignableCancelOrderRequest;
|
|
8606
|
+
}
|
|
8607
|
+
/**
|
|
8608
|
+
* Request parameters for getSignableCancelOrderV3 operation in OrdersApi.
|
|
8609
|
+
* @export
|
|
8610
|
+
* @interface OrdersApiGetSignableCancelOrderV3Request
|
|
8611
|
+
*/
|
|
8612
|
+
interface OrdersApiGetSignableCancelOrderV3Request {
|
|
8613
|
+
/**
|
|
8614
|
+
* get a signable cancel order
|
|
8615
|
+
* @type {GetSignableCancelOrderRequest}
|
|
8616
|
+
* @memberof OrdersApiGetSignableCancelOrderV3
|
|
8617
|
+
*/
|
|
8618
|
+
readonly getSignableCancelOrderRequest: GetSignableCancelOrderRequest;
|
|
8619
|
+
}
|
|
8620
|
+
/**
|
|
8621
|
+
* Request parameters for getSignableOrder operation in OrdersApi.
|
|
8622
|
+
* @export
|
|
8623
|
+
* @interface OrdersApiGetSignableOrderRequest
|
|
8624
|
+
*/
|
|
8625
|
+
interface OrdersApiGetSignableOrderRequest {
|
|
8626
|
+
/**
|
|
8627
|
+
* get a signable order v3
|
|
8628
|
+
* @type {GetSignableOrderRequestV3}
|
|
8629
|
+
* @memberof OrdersApiGetSignableOrder
|
|
8630
|
+
*/
|
|
8631
|
+
readonly getSignableOrderRequestV3: GetSignableOrderRequestV3;
|
|
8632
|
+
}
|
|
8633
|
+
/**
|
|
8634
|
+
* Request parameters for listOrders operation in OrdersApi.
|
|
8635
|
+
* @export
|
|
8636
|
+
* @interface OrdersApiListOrdersRequest
|
|
8637
|
+
*/
|
|
8638
|
+
interface OrdersApiListOrdersRequest {
|
|
8639
|
+
/**
|
|
8640
|
+
* Page size of the result
|
|
8641
|
+
* @type {number}
|
|
8642
|
+
* @memberof OrdersApiListOrders
|
|
8643
|
+
*/
|
|
8644
|
+
readonly pageSize?: number;
|
|
8645
|
+
/**
|
|
8646
|
+
* Cursor
|
|
8647
|
+
* @type {string}
|
|
8648
|
+
* @memberof OrdersApiListOrders
|
|
8649
|
+
*/
|
|
8650
|
+
readonly cursor?: string;
|
|
8651
|
+
/**
|
|
8652
|
+
* Property to sort by
|
|
8653
|
+
* @type {'created_at' | 'expired_at' | 'sell_quantity' | 'buy_quantity' | 'buy_quantity_with_fees' | 'updated_at'}
|
|
8654
|
+
* @memberof OrdersApiListOrders
|
|
8655
|
+
*/
|
|
8656
|
+
readonly orderBy?: 'created_at' | 'expired_at' | 'sell_quantity' | 'buy_quantity' | 'buy_quantity_with_fees' | 'updated_at';
|
|
8657
|
+
/**
|
|
8658
|
+
* Direction to sort (asc/desc)
|
|
8659
|
+
* @type {string}
|
|
8660
|
+
* @memberof OrdersApiListOrders
|
|
8661
|
+
*/
|
|
8662
|
+
readonly direction?: string;
|
|
8663
|
+
/**
|
|
8664
|
+
* Ethereum address of the user who submitted this order
|
|
8665
|
+
* @type {string}
|
|
8666
|
+
* @memberof OrdersApiListOrders
|
|
8667
|
+
*/
|
|
8668
|
+
readonly user?: string;
|
|
8669
|
+
/**
|
|
8670
|
+
* Status of this order
|
|
8671
|
+
* @type {'active' | 'filled' | 'cancelled' | 'expired' | 'inactive'}
|
|
8672
|
+
* @memberof OrdersApiListOrders
|
|
8673
|
+
*/
|
|
8674
|
+
readonly status?: 'active' | 'filled' | 'cancelled' | 'expired' | 'inactive';
|
|
8675
|
+
/**
|
|
8676
|
+
* Filter orders to include those with created_at timestamps after this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
8677
|
+
* @type {string}
|
|
8678
|
+
* @memberof OrdersApiListOrders
|
|
8679
|
+
*/
|
|
8680
|
+
readonly minTimestamp?: string;
|
|
8681
|
+
/**
|
|
8682
|
+
* Filter orders to include those with created_at timestamps before this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
8683
|
+
* @type {string}
|
|
8684
|
+
* @memberof OrdersApiListOrders
|
|
8685
|
+
*/
|
|
8686
|
+
readonly maxTimestamp?: string;
|
|
8687
|
+
/**
|
|
8688
|
+
* Filter orders to include those with updated_at timestamps after this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
8689
|
+
* @type {string}
|
|
8690
|
+
* @memberof OrdersApiListOrders
|
|
8691
|
+
*/
|
|
8692
|
+
readonly updatedMinTimestamp?: string;
|
|
8693
|
+
/**
|
|
8694
|
+
* Filter orders to include those with updated_at timestamps before this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
8695
|
+
* @type {string}
|
|
8696
|
+
* @memberof OrdersApiListOrders
|
|
8697
|
+
*/
|
|
8698
|
+
readonly updatedMaxTimestamp?: string;
|
|
8699
|
+
/**
|
|
8700
|
+
* Token type of the asset this order buys
|
|
8701
|
+
* @type {string}
|
|
8702
|
+
* @memberof OrdersApiListOrders
|
|
8703
|
+
*/
|
|
8704
|
+
readonly buyTokenType?: string;
|
|
8705
|
+
/**
|
|
8706
|
+
* ERC721 Token ID of the asset this order buys
|
|
8707
|
+
* @type {string}
|
|
8708
|
+
* @memberof OrdersApiListOrders
|
|
8709
|
+
*/
|
|
8710
|
+
readonly buyTokenId?: string;
|
|
8711
|
+
/**
|
|
8712
|
+
* Internal IMX ID of the asset this order buys
|
|
8713
|
+
* @type {string}
|
|
8714
|
+
* @memberof OrdersApiListOrders
|
|
8715
|
+
*/
|
|
8716
|
+
readonly buyAssetId?: string;
|
|
8717
|
+
/**
|
|
8718
|
+
* Token address of the asset this order buys
|
|
8719
|
+
* @type {string}
|
|
8720
|
+
* @memberof OrdersApiListOrders
|
|
8721
|
+
*/
|
|
8722
|
+
readonly buyTokenAddress?: string;
|
|
8723
|
+
/**
|
|
8724
|
+
* Token name of the asset this order buys
|
|
8725
|
+
* @type {string}
|
|
8726
|
+
* @memberof OrdersApiListOrders
|
|
8727
|
+
*/
|
|
8728
|
+
readonly buyTokenName?: string;
|
|
8729
|
+
/**
|
|
8730
|
+
* Min quantity for the asset this order buys
|
|
8731
|
+
* @type {string}
|
|
8732
|
+
* @memberof OrdersApiListOrders
|
|
8733
|
+
*/
|
|
8734
|
+
readonly buyMinQuantity?: string;
|
|
8735
|
+
/**
|
|
8736
|
+
* Max quantity for the asset this order buys
|
|
8737
|
+
* @type {string}
|
|
8738
|
+
* @memberof OrdersApiListOrders
|
|
8739
|
+
*/
|
|
8740
|
+
readonly buyMaxQuantity?: string;
|
|
8741
|
+
/**
|
|
8742
|
+
* JSON-encoded metadata filters for the asset this order buys
|
|
8743
|
+
* @type {string}
|
|
8744
|
+
* @memberof OrdersApiListOrders
|
|
8745
|
+
*/
|
|
8746
|
+
readonly buyMetadata?: string;
|
|
8747
|
+
/**
|
|
8748
|
+
* Token type of the asset this order sells
|
|
8749
|
+
* @type {string}
|
|
8750
|
+
* @memberof OrdersApiListOrders
|
|
8751
|
+
*/
|
|
8752
|
+
readonly sellTokenType?: string;
|
|
8753
|
+
/**
|
|
8754
|
+
* ERC721 Token ID of the asset this order sells
|
|
8755
|
+
* @type {string}
|
|
8756
|
+
* @memberof OrdersApiListOrders
|
|
8757
|
+
*/
|
|
8758
|
+
readonly sellTokenId?: string;
|
|
8759
|
+
/**
|
|
8760
|
+
* Internal IMX ID of the asset this order sells
|
|
8761
|
+
* @type {string}
|
|
8762
|
+
* @memberof OrdersApiListOrders
|
|
8763
|
+
*/
|
|
8764
|
+
readonly sellAssetId?: string;
|
|
8765
|
+
/**
|
|
8766
|
+
* Token address of the asset this order sells
|
|
8767
|
+
* @type {string}
|
|
8768
|
+
* @memberof OrdersApiListOrders
|
|
8769
|
+
*/
|
|
8770
|
+
readonly sellTokenAddress?: string;
|
|
8771
|
+
/**
|
|
8772
|
+
* Token name of the asset this order sells
|
|
8773
|
+
* @type {string}
|
|
8774
|
+
* @memberof OrdersApiListOrders
|
|
7719
8775
|
*/
|
|
7720
|
-
readonly
|
|
8776
|
+
readonly sellTokenName?: string;
|
|
7721
8777
|
/**
|
|
7722
|
-
*
|
|
8778
|
+
* Min quantity for the asset this order sells
|
|
7723
8779
|
* @type {string}
|
|
7724
|
-
* @memberof
|
|
8780
|
+
* @memberof OrdersApiListOrders
|
|
7725
8781
|
*/
|
|
7726
|
-
readonly
|
|
7727
|
-
}
|
|
7728
|
-
/**
|
|
7729
|
-
* Request parameters for getOrder operation in OrdersApi.
|
|
7730
|
-
* @export
|
|
7731
|
-
* @interface OrdersApiGetOrderRequest
|
|
7732
|
-
*/
|
|
7733
|
-
interface OrdersApiGetOrderRequest {
|
|
8782
|
+
readonly sellMinQuantity?: string;
|
|
7734
8783
|
/**
|
|
7735
|
-
*
|
|
8784
|
+
* Max quantity for the asset this order sells
|
|
7736
8785
|
* @type {string}
|
|
7737
|
-
* @memberof
|
|
8786
|
+
* @memberof OrdersApiListOrders
|
|
7738
8787
|
*/
|
|
7739
|
-
readonly
|
|
8788
|
+
readonly sellMaxQuantity?: string;
|
|
7740
8789
|
/**
|
|
7741
|
-
*
|
|
7742
|
-
* @type {
|
|
7743
|
-
* @memberof
|
|
8790
|
+
* JSON-encoded metadata filters for the asset this order sells
|
|
8791
|
+
* @type {string}
|
|
8792
|
+
* @memberof OrdersApiListOrders
|
|
7744
8793
|
*/
|
|
7745
|
-
readonly
|
|
8794
|
+
readonly sellMetadata?: string;
|
|
7746
8795
|
/**
|
|
7747
8796
|
* Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
7748
8797
|
* @type {string}
|
|
7749
|
-
* @memberof
|
|
8798
|
+
* @memberof OrdersApiListOrders
|
|
7750
8799
|
*/
|
|
7751
8800
|
readonly auxiliaryFeePercentages?: string;
|
|
7752
8801
|
/**
|
|
7753
8802
|
* Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
7754
8803
|
* @type {string}
|
|
7755
|
-
* @memberof
|
|
8804
|
+
* @memberof OrdersApiListOrders
|
|
7756
8805
|
*/
|
|
7757
8806
|
readonly auxiliaryFeeRecipients?: string;
|
|
7758
|
-
}
|
|
7759
|
-
/**
|
|
7760
|
-
* Request parameters for getSignableCancelOrder operation in OrdersApi.
|
|
7761
|
-
* @export
|
|
7762
|
-
* @interface OrdersApiGetSignableCancelOrderRequest
|
|
7763
|
-
*/
|
|
7764
|
-
interface OrdersApiGetSignableCancelOrderRequest {
|
|
7765
|
-
/**
|
|
7766
|
-
* get a signable cancel order
|
|
7767
|
-
* @type {GetSignableCancelOrderRequest}
|
|
7768
|
-
* @memberof OrdersApiGetSignableCancelOrder
|
|
7769
|
-
*/
|
|
7770
|
-
readonly getSignableCancelOrderRequest: GetSignableCancelOrderRequest;
|
|
7771
|
-
}
|
|
7772
|
-
/**
|
|
7773
|
-
* Request parameters for getSignableOrder operation in OrdersApi.
|
|
7774
|
-
* @export
|
|
7775
|
-
* @interface OrdersApiGetSignableOrderRequest
|
|
7776
|
-
*/
|
|
7777
|
-
interface OrdersApiGetSignableOrderRequest {
|
|
7778
8807
|
/**
|
|
7779
|
-
*
|
|
7780
|
-
* @type {
|
|
7781
|
-
* @memberof
|
|
8808
|
+
* Set flag to true to include fee object for orders
|
|
8809
|
+
* @type {boolean}
|
|
8810
|
+
* @memberof OrdersApiListOrders
|
|
7782
8811
|
*/
|
|
7783
|
-
readonly
|
|
8812
|
+
readonly includeFees?: boolean;
|
|
7784
8813
|
}
|
|
7785
8814
|
/**
|
|
7786
|
-
* Request parameters for
|
|
8815
|
+
* Request parameters for listOrdersV3 operation in OrdersApi.
|
|
7787
8816
|
* @export
|
|
7788
|
-
* @interface
|
|
8817
|
+
* @interface OrdersApiListOrdersV3Request
|
|
7789
8818
|
*/
|
|
7790
|
-
interface
|
|
8819
|
+
interface OrdersApiListOrdersV3Request {
|
|
7791
8820
|
/**
|
|
7792
8821
|
* Page size of the result
|
|
7793
8822
|
* @type {number}
|
|
7794
|
-
* @memberof
|
|
8823
|
+
* @memberof OrdersApiListOrdersV3
|
|
7795
8824
|
*/
|
|
7796
8825
|
readonly pageSize?: number;
|
|
7797
8826
|
/**
|
|
7798
8827
|
* Cursor
|
|
7799
8828
|
* @type {string}
|
|
7800
|
-
* @memberof
|
|
8829
|
+
* @memberof OrdersApiListOrdersV3
|
|
7801
8830
|
*/
|
|
7802
8831
|
readonly cursor?: string;
|
|
7803
8832
|
/**
|
|
7804
8833
|
* Property to sort by
|
|
7805
8834
|
* @type {'created_at' | 'expired_at' | 'sell_quantity' | 'buy_quantity' | 'buy_quantity_with_fees' | 'updated_at'}
|
|
7806
|
-
* @memberof
|
|
8835
|
+
* @memberof OrdersApiListOrdersV3
|
|
7807
8836
|
*/
|
|
7808
8837
|
readonly orderBy?: 'created_at' | 'expired_at' | 'sell_quantity' | 'buy_quantity' | 'buy_quantity_with_fees' | 'updated_at';
|
|
7809
8838
|
/**
|
|
7810
8839
|
* Direction to sort (asc/desc)
|
|
7811
8840
|
* @type {string}
|
|
7812
|
-
* @memberof
|
|
8841
|
+
* @memberof OrdersApiListOrdersV3
|
|
7813
8842
|
*/
|
|
7814
8843
|
readonly direction?: string;
|
|
7815
8844
|
/**
|
|
7816
8845
|
* Ethereum address of the user who submitted this order
|
|
7817
8846
|
* @type {string}
|
|
7818
|
-
* @memberof
|
|
8847
|
+
* @memberof OrdersApiListOrdersV3
|
|
7819
8848
|
*/
|
|
7820
8849
|
readonly user?: string;
|
|
7821
8850
|
/**
|
|
7822
8851
|
* Status of this order
|
|
7823
8852
|
* @type {'active' | 'filled' | 'cancelled' | 'expired' | 'inactive'}
|
|
7824
|
-
* @memberof
|
|
8853
|
+
* @memberof OrdersApiListOrdersV3
|
|
7825
8854
|
*/
|
|
7826
8855
|
readonly status?: 'active' | 'filled' | 'cancelled' | 'expired' | 'inactive';
|
|
7827
8856
|
/**
|
|
7828
|
-
*
|
|
8857
|
+
* Filter orders to include those with created_at timestamps after this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
7829
8858
|
* @type {string}
|
|
7830
|
-
* @memberof
|
|
8859
|
+
* @memberof OrdersApiListOrdersV3
|
|
7831
8860
|
*/
|
|
7832
8861
|
readonly minTimestamp?: string;
|
|
7833
8862
|
/**
|
|
7834
|
-
*
|
|
8863
|
+
* Filter orders to include those with created_at timestamps before this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
7835
8864
|
* @type {string}
|
|
7836
|
-
* @memberof
|
|
8865
|
+
* @memberof OrdersApiListOrdersV3
|
|
7837
8866
|
*/
|
|
7838
8867
|
readonly maxTimestamp?: string;
|
|
7839
8868
|
/**
|
|
7840
|
-
*
|
|
8869
|
+
* Filter orders to include those with updated_at timestamps after this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
7841
8870
|
* @type {string}
|
|
7842
|
-
* @memberof
|
|
8871
|
+
* @memberof OrdersApiListOrdersV3
|
|
7843
8872
|
*/
|
|
7844
8873
|
readonly updatedMinTimestamp?: string;
|
|
7845
8874
|
/**
|
|
7846
|
-
*
|
|
8875
|
+
* Filter orders to include those with updated_at timestamps before this time, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
7847
8876
|
* @type {string}
|
|
7848
|
-
* @memberof
|
|
8877
|
+
* @memberof OrdersApiListOrdersV3
|
|
7849
8878
|
*/
|
|
7850
8879
|
readonly updatedMaxTimestamp?: string;
|
|
7851
8880
|
/**
|
|
7852
8881
|
* Token type of the asset this order buys
|
|
7853
8882
|
* @type {string}
|
|
7854
|
-
* @memberof
|
|
8883
|
+
* @memberof OrdersApiListOrdersV3
|
|
7855
8884
|
*/
|
|
7856
8885
|
readonly buyTokenType?: string;
|
|
7857
8886
|
/**
|
|
7858
8887
|
* ERC721 Token ID of the asset this order buys
|
|
7859
8888
|
* @type {string}
|
|
7860
|
-
* @memberof
|
|
8889
|
+
* @memberof OrdersApiListOrdersV3
|
|
7861
8890
|
*/
|
|
7862
8891
|
readonly buyTokenId?: string;
|
|
7863
8892
|
/**
|
|
7864
8893
|
* Internal IMX ID of the asset this order buys
|
|
7865
8894
|
* @type {string}
|
|
7866
|
-
* @memberof
|
|
8895
|
+
* @memberof OrdersApiListOrdersV3
|
|
7867
8896
|
*/
|
|
7868
8897
|
readonly buyAssetId?: string;
|
|
7869
8898
|
/**
|
|
7870
8899
|
* Token address of the asset this order buys
|
|
7871
8900
|
* @type {string}
|
|
7872
|
-
* @memberof
|
|
8901
|
+
* @memberof OrdersApiListOrdersV3
|
|
7873
8902
|
*/
|
|
7874
8903
|
readonly buyTokenAddress?: string;
|
|
7875
8904
|
/**
|
|
7876
8905
|
* Token name of the asset this order buys
|
|
7877
8906
|
* @type {string}
|
|
7878
|
-
* @memberof
|
|
8907
|
+
* @memberof OrdersApiListOrdersV3
|
|
7879
8908
|
*/
|
|
7880
8909
|
readonly buyTokenName?: string;
|
|
7881
8910
|
/**
|
|
7882
8911
|
* Min quantity for the asset this order buys
|
|
7883
8912
|
* @type {string}
|
|
7884
|
-
* @memberof
|
|
8913
|
+
* @memberof OrdersApiListOrdersV3
|
|
7885
8914
|
*/
|
|
7886
8915
|
readonly buyMinQuantity?: string;
|
|
7887
8916
|
/**
|
|
7888
8917
|
* Max quantity for the asset this order buys
|
|
7889
8918
|
* @type {string}
|
|
7890
|
-
* @memberof
|
|
8919
|
+
* @memberof OrdersApiListOrdersV3
|
|
7891
8920
|
*/
|
|
7892
8921
|
readonly buyMaxQuantity?: string;
|
|
7893
8922
|
/**
|
|
7894
8923
|
* JSON-encoded metadata filters for the asset this order buys
|
|
7895
8924
|
* @type {string}
|
|
7896
|
-
* @memberof
|
|
8925
|
+
* @memberof OrdersApiListOrdersV3
|
|
7897
8926
|
*/
|
|
7898
8927
|
readonly buyMetadata?: string;
|
|
7899
8928
|
/**
|
|
7900
8929
|
* Token type of the asset this order sells
|
|
7901
8930
|
* @type {string}
|
|
7902
|
-
* @memberof
|
|
8931
|
+
* @memberof OrdersApiListOrdersV3
|
|
7903
8932
|
*/
|
|
7904
8933
|
readonly sellTokenType?: string;
|
|
7905
8934
|
/**
|
|
7906
8935
|
* ERC721 Token ID of the asset this order sells
|
|
7907
8936
|
* @type {string}
|
|
7908
|
-
* @memberof
|
|
8937
|
+
* @memberof OrdersApiListOrdersV3
|
|
7909
8938
|
*/
|
|
7910
8939
|
readonly sellTokenId?: string;
|
|
7911
8940
|
/**
|
|
7912
8941
|
* Internal IMX ID of the asset this order sells
|
|
7913
8942
|
* @type {string}
|
|
7914
|
-
* @memberof
|
|
8943
|
+
* @memberof OrdersApiListOrdersV3
|
|
7915
8944
|
*/
|
|
7916
8945
|
readonly sellAssetId?: string;
|
|
7917
8946
|
/**
|
|
7918
8947
|
* Token address of the asset this order sells
|
|
7919
8948
|
* @type {string}
|
|
7920
|
-
* @memberof
|
|
8949
|
+
* @memberof OrdersApiListOrdersV3
|
|
7921
8950
|
*/
|
|
7922
8951
|
readonly sellTokenAddress?: string;
|
|
7923
8952
|
/**
|
|
7924
8953
|
* Token name of the asset this order sells
|
|
7925
8954
|
* @type {string}
|
|
7926
|
-
* @memberof
|
|
8955
|
+
* @memberof OrdersApiListOrdersV3
|
|
7927
8956
|
*/
|
|
7928
8957
|
readonly sellTokenName?: string;
|
|
7929
8958
|
/**
|
|
7930
8959
|
* Min quantity for the asset this order sells
|
|
7931
8960
|
* @type {string}
|
|
7932
|
-
* @memberof
|
|
8961
|
+
* @memberof OrdersApiListOrdersV3
|
|
7933
8962
|
*/
|
|
7934
8963
|
readonly sellMinQuantity?: string;
|
|
7935
8964
|
/**
|
|
7936
8965
|
* Max quantity for the asset this order sells
|
|
7937
8966
|
* @type {string}
|
|
7938
|
-
* @memberof
|
|
8967
|
+
* @memberof OrdersApiListOrdersV3
|
|
7939
8968
|
*/
|
|
7940
8969
|
readonly sellMaxQuantity?: string;
|
|
7941
8970
|
/**
|
|
7942
8971
|
* JSON-encoded metadata filters for the asset this order sells
|
|
7943
8972
|
* @type {string}
|
|
7944
|
-
* @memberof
|
|
8973
|
+
* @memberof OrdersApiListOrdersV3
|
|
7945
8974
|
*/
|
|
7946
8975
|
readonly sellMetadata?: string;
|
|
7947
8976
|
/**
|
|
7948
8977
|
* Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
7949
8978
|
* @type {string}
|
|
7950
|
-
* @memberof
|
|
8979
|
+
* @memberof OrdersApiListOrdersV3
|
|
7951
8980
|
*/
|
|
7952
8981
|
readonly auxiliaryFeePercentages?: string;
|
|
7953
8982
|
/**
|
|
7954
8983
|
* Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
7955
8984
|
* @type {string}
|
|
7956
|
-
* @memberof
|
|
8985
|
+
* @memberof OrdersApiListOrdersV3
|
|
7957
8986
|
*/
|
|
7958
8987
|
readonly auxiliaryFeeRecipients?: string;
|
|
7959
8988
|
/**
|
|
7960
8989
|
* Set flag to true to include fee object for orders
|
|
7961
8990
|
* @type {boolean}
|
|
7962
|
-
* @memberof
|
|
8991
|
+
* @memberof OrdersApiListOrdersV3
|
|
7963
8992
|
*/
|
|
7964
8993
|
readonly includeFees?: boolean;
|
|
7965
8994
|
}
|
|
@@ -7971,7 +9000,7 @@ interface OrdersApiListOrdersRequest {
|
|
|
7971
9000
|
*/
|
|
7972
9001
|
declare class OrdersApi extends BaseAPI {
|
|
7973
9002
|
/**
|
|
7974
|
-
* Cancel an order
|
|
9003
|
+
* Cancel an order. Use https://docs.x.immutable.com/reference#/operations/getSignableCancelOrder to get request body params.
|
|
7975
9004
|
* @summary Cancel an order
|
|
7976
9005
|
* @param {OrdersApiCancelOrderRequest} requestParameters Request parameters.
|
|
7977
9006
|
* @param {*} [options] Override http request option.
|
|
@@ -7980,7 +9009,16 @@ declare class OrdersApi extends BaseAPI {
|
|
|
7980
9009
|
*/
|
|
7981
9010
|
cancelOrder(requestParameters: OrdersApiCancelOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CancelOrderResponse, any>>;
|
|
7982
9011
|
/**
|
|
7983
|
-
*
|
|
9012
|
+
* Cancel an order (V3)
|
|
9013
|
+
* @summary Cancel an order (V3)
|
|
9014
|
+
* @param {OrdersApiCancelOrderV3Request} requestParameters Request parameters.
|
|
9015
|
+
* @param {*} [options] Override http request option.
|
|
9016
|
+
* @throws {RequiredError}
|
|
9017
|
+
* @memberof OrdersApi
|
|
9018
|
+
*/
|
|
9019
|
+
cancelOrderV3(requestParameters: OrdersApiCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CancelOrderResponse, any>>;
|
|
9020
|
+
/**
|
|
9021
|
+
* Create an order. Use https://docs.x.immutable.com/reference#/operations/getSignableOrder to get request body params.
|
|
7984
9022
|
* @summary Create an order
|
|
7985
9023
|
* @param {OrdersApiCreateOrderRequest} requestParameters Request parameters.
|
|
7986
9024
|
* @param {*} [options] Override http request option.
|
|
@@ -7989,14 +9027,32 @@ declare class OrdersApi extends BaseAPI {
|
|
|
7989
9027
|
*/
|
|
7990
9028
|
createOrder(requestParameters: OrdersApiCreateOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateOrderResponse, any>>;
|
|
7991
9029
|
/**
|
|
7992
|
-
*
|
|
7993
|
-
* @summary
|
|
9030
|
+
* Create an order using the v3 orderbook. Currently only buy NFT orders are supported.
|
|
9031
|
+
* @summary Create an order (V3)
|
|
9032
|
+
* @param {OrdersApiCreateOrderV3Request} requestParameters Request parameters.
|
|
9033
|
+
* @param {*} [options] Override http request option.
|
|
9034
|
+
* @throws {RequiredError}
|
|
9035
|
+
* @memberof OrdersApi
|
|
9036
|
+
*/
|
|
9037
|
+
createOrderV3(requestParameters: OrdersApiCreateOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateOrderResponse, any>>;
|
|
9038
|
+
/**
|
|
9039
|
+
* Get an order
|
|
9040
|
+
* @summary Get an order
|
|
7994
9041
|
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
7995
9042
|
* @param {*} [options] Override http request option.
|
|
7996
9043
|
* @throws {RequiredError}
|
|
7997
9044
|
* @memberof OrdersApi
|
|
7998
9045
|
*/
|
|
7999
9046
|
getOrder(requestParameters: OrdersApiGetOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Order, any>>;
|
|
9047
|
+
/**
|
|
9048
|
+
* Get an order (V3)
|
|
9049
|
+
* @summary Get an order (V3)
|
|
9050
|
+
* @param {OrdersApiGetOrderV3Request} requestParameters Request parameters.
|
|
9051
|
+
* @param {*} [options] Override http request option.
|
|
9052
|
+
* @throws {RequiredError}
|
|
9053
|
+
* @memberof OrdersApi
|
|
9054
|
+
*/
|
|
9055
|
+
getOrderV3(requestParameters: OrdersApiGetOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<OrderV3, any>>;
|
|
8000
9056
|
/**
|
|
8001
9057
|
* Get a signable cancel order message
|
|
8002
9058
|
* @summary Get a signable cancel order message
|
|
@@ -8006,6 +9062,15 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8006
9062
|
* @memberof OrdersApi
|
|
8007
9063
|
*/
|
|
8008
9064
|
getSignableCancelOrder(requestParameters: OrdersApiGetSignableCancelOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableCancelOrderResponse, any>>;
|
|
9065
|
+
/**
|
|
9066
|
+
* Get a signable cancel order message (V3)
|
|
9067
|
+
* @summary Get a signable cancel order message (V3)
|
|
9068
|
+
* @param {OrdersApiGetSignableCancelOrderV3Request} requestParameters Request parameters.
|
|
9069
|
+
* @param {*} [options] Override http request option.
|
|
9070
|
+
* @throws {RequiredError}
|
|
9071
|
+
* @memberof OrdersApi
|
|
9072
|
+
*/
|
|
9073
|
+
getSignableCancelOrderV3(requestParameters: OrdersApiGetSignableCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableCancelOrderResponse, any>>;
|
|
8009
9074
|
/**
|
|
8010
9075
|
* Get a signable order request (V3)
|
|
8011
9076
|
* @summary Get a signable order request (V3)
|
|
@@ -8024,6 +9089,15 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8024
9089
|
* @memberof OrdersApi
|
|
8025
9090
|
*/
|
|
8026
9091
|
listOrders(requestParameters?: OrdersApiListOrdersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListOrdersResponse, any>>;
|
|
9092
|
+
/**
|
|
9093
|
+
* Get a list of orders (V3)
|
|
9094
|
+
* @summary Get a list of orders (V3)
|
|
9095
|
+
* @param {OrdersApiListOrdersV3Request} requestParameters Request parameters.
|
|
9096
|
+
* @param {*} [options] Override http request option.
|
|
9097
|
+
* @throws {RequiredError}
|
|
9098
|
+
* @memberof OrdersApi
|
|
9099
|
+
*/
|
|
9100
|
+
listOrdersV3(requestParameters?: OrdersApiListOrdersV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<ListOrdersResponseV3, any>>;
|
|
8027
9101
|
}
|
|
8028
9102
|
/**
|
|
8029
9103
|
* Request parameters for createProject operation in ProjectsApi.
|
|
@@ -8266,6 +9340,37 @@ interface TradesApiCreateTradeRequest {
|
|
|
8266
9340
|
*/
|
|
8267
9341
|
readonly authorization?: string;
|
|
8268
9342
|
}
|
|
9343
|
+
/**
|
|
9344
|
+
* Request parameters for createTradeV3 operation in TradesApi.
|
|
9345
|
+
* @export
|
|
9346
|
+
* @interface TradesApiCreateTradeV3Request
|
|
9347
|
+
*/
|
|
9348
|
+
interface TradesApiCreateTradeV3Request {
|
|
9349
|
+
/**
|
|
9350
|
+
* create a trade
|
|
9351
|
+
* @type {TradesCreateTradeRequest}
|
|
9352
|
+
* @memberof TradesApiCreateTradeV3
|
|
9353
|
+
*/
|
|
9354
|
+
readonly createTradeRequest: TradesCreateTradeRequest;
|
|
9355
|
+
/**
|
|
9356
|
+
* eth address
|
|
9357
|
+
* @type {string}
|
|
9358
|
+
* @memberof TradesApiCreateTradeV3
|
|
9359
|
+
*/
|
|
9360
|
+
readonly xImxEthAddress?: string;
|
|
9361
|
+
/**
|
|
9362
|
+
* eth signature
|
|
9363
|
+
* @type {string}
|
|
9364
|
+
* @memberof TradesApiCreateTradeV3
|
|
9365
|
+
*/
|
|
9366
|
+
readonly xImxEthSignature?: string;
|
|
9367
|
+
/**
|
|
9368
|
+
* Authorization header
|
|
9369
|
+
* @type {string}
|
|
9370
|
+
* @memberof TradesApiCreateTradeV3
|
|
9371
|
+
*/
|
|
9372
|
+
readonly authorization?: string;
|
|
9373
|
+
}
|
|
8269
9374
|
/**
|
|
8270
9375
|
* Request parameters for getSignableTrade operation in TradesApi.
|
|
8271
9376
|
* @export
|
|
@@ -8342,10 +9447,10 @@ interface TradesApiListTradesRequest {
|
|
|
8342
9447
|
readonly cursor?: string;
|
|
8343
9448
|
/**
|
|
8344
9449
|
* Property to sort by
|
|
8345
|
-
* @type {
|
|
9450
|
+
* @type {'created_at' | 'updated_at' | 'transaction_id' | 'party_a_sold_quantity' | 'party_b_sold_quantity'}
|
|
8346
9451
|
* @memberof TradesApiListTrades
|
|
8347
9452
|
*/
|
|
8348
|
-
readonly orderBy?:
|
|
9453
|
+
readonly orderBy?: 'created_at' | 'updated_at' | 'transaction_id' | 'party_a_sold_quantity' | 'party_b_sold_quantity';
|
|
8349
9454
|
/**
|
|
8350
9455
|
* Direction to sort (asc/desc)
|
|
8351
9456
|
* @type {string}
|
|
@@ -8365,6 +9470,79 @@ interface TradesApiListTradesRequest {
|
|
|
8365
9470
|
*/
|
|
8366
9471
|
readonly maxTimestamp?: string;
|
|
8367
9472
|
}
|
|
9473
|
+
/**
|
|
9474
|
+
* Request parameters for listTradesV3 operation in TradesApi.
|
|
9475
|
+
* @export
|
|
9476
|
+
* @interface TradesApiListTradesV3Request
|
|
9477
|
+
*/
|
|
9478
|
+
interface TradesApiListTradesV3Request {
|
|
9479
|
+
/**
|
|
9480
|
+
* Party A\'s (buy order) token type of currency used to buy
|
|
9481
|
+
* @type {string}
|
|
9482
|
+
* @memberof TradesApiListTradesV3
|
|
9483
|
+
*/
|
|
9484
|
+
readonly partyATokenType?: string;
|
|
9485
|
+
/**
|
|
9486
|
+
* Party A\'s (buy order) token address of currency used to buy
|
|
9487
|
+
* @type {string}
|
|
9488
|
+
* @memberof TradesApiListTradesV3
|
|
9489
|
+
*/
|
|
9490
|
+
readonly partyATokenAddress?: string;
|
|
9491
|
+
/**
|
|
9492
|
+
* Party B\'s (sell order) token type of NFT sold - always ERC721
|
|
9493
|
+
* @type {string}
|
|
9494
|
+
* @memberof TradesApiListTradesV3
|
|
9495
|
+
*/
|
|
9496
|
+
readonly partyBTokenType?: string;
|
|
9497
|
+
/**
|
|
9498
|
+
* Party B\'s (sell order) collection address of NFT sold
|
|
9499
|
+
* @type {string}
|
|
9500
|
+
* @memberof TradesApiListTradesV3
|
|
9501
|
+
*/
|
|
9502
|
+
readonly partyBTokenAddress?: string;
|
|
9503
|
+
/**
|
|
9504
|
+
* Party B\'s (sell order) token id of NFT sold
|
|
9505
|
+
* @type {string}
|
|
9506
|
+
* @memberof TradesApiListTradesV3
|
|
9507
|
+
*/
|
|
9508
|
+
readonly partyBTokenId?: string;
|
|
9509
|
+
/**
|
|
9510
|
+
* Page size of the result
|
|
9511
|
+
* @type {number}
|
|
9512
|
+
* @memberof TradesApiListTradesV3
|
|
9513
|
+
*/
|
|
9514
|
+
readonly pageSize?: number;
|
|
9515
|
+
/**
|
|
9516
|
+
* Cursor
|
|
9517
|
+
* @type {string}
|
|
9518
|
+
* @memberof TradesApiListTradesV3
|
|
9519
|
+
*/
|
|
9520
|
+
readonly cursor?: string;
|
|
9521
|
+
/**
|
|
9522
|
+
* Property to sort by
|
|
9523
|
+
* @type {'created_at' | 'updated_at' | 'transaction_id' | 'party_a_sold_quantity' | 'party_b_sold_quantity' | 'timestamp' | 'updated_timestamp'}
|
|
9524
|
+
* @memberof TradesApiListTradesV3
|
|
9525
|
+
*/
|
|
9526
|
+
readonly orderBy?: 'created_at' | 'updated_at' | 'transaction_id' | 'party_a_sold_quantity' | 'party_b_sold_quantity' | 'timestamp' | 'updated_timestamp';
|
|
9527
|
+
/**
|
|
9528
|
+
* Direction to sort (asc/desc)
|
|
9529
|
+
* @type {string}
|
|
9530
|
+
* @memberof TradesApiListTradesV3
|
|
9531
|
+
*/
|
|
9532
|
+
readonly direction?: string;
|
|
9533
|
+
/**
|
|
9534
|
+
* Minimum timestamp for this trade, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
9535
|
+
* @type {string}
|
|
9536
|
+
* @memberof TradesApiListTradesV3
|
|
9537
|
+
*/
|
|
9538
|
+
readonly minTimestamp?: string;
|
|
9539
|
+
/**
|
|
9540
|
+
* Maximum timestamp for this trade, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
9541
|
+
* @type {string}
|
|
9542
|
+
* @memberof TradesApiListTradesV3
|
|
9543
|
+
*/
|
|
9544
|
+
readonly maxTimestamp?: string;
|
|
9545
|
+
}
|
|
8368
9546
|
/**
|
|
8369
9547
|
* TradesApi - object-oriented interface
|
|
8370
9548
|
* @export
|
|
@@ -8373,7 +9551,7 @@ interface TradesApiListTradesRequest {
|
|
|
8373
9551
|
*/
|
|
8374
9552
|
declare class TradesApi extends BaseAPI {
|
|
8375
9553
|
/**
|
|
8376
|
-
* Create a
|
|
9554
|
+
* Create a trade. Use https://docs.x.immutable.com/reference#/operations/getSignableTrade to get request body params.
|
|
8377
9555
|
* @summary Create a Trade between two parties
|
|
8378
9556
|
* @param {TradesApiCreateTradeRequest} requestParameters Request parameters.
|
|
8379
9557
|
* @param {*} [options] Override http request option.
|
|
@@ -8381,6 +9559,15 @@ declare class TradesApi extends BaseAPI {
|
|
|
8381
9559
|
* @memberof TradesApi
|
|
8382
9560
|
*/
|
|
8383
9561
|
createTrade(requestParameters: TradesApiCreateTradeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTradeResponse, any>>;
|
|
9562
|
+
/**
|
|
9563
|
+
* Create a Trade. Currently only buy order is supported.
|
|
9564
|
+
* @summary Create a Trade (V3)
|
|
9565
|
+
* @param {TradesApiCreateTradeV3Request} requestParameters Request parameters.
|
|
9566
|
+
* @param {*} [options] Override http request option.
|
|
9567
|
+
* @throws {RequiredError}
|
|
9568
|
+
* @memberof TradesApi
|
|
9569
|
+
*/
|
|
9570
|
+
createTradeV3(requestParameters: TradesApiCreateTradeV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTradeResponse, any>>;
|
|
8384
9571
|
/**
|
|
8385
9572
|
* Get a signable trade V3 message
|
|
8386
9573
|
* @summary Get a signable trade V3 message
|
|
@@ -8408,6 +9595,15 @@ declare class TradesApi extends BaseAPI {
|
|
|
8408
9595
|
* @memberof TradesApi
|
|
8409
9596
|
*/
|
|
8410
9597
|
listTrades(requestParameters?: TradesApiListTradesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTradesResponse, any>>;
|
|
9598
|
+
/**
|
|
9599
|
+
* Get a list of trades (V3)
|
|
9600
|
+
* @summary Get a list of trades (V3)
|
|
9601
|
+
* @param {TradesApiListTradesV3Request} requestParameters Request parameters.
|
|
9602
|
+
* @param {*} [options] Override http request option.
|
|
9603
|
+
* @throws {RequiredError}
|
|
9604
|
+
* @memberof TradesApi
|
|
9605
|
+
*/
|
|
9606
|
+
listTradesV3(requestParameters?: TradesApiListTradesV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTradesResponse, any>>;
|
|
8411
9607
|
}
|
|
8412
9608
|
/**
|
|
8413
9609
|
* Request parameters for createTransfer operation in TransfersApi.
|
|
@@ -8627,7 +9823,7 @@ interface TransfersApiListTransfersRequest {
|
|
|
8627
9823
|
*/
|
|
8628
9824
|
declare class TransfersApi extends BaseAPI {
|
|
8629
9825
|
/**
|
|
8630
|
-
* Create a new transfer request
|
|
9826
|
+
* Create a new transfer request.
|
|
8631
9827
|
* @summary Creates a transfer of multiple tokens between two parties
|
|
8632
9828
|
* @param {TransfersApiCreateTransferRequest} requestParameters Request parameters.
|
|
8633
9829
|
* @param {*} [options] Override http request option.
|
|
@@ -8636,7 +9832,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
8636
9832
|
*/
|
|
8637
9833
|
createTransfer(requestParameters: TransfersApiCreateTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTransferResponse, any>>;
|
|
8638
9834
|
/**
|
|
8639
|
-
* Create a new transfer request
|
|
9835
|
+
* Create a new transfer request.
|
|
8640
9836
|
* @summary Creates a transfer of tokens between two parties
|
|
8641
9837
|
* @param {TransfersApiCreateTransferV1Request} requestParameters Request parameters.
|
|
8642
9838
|
* @param {*} [options] Override http request option.
|
|
@@ -8979,7 +10175,7 @@ interface WithdrawalsApiListWithdrawalsRequest {
|
|
|
8979
10175
|
*/
|
|
8980
10176
|
declare class WithdrawalsApi extends BaseAPI {
|
|
8981
10177
|
/**
|
|
8982
|
-
* Creates a withdrawal
|
|
10178
|
+
* Creates a withdrawal.
|
|
8983
10179
|
* @summary Creates a withdrawal of a token
|
|
8984
10180
|
* @param {WithdrawalsApiCreateWithdrawalRequest} requestParameters Request parameters.
|
|
8985
10181
|
* @param {*} [options] Override http request option.
|
|
@@ -9093,30 +10289,25 @@ interface ImmutableXConfiguration {
|
|
|
9093
10289
|
/**
|
|
9094
10290
|
* The configuration for the API client
|
|
9095
10291
|
*/
|
|
9096
|
-
apiConfiguration: Configuration
|
|
10292
|
+
apiConfiguration: Configuration;
|
|
9097
10293
|
/**
|
|
9098
10294
|
* The configuration for the Ethereum network
|
|
9099
10295
|
*/
|
|
9100
10296
|
ethConfiguration: EthConfiguration;
|
|
9101
10297
|
}
|
|
9102
10298
|
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
SANDBOX = "sandbox",
|
|
9106
|
-
PRODUCTION = "production"
|
|
10299
|
+
interface StarkExOverrides {
|
|
10300
|
+
immutableXConfig: ImmutableXConfiguration;
|
|
9107
10301
|
}
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
constructor(
|
|
9114
|
-
getStarkExConfig(): StarkExConfig;
|
|
10302
|
+
interface StarkExModuleConfiguration extends ModuleConfiguration<StarkExOverrides> {
|
|
10303
|
+
}
|
|
10304
|
+
declare class StarkExConfiguration {
|
|
10305
|
+
readonly immutableXConfig: ImmutableXConfiguration;
|
|
10306
|
+
readonly baseConfig: ImmutableConfiguration;
|
|
10307
|
+
constructor({ baseConfig, overrides }: StarkExModuleConfiguration);
|
|
9115
10308
|
}
|
|
9116
|
-
declare const PRODUCTION: StarkExConfig;
|
|
9117
|
-
declare const SANDBOX: StarkExConfig;
|
|
9118
10309
|
|
|
9119
|
-
declare const StarkExAPIFactory: (config:
|
|
10310
|
+
declare const StarkExAPIFactory: (config: StarkExConfiguration) => {
|
|
9120
10311
|
depositsApi: DepositsApi;
|
|
9121
10312
|
mintsApi: MintsApi;
|
|
9122
10313
|
ordersApi: OrdersApi;
|
|
@@ -9223,7 +10414,7 @@ interface IMXProvider {
|
|
|
9223
10414
|
declare class GenericIMXProvider implements IMXProvider {
|
|
9224
10415
|
private readonly config;
|
|
9225
10416
|
private readonly signers;
|
|
9226
|
-
constructor(config:
|
|
10417
|
+
constructor(config: ProviderConfiguration$1, ethSigner: Signer, starkExSigner: StarkSigner);
|
|
9227
10418
|
getAddress(): Promise<string>;
|
|
9228
10419
|
registerOffchain(): Promise<RegisterUserResponse>;
|
|
9229
10420
|
batchNftTransfer(request: Array<NftTransferDetails>): Promise<CreateTransferResponse>;
|
|
@@ -9240,12 +10431,23 @@ declare class GenericIMXProvider implements IMXProvider {
|
|
|
9240
10431
|
|
|
9241
10432
|
declare class MetaMaskIMXProvider extends GenericIMXProvider {
|
|
9242
10433
|
private static imxSigner;
|
|
9243
|
-
constructor(config:
|
|
9244
|
-
static connect(config:
|
|
10434
|
+
constructor(config: ProviderConfiguration$1, ethSigner: Signer, starkExSigner: StarkSigner);
|
|
10435
|
+
static connect(config: ProviderConfiguration$1): Promise<MetaMaskIMXProvider>;
|
|
9245
10436
|
static disconnect(): Promise<void>;
|
|
9246
10437
|
static signMessage(message: string): Promise<string>;
|
|
9247
10438
|
}
|
|
9248
10439
|
|
|
10440
|
+
interface ProviderOverrides {
|
|
10441
|
+
immutableXConfig: ImmutableXConfiguration;
|
|
10442
|
+
}
|
|
10443
|
+
interface ProviderModuleConfiguration extends ModuleConfiguration<ProviderOverrides> {
|
|
10444
|
+
}
|
|
10445
|
+
declare class ProviderConfiguration {
|
|
10446
|
+
readonly immutableXConfig: ImmutableXConfiguration;
|
|
10447
|
+
readonly baseConfig: ImmutableConfiguration;
|
|
10448
|
+
constructor({ baseConfig, overrides }: ProviderModuleConfiguration);
|
|
10449
|
+
}
|
|
10450
|
+
|
|
9249
10451
|
declare enum PassportErrorType {
|
|
9250
10452
|
AUTHENTICATION_ERROR = "AUTHENTICATION_ERROR",
|
|
9251
10453
|
INVALID_CONFIGURATION = "INVALID_CONFIGURATION",
|
|
@@ -9275,14 +10477,6 @@ declare enum Networks {
|
|
|
9275
10477
|
PRODUCTION = "mainnet",
|
|
9276
10478
|
SANDBOX = "goerli"
|
|
9277
10479
|
}
|
|
9278
|
-
interface EnvironmentConfiguration {
|
|
9279
|
-
network: Networks;
|
|
9280
|
-
authenticationDomain: string;
|
|
9281
|
-
magicPublishableApiKey: string;
|
|
9282
|
-
magicProviderId: string;
|
|
9283
|
-
baseIMXApiPath: string;
|
|
9284
|
-
passportDomain: string;
|
|
9285
|
-
}
|
|
9286
10480
|
interface OidcConfiguration {
|
|
9287
10481
|
clientId: string;
|
|
9288
10482
|
logoutRedirectUri: string;
|
|
@@ -9290,12 +10484,22 @@ interface OidcConfiguration {
|
|
|
9290
10484
|
scope?: string;
|
|
9291
10485
|
audience?: string;
|
|
9292
10486
|
}
|
|
10487
|
+
interface PassportOverrides {
|
|
10488
|
+
network: Networks;
|
|
10489
|
+
authenticationDomain: string;
|
|
10490
|
+
magicPublishableApiKey: string;
|
|
10491
|
+
magicProviderId: string;
|
|
10492
|
+
passportDomain: string;
|
|
10493
|
+
imxApiBasePath: string;
|
|
10494
|
+
}
|
|
10495
|
+
interface PassportModuleConfiguration extends ModuleConfiguration<PassportOverrides>, OidcConfiguration {
|
|
10496
|
+
}
|
|
9293
10497
|
|
|
9294
10498
|
declare class Passport {
|
|
9295
10499
|
private authManager;
|
|
9296
10500
|
private magicAdapter;
|
|
9297
10501
|
private readonly config;
|
|
9298
|
-
constructor(
|
|
10502
|
+
constructor(passportModuleConfiguration: PassportModuleConfiguration);
|
|
9299
10503
|
connectImx(): Promise<IMXProvider>;
|
|
9300
10504
|
loginCallback(): Promise<void>;
|
|
9301
10505
|
logout(): Promise<void>;
|
|
@@ -9305,10 +10509,17 @@ declare class Passport {
|
|
|
9305
10509
|
private registerUser;
|
|
9306
10510
|
}
|
|
9307
10511
|
|
|
9308
|
-
declare
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
10512
|
+
declare class PassportConfiguration {
|
|
10513
|
+
readonly network: Networks;
|
|
10514
|
+
readonly authenticationDomain: string;
|
|
10515
|
+
readonly passportDomain: string;
|
|
10516
|
+
readonly magicPublishableApiKey: string;
|
|
10517
|
+
readonly magicProviderId: string;
|
|
10518
|
+
readonly imxApiBasePath: string;
|
|
10519
|
+
readonly oidcConfiguration: OidcConfiguration;
|
|
10520
|
+
readonly baseConfig: ImmutableConfiguration;
|
|
10521
|
+
constructor({ baseConfig, overrides, ...oidcConfiguration }: PassportModuleConfiguration);
|
|
10522
|
+
}
|
|
9312
10523
|
|
|
9313
10524
|
interface TokenInfo {
|
|
9314
10525
|
name: string;
|
|
@@ -9318,11 +10529,21 @@ interface TokenInfo {
|
|
|
9318
10529
|
icon?: string;
|
|
9319
10530
|
}
|
|
9320
10531
|
interface GetTokenAllowListParams {
|
|
10532
|
+
type: TokenFilterTypes;
|
|
9321
10533
|
chainId: ChainId;
|
|
10534
|
+
exclude?: TokenFilter[];
|
|
9322
10535
|
}
|
|
9323
10536
|
interface GetTokenAllowListResult {
|
|
9324
10537
|
tokens: TokenInfo[];
|
|
9325
10538
|
}
|
|
10539
|
+
declare enum TokenFilterTypes {
|
|
10540
|
+
SWAP = "swap",
|
|
10541
|
+
BRIDGE = "bridge",
|
|
10542
|
+
ALL = "all"
|
|
10543
|
+
}
|
|
10544
|
+
interface TokenFilter {
|
|
10545
|
+
address: string;
|
|
10546
|
+
}
|
|
9326
10547
|
declare enum ChainId {
|
|
9327
10548
|
ETHEREUM = 1,
|
|
9328
10549
|
GOERLI = 5,
|
|
@@ -9332,6 +10553,7 @@ interface NetworkInfo {
|
|
|
9332
10553
|
name: string;
|
|
9333
10554
|
chainId: number;
|
|
9334
10555
|
nativeCurrency: TokenInfo;
|
|
10556
|
+
isSupported: boolean;
|
|
9335
10557
|
}
|
|
9336
10558
|
interface SwitchNetworkParams {
|
|
9337
10559
|
provider: Web3Provider;
|
|
@@ -9340,6 +10562,22 @@ interface SwitchNetworkParams {
|
|
|
9340
10562
|
interface SwitchNetworkResult {
|
|
9341
10563
|
network: NetworkInfo;
|
|
9342
10564
|
}
|
|
10565
|
+
interface GetNetworkParams {
|
|
10566
|
+
provider: Web3Provider;
|
|
10567
|
+
}
|
|
10568
|
+
declare enum NetworkFilterTypes {
|
|
10569
|
+
ALL = "all"
|
|
10570
|
+
}
|
|
10571
|
+
interface NetworkFilter {
|
|
10572
|
+
chainId: ChainId;
|
|
10573
|
+
}
|
|
10574
|
+
interface GetNetworkAllowListParams {
|
|
10575
|
+
type: NetworkFilterTypes;
|
|
10576
|
+
exclude?: NetworkFilter[];
|
|
10577
|
+
}
|
|
10578
|
+
interface GetNetworkAllowListResult {
|
|
10579
|
+
networks: NetworkInfo[];
|
|
10580
|
+
}
|
|
9343
10581
|
interface GetBalanceParams {
|
|
9344
10582
|
provider: Web3Provider;
|
|
9345
10583
|
walletAddress: string;
|
|
@@ -9392,14 +10630,38 @@ interface Transaction {
|
|
|
9392
10630
|
data: string;
|
|
9393
10631
|
chainId: number;
|
|
9394
10632
|
}
|
|
10633
|
+
declare enum WalletFilterTypes {
|
|
10634
|
+
ALL = "all",
|
|
10635
|
+
DESKTOP = "desktop",
|
|
10636
|
+
MOBILE = "mobile"
|
|
10637
|
+
}
|
|
10638
|
+
interface WalletFilter {
|
|
10639
|
+
connectionProvider: ConnectionProviders;
|
|
10640
|
+
}
|
|
10641
|
+
interface GetWalletAllowListParams {
|
|
10642
|
+
type: WalletFilterTypes;
|
|
10643
|
+
exclude?: WalletFilter[];
|
|
10644
|
+
}
|
|
10645
|
+
interface WalletInfo {
|
|
10646
|
+
connectionProvider: ConnectionProviders;
|
|
10647
|
+
name: string;
|
|
10648
|
+
description: string;
|
|
10649
|
+
icon: string;
|
|
10650
|
+
}
|
|
10651
|
+
interface GetWalletAllowListResult {
|
|
10652
|
+
wallets: WalletInfo[];
|
|
10653
|
+
}
|
|
9395
10654
|
declare class Checkout {
|
|
9396
10655
|
checkIsWalletConnected(params: CheckConnectionParams): Promise<CheckConnectionResult>;
|
|
9397
10656
|
connect(params: ConnectParams): Promise<ConnectResult>;
|
|
9398
10657
|
switchNetwork(params: SwitchNetworkParams): Promise<SwitchNetworkResult>;
|
|
9399
10658
|
getBalance(params: GetBalanceParams): Promise<GetBalanceResult>;
|
|
9400
10659
|
getAllBalances(params: GetAllBalancesParams): Promise<GetAllBalancesResult>;
|
|
9401
|
-
|
|
10660
|
+
getNetworkAllowList(params: GetNetworkAllowListParams): Promise<GetNetworkAllowListResult>;
|
|
10661
|
+
getTokenAllowList(params: GetTokenAllowListParams): Promise<GetTokenAllowListResult>;
|
|
10662
|
+
getWalletsAllowList(params: GetWalletAllowListParams): Promise<GetWalletAllowListResult>;
|
|
9402
10663
|
sendTransaction(params: SendTransactionParams): Promise<SendTransactionResult>;
|
|
10664
|
+
getNetworkInfo(params: GetNetworkParams): Promise<NetworkInfo>;
|
|
9403
10665
|
}
|
|
9404
10666
|
|
|
9405
10667
|
interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime = string & {}> {
|
|
@@ -21768,7 +23030,9 @@ declare namespace React {
|
|
|
21768
23030
|
interface DOMAttributes<T> {
|
|
21769
23031
|
children?: ReactNode | undefined;
|
|
21770
23032
|
dangerouslySetInnerHTML?: {
|
|
21771
|
-
|
|
23033
|
+
// Should be InnerHTML['innerHTML'].
|
|
23034
|
+
// But unfortunately we're mixing renderer-specific type declarations.
|
|
23035
|
+
__html: string | TrustedHTML;
|
|
21772
23036
|
} | undefined;
|
|
21773
23037
|
|
|
21774
23038
|
// Clipboard Events
|
|
@@ -23718,7 +24982,8 @@ declare enum IMTBLWidgetEvents {
|
|
|
23718
24982
|
}
|
|
23719
24983
|
declare enum ConnectEventType {
|
|
23720
24984
|
SUCCESS = "success",
|
|
23721
|
-
FAILURE = "failure"
|
|
24985
|
+
FAILURE = "failure",
|
|
24986
|
+
CLOSE_WIDGET = "close-widget"
|
|
23722
24987
|
}
|
|
23723
24988
|
type ConnectEvent<T> = {
|
|
23724
24989
|
type: ConnectEventType;
|
|
@@ -23726,11 +24991,9 @@ type ConnectEvent<T> = {
|
|
|
23726
24991
|
};
|
|
23727
24992
|
type ConnectionSuccess = {
|
|
23728
24993
|
providerPreference: ConnectionProviders;
|
|
23729
|
-
timestamp: number;
|
|
23730
24994
|
};
|
|
23731
24995
|
type ConnectionFailed = {
|
|
23732
24996
|
reason: string;
|
|
23733
|
-
timestamp: number;
|
|
23734
24997
|
};
|
|
23735
24998
|
declare enum WalletEventType {
|
|
23736
24999
|
CLOSE_WIDGET = "close-widget",
|
|
@@ -23827,6 +25090,10 @@ interface ImtblBuyProps extends undefined<undefined<HTMLElement>, HTMLElement> {
|
|
|
23827
25090
|
theme: string;
|
|
23828
25091
|
orderId: string;
|
|
23829
25092
|
}
|
|
25093
|
+
interface ImtblTransitionExampleProps extends undefined<undefined<HTMLElement>, HTMLElement> {
|
|
25094
|
+
providerPreference: string;
|
|
25095
|
+
theme: string;
|
|
25096
|
+
}
|
|
23830
25097
|
declare enum Network {
|
|
23831
25098
|
ETHEREUM = "Ethereum",
|
|
23832
25099
|
GOERLI = "Goerli",
|
|
@@ -23838,4 +25105,4 @@ declare enum WidgetTheme {
|
|
|
23838
25105
|
CUSTOM = "custom"
|
|
23839
25106
|
}
|
|
23840
25107
|
|
|
23841
|
-
export { BridgeEvent, BridgeEventType, BridgeFailed, BridgeSuccess, BuyClose, BuyEvent, BuyEventType, BuyFailed, BuyNotConnected, BuySuccess, ChainId, CheckConnectionParams, CheckConnectionResult, Checkout,
|
|
25108
|
+
export { BridgeEvent, BridgeEventType, BridgeFailed, BridgeSuccess, BuyClose, BuyEvent, BuyEventType, BuyFailed, BuyNotConnected, BuySuccess, ChainId, CheckConnectionParams, CheckConnectionResult, Checkout, ConnectEvent, ConnectEventType, ConnectParams, ConnectResult, ConnectionFailed, ConnectionProviders, ConnectionSuccess, Environment, GenericIMXProvider, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetTokenAllowListParams, GetTokenAllowListResult, GetWalletAllowListParams, GetWalletAllowListResult, IMTBLWidgetEvents, IMXProvider, ImmutableConfiguration, ImtblBridgeProps, ImtblBuyProps, ImtblConnectProps, ImtblExampleProps, ImtblSwapProps, ImtblTransitionExampleProps, ImtblWalletProps, MetaMaskIMXProvider, ModuleConfiguration, Network, NetworkFilter, NetworkFilterTypes, NetworkInfo, Passport, PassportConfiguration, PassportError, ProviderConfiguration, SendTransactionParams, SendTransactionResult, StarkExAPIFactory, StarkExConfiguration, StarkExOverrides, SwapEvent, SwapEventType, SwapFailed, SwapSuccess, SwitchNetworkParams, SwitchNetworkResult, TokenFilter, TokenFilterTypes, TokenInfo, WalletEvent, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitchEvent, WidgetTheme };
|