@xchainjs/xchain-thornode 0.1.0-alpha → 0.1.0-alpha4
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/CHANGELOG.md +21 -0
- package/README.md +5 -4
- package/lib/generated/thornodeApi/api.d.ts +597 -427
- package/lib/index.esm.js +253 -126
- package/lib/index.js +260 -125
- package/package.json +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -1248,6 +1248,258 @@ class NetworkApi extends BaseAPI {
|
|
|
1248
1248
|
return NetworkApiFp(this.configuration).version(height, options).then((request) => request(this.axios, this.basePath));
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
|
+
/**
|
|
1252
|
+
* NodesApi - axios parameter creator
|
|
1253
|
+
* @export
|
|
1254
|
+
*/
|
|
1255
|
+
const NodesApiAxiosParamCreator = function (configuration) {
|
|
1256
|
+
return {
|
|
1257
|
+
/**
|
|
1258
|
+
* Returns node information for the provided node address.
|
|
1259
|
+
* @param {string} address
|
|
1260
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1261
|
+
* @param {*} [options] Override http request option.
|
|
1262
|
+
* @throws {RequiredError}
|
|
1263
|
+
*/
|
|
1264
|
+
node: (address, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1265
|
+
// verify required parameter 'address' is not null or undefined
|
|
1266
|
+
assertParamExists('node', 'address', address);
|
|
1267
|
+
const localVarPath = `/thorchain/node/{address}`
|
|
1268
|
+
.replace(`{${"address"}}`, encodeURIComponent(String(address)));
|
|
1269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1270
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1271
|
+
let baseOptions;
|
|
1272
|
+
if (configuration) {
|
|
1273
|
+
baseOptions = configuration.baseOptions;
|
|
1274
|
+
}
|
|
1275
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1276
|
+
const localVarHeaderParameter = {};
|
|
1277
|
+
const localVarQueryParameter = {};
|
|
1278
|
+
if (height !== undefined) {
|
|
1279
|
+
localVarQueryParameter['height'] = height;
|
|
1280
|
+
}
|
|
1281
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1282
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1283
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1284
|
+
return {
|
|
1285
|
+
url: toPathString(localVarUrlObj),
|
|
1286
|
+
options: localVarRequestOptions,
|
|
1287
|
+
};
|
|
1288
|
+
}),
|
|
1289
|
+
/**
|
|
1290
|
+
* Returns node information for all registered validators.
|
|
1291
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1292
|
+
* @param {*} [options] Override http request option.
|
|
1293
|
+
* @throws {RequiredError}
|
|
1294
|
+
*/
|
|
1295
|
+
nodes: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1296
|
+
const localVarPath = `/thorchain/nodes`;
|
|
1297
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1298
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1299
|
+
let baseOptions;
|
|
1300
|
+
if (configuration) {
|
|
1301
|
+
baseOptions = configuration.baseOptions;
|
|
1302
|
+
}
|
|
1303
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1304
|
+
const localVarHeaderParameter = {};
|
|
1305
|
+
const localVarQueryParameter = {};
|
|
1306
|
+
if (height !== undefined) {
|
|
1307
|
+
localVarQueryParameter['height'] = height;
|
|
1308
|
+
}
|
|
1309
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1310
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1311
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1312
|
+
return {
|
|
1313
|
+
url: toPathString(localVarUrlObj),
|
|
1314
|
+
options: localVarRequestOptions,
|
|
1315
|
+
};
|
|
1316
|
+
}),
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* NodesApi - functional programming interface
|
|
1321
|
+
* @export
|
|
1322
|
+
*/
|
|
1323
|
+
const NodesApiFp = function (configuration) {
|
|
1324
|
+
const localVarAxiosParamCreator = NodesApiAxiosParamCreator(configuration);
|
|
1325
|
+
return {
|
|
1326
|
+
/**
|
|
1327
|
+
* Returns node information for the provided node address.
|
|
1328
|
+
* @param {string} address
|
|
1329
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
*/
|
|
1333
|
+
node(address, height, options) {
|
|
1334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1335
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.node(address, height, options);
|
|
1336
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1337
|
+
});
|
|
1338
|
+
},
|
|
1339
|
+
/**
|
|
1340
|
+
* Returns node information for all registered validators.
|
|
1341
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1342
|
+
* @param {*} [options] Override http request option.
|
|
1343
|
+
* @throws {RequiredError}
|
|
1344
|
+
*/
|
|
1345
|
+
nodes(height, options) {
|
|
1346
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1347
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.nodes(height, options);
|
|
1348
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1349
|
+
});
|
|
1350
|
+
},
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1354
|
+
* NodesApi - factory interface
|
|
1355
|
+
* @export
|
|
1356
|
+
*/
|
|
1357
|
+
const NodesApiFactory = function (configuration, basePath, axios) {
|
|
1358
|
+
const localVarFp = NodesApiFp(configuration);
|
|
1359
|
+
return {
|
|
1360
|
+
/**
|
|
1361
|
+
* Returns node information for the provided node address.
|
|
1362
|
+
* @param {string} address
|
|
1363
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1364
|
+
* @param {*} [options] Override http request option.
|
|
1365
|
+
* @throws {RequiredError}
|
|
1366
|
+
*/
|
|
1367
|
+
node(address, height, options) {
|
|
1368
|
+
return localVarFp.node(address, height, options).then((request) => request(axios, basePath));
|
|
1369
|
+
},
|
|
1370
|
+
/**
|
|
1371
|
+
* Returns node information for all registered validators.
|
|
1372
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1373
|
+
* @param {*} [options] Override http request option.
|
|
1374
|
+
* @throws {RequiredError}
|
|
1375
|
+
*/
|
|
1376
|
+
nodes(height, options) {
|
|
1377
|
+
return localVarFp.nodes(height, options).then((request) => request(axios, basePath));
|
|
1378
|
+
},
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
/**
|
|
1382
|
+
* NodesApi - object-oriented interface
|
|
1383
|
+
* @export
|
|
1384
|
+
* @class NodesApi
|
|
1385
|
+
* @extends {BaseAPI}
|
|
1386
|
+
*/
|
|
1387
|
+
class NodesApi extends BaseAPI {
|
|
1388
|
+
/**
|
|
1389
|
+
* Returns node information for the provided node address.
|
|
1390
|
+
* @param {string} address
|
|
1391
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1392
|
+
* @param {*} [options] Override http request option.
|
|
1393
|
+
* @throws {RequiredError}
|
|
1394
|
+
* @memberof NodesApi
|
|
1395
|
+
*/
|
|
1396
|
+
node(address, height, options) {
|
|
1397
|
+
return NodesApiFp(this.configuration).node(address, height, options).then((request) => request(this.axios, this.basePath));
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* Returns node information for all registered validators.
|
|
1401
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1402
|
+
* @param {*} [options] Override http request option.
|
|
1403
|
+
* @throws {RequiredError}
|
|
1404
|
+
* @memberof NodesApi
|
|
1405
|
+
*/
|
|
1406
|
+
nodes(height, options) {
|
|
1407
|
+
return NodesApiFp(this.configuration).nodes(height, options).then((request) => request(this.axios, this.basePath));
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* POLApi - axios parameter creator
|
|
1412
|
+
* @export
|
|
1413
|
+
*/
|
|
1414
|
+
const POLApiAxiosParamCreator = function (configuration) {
|
|
1415
|
+
return {
|
|
1416
|
+
/**
|
|
1417
|
+
* Returns protocol owned liquidity overview statistics.
|
|
1418
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1419
|
+
* @param {*} [options] Override http request option.
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
*/
|
|
1422
|
+
pol: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1423
|
+
const localVarPath = `/thorchain/pol`;
|
|
1424
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1425
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1426
|
+
let baseOptions;
|
|
1427
|
+
if (configuration) {
|
|
1428
|
+
baseOptions = configuration.baseOptions;
|
|
1429
|
+
}
|
|
1430
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1431
|
+
const localVarHeaderParameter = {};
|
|
1432
|
+
const localVarQueryParameter = {};
|
|
1433
|
+
if (height !== undefined) {
|
|
1434
|
+
localVarQueryParameter['height'] = height;
|
|
1435
|
+
}
|
|
1436
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1437
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1438
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1439
|
+
return {
|
|
1440
|
+
url: toPathString(localVarUrlObj),
|
|
1441
|
+
options: localVarRequestOptions,
|
|
1442
|
+
};
|
|
1443
|
+
}),
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
/**
|
|
1447
|
+
* POLApi - functional programming interface
|
|
1448
|
+
* @export
|
|
1449
|
+
*/
|
|
1450
|
+
const POLApiFp = function (configuration) {
|
|
1451
|
+
const localVarAxiosParamCreator = POLApiAxiosParamCreator(configuration);
|
|
1452
|
+
return {
|
|
1453
|
+
/**
|
|
1454
|
+
* Returns protocol owned liquidity overview statistics.
|
|
1455
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1456
|
+
* @param {*} [options] Override http request option.
|
|
1457
|
+
* @throws {RequiredError}
|
|
1458
|
+
*/
|
|
1459
|
+
pol(height, options) {
|
|
1460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1461
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.pol(height, options);
|
|
1462
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1463
|
+
});
|
|
1464
|
+
},
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
/**
|
|
1468
|
+
* POLApi - factory interface
|
|
1469
|
+
* @export
|
|
1470
|
+
*/
|
|
1471
|
+
const POLApiFactory = function (configuration, basePath, axios) {
|
|
1472
|
+
const localVarFp = POLApiFp(configuration);
|
|
1473
|
+
return {
|
|
1474
|
+
/**
|
|
1475
|
+
* Returns protocol owned liquidity overview statistics.
|
|
1476
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1477
|
+
* @param {*} [options] Override http request option.
|
|
1478
|
+
* @throws {RequiredError}
|
|
1479
|
+
*/
|
|
1480
|
+
pol(height, options) {
|
|
1481
|
+
return localVarFp.pol(height, options).then((request) => request(axios, basePath));
|
|
1482
|
+
},
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
/**
|
|
1486
|
+
* POLApi - object-oriented interface
|
|
1487
|
+
* @export
|
|
1488
|
+
* @class POLApi
|
|
1489
|
+
* @extends {BaseAPI}
|
|
1490
|
+
*/
|
|
1491
|
+
class POLApi extends BaseAPI {
|
|
1492
|
+
/**
|
|
1493
|
+
* Returns protocol owned liquidity overview statistics.
|
|
1494
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
1495
|
+
* @param {*} [options] Override http request option.
|
|
1496
|
+
* @throws {RequiredError}
|
|
1497
|
+
* @memberof POLApi
|
|
1498
|
+
*/
|
|
1499
|
+
pol(height, options) {
|
|
1500
|
+
return POLApiFp(this.configuration).pol(height, options).then((request) => request(this.axios, this.basePath));
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1251
1503
|
/**
|
|
1252
1504
|
* PoolsApi - axios parameter creator
|
|
1253
1505
|
* @export
|
|
@@ -2008,66 +2260,6 @@ class ThornamesApi extends BaseAPI {
|
|
|
2008
2260
|
*/
|
|
2009
2261
|
const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
2010
2262
|
return {
|
|
2011
|
-
/**
|
|
2012
|
-
* Returns node information for the provided node address.
|
|
2013
|
-
* @param {string} address
|
|
2014
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2015
|
-
* @param {*} [options] Override http request option.
|
|
2016
|
-
* @throws {RequiredError}
|
|
2017
|
-
*/
|
|
2018
|
-
node: (address, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2019
|
-
// verify required parameter 'address' is not null or undefined
|
|
2020
|
-
assertParamExists('node', 'address', address);
|
|
2021
|
-
const localVarPath = `/thorchain/node/{address}`
|
|
2022
|
-
.replace(`{${"address"}}`, encodeURIComponent(String(address)));
|
|
2023
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2024
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2025
|
-
let baseOptions;
|
|
2026
|
-
if (configuration) {
|
|
2027
|
-
baseOptions = configuration.baseOptions;
|
|
2028
|
-
}
|
|
2029
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2030
|
-
const localVarHeaderParameter = {};
|
|
2031
|
-
const localVarQueryParameter = {};
|
|
2032
|
-
if (height !== undefined) {
|
|
2033
|
-
localVarQueryParameter['height'] = height;
|
|
2034
|
-
}
|
|
2035
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2036
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2037
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2038
|
-
return {
|
|
2039
|
-
url: toPathString(localVarUrlObj),
|
|
2040
|
-
options: localVarRequestOptions,
|
|
2041
|
-
};
|
|
2042
|
-
}),
|
|
2043
|
-
/**
|
|
2044
|
-
* Returns node information for all registered validators.
|
|
2045
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2046
|
-
* @param {*} [options] Override http request option.
|
|
2047
|
-
* @throws {RequiredError}
|
|
2048
|
-
*/
|
|
2049
|
-
nodes: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2050
|
-
const localVarPath = `/thorchain/nodes`;
|
|
2051
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2052
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2053
|
-
let baseOptions;
|
|
2054
|
-
if (configuration) {
|
|
2055
|
-
baseOptions = configuration.baseOptions;
|
|
2056
|
-
}
|
|
2057
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2058
|
-
const localVarHeaderParameter = {};
|
|
2059
|
-
const localVarQueryParameter = {};
|
|
2060
|
-
if (height !== undefined) {
|
|
2061
|
-
localVarQueryParameter['height'] = height;
|
|
2062
|
-
}
|
|
2063
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2064
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2065
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2066
|
-
return {
|
|
2067
|
-
url: toPathString(localVarUrlObj),
|
|
2068
|
-
options: localVarRequestOptions,
|
|
2069
|
-
};
|
|
2070
|
-
}),
|
|
2071
2263
|
/**
|
|
2072
2264
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2073
2265
|
* @param {string} hash
|
|
@@ -2141,31 +2333,6 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
2141
2333
|
const TransactionsApiFp = function (configuration) {
|
|
2142
2334
|
const localVarAxiosParamCreator = TransactionsApiAxiosParamCreator(configuration);
|
|
2143
2335
|
return {
|
|
2144
|
-
/**
|
|
2145
|
-
* Returns node information for the provided node address.
|
|
2146
|
-
* @param {string} address
|
|
2147
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2148
|
-
* @param {*} [options] Override http request option.
|
|
2149
|
-
* @throws {RequiredError}
|
|
2150
|
-
*/
|
|
2151
|
-
node(address, height, options) {
|
|
2152
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2153
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.node(address, height, options);
|
|
2154
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2155
|
-
});
|
|
2156
|
-
},
|
|
2157
|
-
/**
|
|
2158
|
-
* Returns node information for all registered validators.
|
|
2159
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2160
|
-
* @param {*} [options] Override http request option.
|
|
2161
|
-
* @throws {RequiredError}
|
|
2162
|
-
*/
|
|
2163
|
-
nodes(height, options) {
|
|
2164
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2165
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.nodes(height, options);
|
|
2166
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2167
|
-
});
|
|
2168
|
-
},
|
|
2169
2336
|
/**
|
|
2170
2337
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2171
2338
|
* @param {string} hash
|
|
@@ -2201,25 +2368,6 @@ const TransactionsApiFp = function (configuration) {
|
|
|
2201
2368
|
const TransactionsApiFactory = function (configuration, basePath, axios) {
|
|
2202
2369
|
const localVarFp = TransactionsApiFp(configuration);
|
|
2203
2370
|
return {
|
|
2204
|
-
/**
|
|
2205
|
-
* Returns node information for the provided node address.
|
|
2206
|
-
* @param {string} address
|
|
2207
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2208
|
-
* @param {*} [options] Override http request option.
|
|
2209
|
-
* @throws {RequiredError}
|
|
2210
|
-
*/
|
|
2211
|
-
node(address, height, options) {
|
|
2212
|
-
return localVarFp.node(address, height, options).then((request) => request(axios, basePath));
|
|
2213
|
-
},
|
|
2214
|
-
/**
|
|
2215
|
-
* Returns node information for all registered validators.
|
|
2216
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2217
|
-
* @param {*} [options] Override http request option.
|
|
2218
|
-
* @throws {RequiredError}
|
|
2219
|
-
*/
|
|
2220
|
-
nodes(height, options) {
|
|
2221
|
-
return localVarFp.nodes(height, options).then((request) => request(axios, basePath));
|
|
2222
|
-
},
|
|
2223
2371
|
/**
|
|
2224
2372
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2225
2373
|
* @param {string} hash
|
|
@@ -2249,27 +2397,6 @@ const TransactionsApiFactory = function (configuration, basePath, axios) {
|
|
|
2249
2397
|
* @extends {BaseAPI}
|
|
2250
2398
|
*/
|
|
2251
2399
|
class TransactionsApi extends BaseAPI {
|
|
2252
|
-
/**
|
|
2253
|
-
* Returns node information for the provided node address.
|
|
2254
|
-
* @param {string} address
|
|
2255
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2256
|
-
* @param {*} [options] Override http request option.
|
|
2257
|
-
* @throws {RequiredError}
|
|
2258
|
-
* @memberof TransactionsApi
|
|
2259
|
-
*/
|
|
2260
|
-
node(address, height, options) {
|
|
2261
|
-
return TransactionsApiFp(this.configuration).node(address, height, options).then((request) => request(this.axios, this.basePath));
|
|
2262
|
-
}
|
|
2263
|
-
/**
|
|
2264
|
-
* Returns node information for all registered validators.
|
|
2265
|
-
* @param {number} [height] optional block height, defaults to current tip
|
|
2266
|
-
* @param {*} [options] Override http request option.
|
|
2267
|
-
* @throws {RequiredError}
|
|
2268
|
-
* @memberof TransactionsApi
|
|
2269
|
-
*/
|
|
2270
|
-
nodes(height, options) {
|
|
2271
|
-
return TransactionsApiFp(this.configuration).nodes(height, options).then((request) => request(this.axios, this.basePath));
|
|
2272
|
-
}
|
|
2273
2400
|
/**
|
|
2274
2401
|
* Returns the observed transaction for a provided inbound or outbound hash.
|
|
2275
2402
|
* @param {string} hash
|
|
@@ -2612,4 +2739,4 @@ class Configuration {
|
|
|
2612
2739
|
|
|
2613
2740
|
const THORNODE_API_9R_URL = 'https://thornode.ninerealms.com/';
|
|
2614
2741
|
|
|
2615
|
-
export { Configuration, HealthApi, HealthApiAxiosParamCreator, HealthApiFactory, HealthApiFp, LiquidityProvidersApi, LiquidityProvidersApiAxiosParamCreator, LiquidityProvidersApiFactory, LiquidityProvidersApiFp, MimirApi, MimirApiAxiosParamCreator, MimirApiFactory, MimirApiFp, NetworkApi, NetworkApiAxiosParamCreator, NetworkApiFactory, NetworkApiFp, NodeStatusEnum, ObservedTxStatusEnum, PoolsApi, PoolsApiAxiosParamCreator, PoolsApiFactory, PoolsApiFp, QueueApi, QueueApiAxiosParamCreator, QueueApiFactory, QueueApiFp, THORNODE_API_9R_URL, TSSApi, TSSApiAxiosParamCreator, TSSApiFactory, TSSApiFp, ThornamesApi, ThornamesApiAxiosParamCreator, ThornamesApiFactory, ThornamesApiFp, TransactionsApi, TransactionsApiAxiosParamCreator, TransactionsApiFactory, TransactionsApiFp, VaultTypeEnum, VaultsApi, VaultsApiAxiosParamCreator, VaultsApiFactory, VaultsApiFp };
|
|
2742
|
+
export { Configuration, HealthApi, HealthApiAxiosParamCreator, HealthApiFactory, HealthApiFp, LiquidityProvidersApi, LiquidityProvidersApiAxiosParamCreator, LiquidityProvidersApiFactory, LiquidityProvidersApiFp, MimirApi, MimirApiAxiosParamCreator, MimirApiFactory, MimirApiFp, NetworkApi, NetworkApiAxiosParamCreator, NetworkApiFactory, NetworkApiFp, NodeStatusEnum, NodesApi, NodesApiAxiosParamCreator, NodesApiFactory, NodesApiFp, ObservedTxStatusEnum, POLApi, POLApiAxiosParamCreator, POLApiFactory, POLApiFp, PoolsApi, PoolsApiAxiosParamCreator, PoolsApiFactory, PoolsApiFp, QueueApi, QueueApiAxiosParamCreator, QueueApiFactory, QueueApiFp, THORNODE_API_9R_URL, TSSApi, TSSApiAxiosParamCreator, TSSApiFactory, TSSApiFp, ThornamesApi, ThornamesApiAxiosParamCreator, ThornamesApiFactory, ThornamesApiFp, TransactionsApi, TransactionsApiAxiosParamCreator, TransactionsApiFactory, TransactionsApiFp, VaultTypeEnum, VaultsApi, VaultsApiAxiosParamCreator, VaultsApiFactory, VaultsApiFp };
|