@xchainjs/xchain-thornode 0.3.10 → 0.3.11
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/lib/config.d.ts +3 -0
- package/lib/generated/thornodeApi/api.d.ts +323 -5
- package/lib/generated/thornodeApi/base.d.ts +1 -1
- package/lib/generated/thornodeApi/common.d.ts +1 -1
- package/lib/generated/thornodeApi/configuration.d.ts +1 -1
- package/lib/generated/thornodeApi/index.d.ts +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.esm.js +412 -9
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +427 -8
- package/lib/index.js.map +1 -1
- package/package.json +4 -4
package/lib/config.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.128.1
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2854,6 +2854,82 @@ export interface ThornameAlias {
|
|
|
2854
2854
|
*/
|
|
2855
2855
|
'address'?: string;
|
|
2856
2856
|
}
|
|
2857
|
+
/**
|
|
2858
|
+
*
|
|
2859
|
+
* @export
|
|
2860
|
+
* @interface TradeAccountResponse
|
|
2861
|
+
*/
|
|
2862
|
+
export interface TradeAccountResponse {
|
|
2863
|
+
/**
|
|
2864
|
+
* trade account asset with \"~\" separator
|
|
2865
|
+
* @type {string}
|
|
2866
|
+
* @memberof TradeAccountResponse
|
|
2867
|
+
*/
|
|
2868
|
+
'asset': string;
|
|
2869
|
+
/**
|
|
2870
|
+
* units of trade asset belonging to this owner
|
|
2871
|
+
* @type {string}
|
|
2872
|
+
* @memberof TradeAccountResponse
|
|
2873
|
+
*/
|
|
2874
|
+
'units': string;
|
|
2875
|
+
/**
|
|
2876
|
+
* thor address of trade account owner
|
|
2877
|
+
* @type {string}
|
|
2878
|
+
* @memberof TradeAccountResponse
|
|
2879
|
+
*/
|
|
2880
|
+
'owner': string;
|
|
2881
|
+
/**
|
|
2882
|
+
* last thorchain height trade assets were added to trade account
|
|
2883
|
+
* @type {number}
|
|
2884
|
+
* @memberof TradeAccountResponse
|
|
2885
|
+
*/
|
|
2886
|
+
'last_add_height'?: number;
|
|
2887
|
+
/**
|
|
2888
|
+
* last thorchain height trade assets were withdrawn from trade account
|
|
2889
|
+
* @type {number}
|
|
2890
|
+
* @memberof TradeAccountResponse
|
|
2891
|
+
*/
|
|
2892
|
+
'last_withdraw_height'?: number;
|
|
2893
|
+
}
|
|
2894
|
+
/**
|
|
2895
|
+
*
|
|
2896
|
+
* @export
|
|
2897
|
+
* @interface TradeAccountsResponse
|
|
2898
|
+
*/
|
|
2899
|
+
export interface TradeAccountsResponse extends Array<TradeAccountResponse> {
|
|
2900
|
+
}
|
|
2901
|
+
/**
|
|
2902
|
+
*
|
|
2903
|
+
* @export
|
|
2904
|
+
* @interface TradeUnitResponse
|
|
2905
|
+
*/
|
|
2906
|
+
export interface TradeUnitResponse {
|
|
2907
|
+
/**
|
|
2908
|
+
* trade account asset with \"~\" separator
|
|
2909
|
+
* @type {string}
|
|
2910
|
+
* @memberof TradeUnitResponse
|
|
2911
|
+
*/
|
|
2912
|
+
'asset': string;
|
|
2913
|
+
/**
|
|
2914
|
+
* total units of trade asset
|
|
2915
|
+
* @type {string}
|
|
2916
|
+
* @memberof TradeUnitResponse
|
|
2917
|
+
*/
|
|
2918
|
+
'units': string;
|
|
2919
|
+
/**
|
|
2920
|
+
* total depth of trade asset
|
|
2921
|
+
* @type {string}
|
|
2922
|
+
* @memberof TradeUnitResponse
|
|
2923
|
+
*/
|
|
2924
|
+
'depth': string;
|
|
2925
|
+
}
|
|
2926
|
+
/**
|
|
2927
|
+
*
|
|
2928
|
+
* @export
|
|
2929
|
+
* @interface TradeUnitsResponse
|
|
2930
|
+
*/
|
|
2931
|
+
export interface TradeUnitsResponse extends Array<TradeUnitResponse> {
|
|
2932
|
+
}
|
|
2857
2933
|
/**
|
|
2858
2934
|
*
|
|
2859
2935
|
* @export
|
|
@@ -3074,6 +3150,12 @@ export interface TxOutItem {
|
|
|
3074
3150
|
* @memberof TxOutItem
|
|
3075
3151
|
*/
|
|
3076
3152
|
'height': number;
|
|
3153
|
+
/**
|
|
3154
|
+
* clout spent in RUNE for the outbound
|
|
3155
|
+
* @type {string}
|
|
3156
|
+
* @memberof TxOutItem
|
|
3157
|
+
*/
|
|
3158
|
+
'clout_spent'?: string;
|
|
3077
3159
|
}
|
|
3078
3160
|
/**
|
|
3079
3161
|
*
|
|
@@ -5140,6 +5222,7 @@ export declare const QuoteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5140
5222
|
* @param {string} [toAsset] the target asset
|
|
5141
5223
|
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5142
5224
|
* @param {string} [destination] the destination address, required to generate memo
|
|
5225
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5143
5226
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
5144
5227
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5145
5228
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
@@ -5148,7 +5231,7 @@ export declare const QuoteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5148
5231
|
* @param {*} [options] Override http request option.
|
|
5149
5232
|
* @throws {RequiredError}
|
|
5150
5233
|
*/
|
|
5151
|
-
quoteswap: (height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5234
|
+
quoteswap: (height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5152
5235
|
};
|
|
5153
5236
|
/**
|
|
5154
5237
|
* QuoteApi - functional programming interface
|
|
@@ -5207,6 +5290,7 @@ export declare const QuoteApiFp: (configuration?: Configuration) => {
|
|
|
5207
5290
|
* @param {string} [toAsset] the target asset
|
|
5208
5291
|
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5209
5292
|
* @param {string} [destination] the destination address, required to generate memo
|
|
5293
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5210
5294
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
5211
5295
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5212
5296
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
@@ -5215,7 +5299,7 @@ export declare const QuoteApiFp: (configuration?: Configuration) => {
|
|
|
5215
5299
|
* @param {*} [options] Override http request option.
|
|
5216
5300
|
* @throws {RequiredError}
|
|
5217
5301
|
*/
|
|
5218
|
-
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteSwapResponse>>;
|
|
5302
|
+
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteSwapResponse>>;
|
|
5219
5303
|
};
|
|
5220
5304
|
/**
|
|
5221
5305
|
* QuoteApi - factory interface
|
|
@@ -5274,6 +5358,7 @@ export declare const QuoteApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5274
5358
|
* @param {string} [toAsset] the target asset
|
|
5275
5359
|
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5276
5360
|
* @param {string} [destination] the destination address, required to generate memo
|
|
5361
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5277
5362
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
5278
5363
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5279
5364
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
@@ -5282,7 +5367,7 @@ export declare const QuoteApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5282
5367
|
* @param {*} [options] Override http request option.
|
|
5283
5368
|
* @throws {RequiredError}
|
|
5284
5369
|
*/
|
|
5285
|
-
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise<QuoteSwapResponse>;
|
|
5370
|
+
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise<QuoteSwapResponse>;
|
|
5286
5371
|
};
|
|
5287
5372
|
/**
|
|
5288
5373
|
* QuoteApi - object-oriented interface
|
|
@@ -5347,6 +5432,7 @@ export declare class QuoteApi extends BaseAPI {
|
|
|
5347
5432
|
* @param {string} [toAsset] the target asset
|
|
5348
5433
|
* @param {number} [amount] the source asset amount in 1e8 decimals
|
|
5349
5434
|
* @param {string} [destination] the destination address, required to generate memo
|
|
5435
|
+
* @param {string} [refundAddress] the refund address, refunds will be sent here if the swap fails
|
|
5350
5436
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
5351
5437
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
5352
5438
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
@@ -5356,7 +5442,7 @@ export declare class QuoteApi extends BaseAPI {
|
|
|
5356
5442
|
* @throws {RequiredError}
|
|
5357
5443
|
* @memberof QuoteApi
|
|
5358
5444
|
*/
|
|
5359
|
-
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSwapResponse, any>>;
|
|
5445
|
+
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSwapResponse, any>>;
|
|
5360
5446
|
}
|
|
5361
5447
|
/**
|
|
5362
5448
|
* SaversApi - axios parameter creator
|
|
@@ -5751,6 +5837,238 @@ export declare class ThornamesApi extends BaseAPI {
|
|
|
5751
5837
|
*/
|
|
5752
5838
|
thorname(name: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Thorname, any>>;
|
|
5753
5839
|
}
|
|
5840
|
+
/**
|
|
5841
|
+
* TradeAccountApi - axios parameter creator
|
|
5842
|
+
* @export
|
|
5843
|
+
*/
|
|
5844
|
+
export declare const TradeAccountApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5845
|
+
/**
|
|
5846
|
+
* Returns the units and depth of a trade account
|
|
5847
|
+
* @param {string} address
|
|
5848
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5849
|
+
* @param {*} [options] Override http request option.
|
|
5850
|
+
* @throws {RequiredError}
|
|
5851
|
+
*/
|
|
5852
|
+
tradeAccount: (address: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5853
|
+
};
|
|
5854
|
+
/**
|
|
5855
|
+
* TradeAccountApi - functional programming interface
|
|
5856
|
+
* @export
|
|
5857
|
+
*/
|
|
5858
|
+
export declare const TradeAccountApiFp: (configuration?: Configuration) => {
|
|
5859
|
+
/**
|
|
5860
|
+
* Returns the units and depth of a trade account
|
|
5861
|
+
* @param {string} address
|
|
5862
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5863
|
+
* @param {*} [options] Override http request option.
|
|
5864
|
+
* @throws {RequiredError}
|
|
5865
|
+
*/
|
|
5866
|
+
tradeAccount(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TradeAccountResponse>>;
|
|
5867
|
+
};
|
|
5868
|
+
/**
|
|
5869
|
+
* TradeAccountApi - factory interface
|
|
5870
|
+
* @export
|
|
5871
|
+
*/
|
|
5872
|
+
export declare const TradeAccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5873
|
+
/**
|
|
5874
|
+
* Returns the units and depth of a trade account
|
|
5875
|
+
* @param {string} address
|
|
5876
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5877
|
+
* @param {*} [options] Override http request option.
|
|
5878
|
+
* @throws {RequiredError}
|
|
5879
|
+
*/
|
|
5880
|
+
tradeAccount(address: string, height?: number, options?: any): AxiosPromise<TradeAccountResponse>;
|
|
5881
|
+
};
|
|
5882
|
+
/**
|
|
5883
|
+
* TradeAccountApi - object-oriented interface
|
|
5884
|
+
* @export
|
|
5885
|
+
* @class TradeAccountApi
|
|
5886
|
+
* @extends {BaseAPI}
|
|
5887
|
+
*/
|
|
5888
|
+
export declare class TradeAccountApi extends BaseAPI {
|
|
5889
|
+
/**
|
|
5890
|
+
* Returns the units and depth of a trade account
|
|
5891
|
+
* @param {string} address
|
|
5892
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5893
|
+
* @param {*} [options] Override http request option.
|
|
5894
|
+
* @throws {RequiredError}
|
|
5895
|
+
* @memberof TradeAccountApi
|
|
5896
|
+
*/
|
|
5897
|
+
tradeAccount(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeAccountResponse, any>>;
|
|
5898
|
+
}
|
|
5899
|
+
/**
|
|
5900
|
+
* TradeAccountsApi - axios parameter creator
|
|
5901
|
+
* @export
|
|
5902
|
+
*/
|
|
5903
|
+
export declare const TradeAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5904
|
+
/**
|
|
5905
|
+
* Returns all trade accounts for an asset
|
|
5906
|
+
* @param {string} asset
|
|
5907
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5908
|
+
* @param {*} [options] Override http request option.
|
|
5909
|
+
* @throws {RequiredError}
|
|
5910
|
+
*/
|
|
5911
|
+
tradeAccounts: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5912
|
+
};
|
|
5913
|
+
/**
|
|
5914
|
+
* TradeAccountsApi - functional programming interface
|
|
5915
|
+
* @export
|
|
5916
|
+
*/
|
|
5917
|
+
export declare const TradeAccountsApiFp: (configuration?: Configuration) => {
|
|
5918
|
+
/**
|
|
5919
|
+
* Returns all trade accounts for an asset
|
|
5920
|
+
* @param {string} asset
|
|
5921
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5922
|
+
* @param {*} [options] Override http request option.
|
|
5923
|
+
* @throws {RequiredError}
|
|
5924
|
+
*/
|
|
5925
|
+
tradeAccounts(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TradeAccountsResponse>>;
|
|
5926
|
+
};
|
|
5927
|
+
/**
|
|
5928
|
+
* TradeAccountsApi - factory interface
|
|
5929
|
+
* @export
|
|
5930
|
+
*/
|
|
5931
|
+
export declare const TradeAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5932
|
+
/**
|
|
5933
|
+
* Returns all trade accounts for an asset
|
|
5934
|
+
* @param {string} asset
|
|
5935
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5936
|
+
* @param {*} [options] Override http request option.
|
|
5937
|
+
* @throws {RequiredError}
|
|
5938
|
+
*/
|
|
5939
|
+
tradeAccounts(asset: string, height?: number, options?: any): AxiosPromise<TradeAccountsResponse>;
|
|
5940
|
+
};
|
|
5941
|
+
/**
|
|
5942
|
+
* TradeAccountsApi - object-oriented interface
|
|
5943
|
+
* @export
|
|
5944
|
+
* @class TradeAccountsApi
|
|
5945
|
+
* @extends {BaseAPI}
|
|
5946
|
+
*/
|
|
5947
|
+
export declare class TradeAccountsApi extends BaseAPI {
|
|
5948
|
+
/**
|
|
5949
|
+
* Returns all trade accounts for an asset
|
|
5950
|
+
* @param {string} asset
|
|
5951
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5952
|
+
* @param {*} [options] Override http request option.
|
|
5953
|
+
* @throws {RequiredError}
|
|
5954
|
+
* @memberof TradeAccountsApi
|
|
5955
|
+
*/
|
|
5956
|
+
tradeAccounts(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeAccountsResponse, any>>;
|
|
5957
|
+
}
|
|
5958
|
+
/**
|
|
5959
|
+
* TradeUnitApi - axios parameter creator
|
|
5960
|
+
* @export
|
|
5961
|
+
*/
|
|
5962
|
+
export declare const TradeUnitApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5963
|
+
/**
|
|
5964
|
+
* Returns the total units and depth of a trade asset
|
|
5965
|
+
* @param {string} asset
|
|
5966
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5967
|
+
* @param {*} [options] Override http request option.
|
|
5968
|
+
* @throws {RequiredError}
|
|
5969
|
+
*/
|
|
5970
|
+
tradeUnit: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5971
|
+
};
|
|
5972
|
+
/**
|
|
5973
|
+
* TradeUnitApi - functional programming interface
|
|
5974
|
+
* @export
|
|
5975
|
+
*/
|
|
5976
|
+
export declare const TradeUnitApiFp: (configuration?: Configuration) => {
|
|
5977
|
+
/**
|
|
5978
|
+
* Returns the total units and depth of a trade asset
|
|
5979
|
+
* @param {string} asset
|
|
5980
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5981
|
+
* @param {*} [options] Override http request option.
|
|
5982
|
+
* @throws {RequiredError}
|
|
5983
|
+
*/
|
|
5984
|
+
tradeUnit(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TradeUnitResponse>>;
|
|
5985
|
+
};
|
|
5986
|
+
/**
|
|
5987
|
+
* TradeUnitApi - factory interface
|
|
5988
|
+
* @export
|
|
5989
|
+
*/
|
|
5990
|
+
export declare const TradeUnitApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5991
|
+
/**
|
|
5992
|
+
* Returns the total units and depth of a trade asset
|
|
5993
|
+
* @param {string} asset
|
|
5994
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5995
|
+
* @param {*} [options] Override http request option.
|
|
5996
|
+
* @throws {RequiredError}
|
|
5997
|
+
*/
|
|
5998
|
+
tradeUnit(asset: string, height?: number, options?: any): AxiosPromise<TradeUnitResponse>;
|
|
5999
|
+
};
|
|
6000
|
+
/**
|
|
6001
|
+
* TradeUnitApi - object-oriented interface
|
|
6002
|
+
* @export
|
|
6003
|
+
* @class TradeUnitApi
|
|
6004
|
+
* @extends {BaseAPI}
|
|
6005
|
+
*/
|
|
6006
|
+
export declare class TradeUnitApi extends BaseAPI {
|
|
6007
|
+
/**
|
|
6008
|
+
* Returns the total units and depth of a trade asset
|
|
6009
|
+
* @param {string} asset
|
|
6010
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6011
|
+
* @param {*} [options] Override http request option.
|
|
6012
|
+
* @throws {RequiredError}
|
|
6013
|
+
* @memberof TradeUnitApi
|
|
6014
|
+
*/
|
|
6015
|
+
tradeUnit(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeUnitResponse, any>>;
|
|
6016
|
+
}
|
|
6017
|
+
/**
|
|
6018
|
+
* TradeUnitsApi - axios parameter creator
|
|
6019
|
+
* @export
|
|
6020
|
+
*/
|
|
6021
|
+
export declare const TradeUnitsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6022
|
+
/**
|
|
6023
|
+
* Returns the total units and depth for each trade asset
|
|
6024
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6025
|
+
* @param {*} [options] Override http request option.
|
|
6026
|
+
* @throws {RequiredError}
|
|
6027
|
+
*/
|
|
6028
|
+
tradeUnits: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6029
|
+
};
|
|
6030
|
+
/**
|
|
6031
|
+
* TradeUnitsApi - functional programming interface
|
|
6032
|
+
* @export
|
|
6033
|
+
*/
|
|
6034
|
+
export declare const TradeUnitsApiFp: (configuration?: Configuration) => {
|
|
6035
|
+
/**
|
|
6036
|
+
* Returns the total units and depth for each trade asset
|
|
6037
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6038
|
+
* @param {*} [options] Override http request option.
|
|
6039
|
+
* @throws {RequiredError}
|
|
6040
|
+
*/
|
|
6041
|
+
tradeUnits(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TradeUnitsResponse>>;
|
|
6042
|
+
};
|
|
6043
|
+
/**
|
|
6044
|
+
* TradeUnitsApi - factory interface
|
|
6045
|
+
* @export
|
|
6046
|
+
*/
|
|
6047
|
+
export declare const TradeUnitsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6048
|
+
/**
|
|
6049
|
+
* Returns the total units and depth for each trade asset
|
|
6050
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6051
|
+
* @param {*} [options] Override http request option.
|
|
6052
|
+
* @throws {RequiredError}
|
|
6053
|
+
*/
|
|
6054
|
+
tradeUnits(height?: number, options?: any): AxiosPromise<TradeUnitsResponse>;
|
|
6055
|
+
};
|
|
6056
|
+
/**
|
|
6057
|
+
* TradeUnitsApi - object-oriented interface
|
|
6058
|
+
* @export
|
|
6059
|
+
* @class TradeUnitsApi
|
|
6060
|
+
* @extends {BaseAPI}
|
|
6061
|
+
*/
|
|
6062
|
+
export declare class TradeUnitsApi extends BaseAPI {
|
|
6063
|
+
/**
|
|
6064
|
+
* Returns the total units and depth for each trade asset
|
|
6065
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6066
|
+
* @param {*} [options] Override http request option.
|
|
6067
|
+
* @throws {RequiredError}
|
|
6068
|
+
* @memberof TradeUnitsApi
|
|
6069
|
+
*/
|
|
6070
|
+
tradeUnits(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TradeUnitsResponse, any>>;
|
|
6071
|
+
}
|
|
5754
6072
|
/**
|
|
5755
6073
|
* TransactionsApi - axios parameter creator
|
|
5756
6074
|
* @export
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.128.1
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.128.1
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.128.1
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.128.1
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|