@bluefin-exchange/pro-sdk 0.2.7 → 0.2.9
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/cjs/example.js +2 -0
- package/dist/cjs/example.js.map +1 -1
- package/dist/cjs/src/api.js +207 -4
- package/dist/cjs/src/api.js.map +1 -1
- package/dist/esm/example.js +2 -0
- package/dist/esm/example.js.map +1 -1
- package/dist/esm/src/api.js +207 -4
- package/dist/esm/src/api.js.map +1 -1
- package/dist/types/src/api.d.ts +277 -4
- package/dist/types/src/api.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types/src/api.d.ts
CHANGED
|
@@ -2488,6 +2488,25 @@ export declare const IntervalRewardsStatusEnum: {
|
|
|
2488
2488
|
readonly Cooldown: "COOLDOWN";
|
|
2489
2489
|
};
|
|
2490
2490
|
export type IntervalRewardsStatusEnum = typeof IntervalRewardsStatusEnum[keyof typeof IntervalRewardsStatusEnum];
|
|
2491
|
+
/**
|
|
2492
|
+
* Base64 encoded ISS details with index.
|
|
2493
|
+
* @export
|
|
2494
|
+
* @interface IssBase64Details
|
|
2495
|
+
*/
|
|
2496
|
+
export interface IssBase64Details {
|
|
2497
|
+
/**
|
|
2498
|
+
* Base64 encoded ISS details value.
|
|
2499
|
+
* @type {string}
|
|
2500
|
+
* @memberof IssBase64Details
|
|
2501
|
+
*/
|
|
2502
|
+
'value': string;
|
|
2503
|
+
/**
|
|
2504
|
+
* Index modulo 4 for the ISS details.
|
|
2505
|
+
* @type {number}
|
|
2506
|
+
* @memberof IssBase64Details
|
|
2507
|
+
*/
|
|
2508
|
+
'indexMod4': number;
|
|
2509
|
+
}
|
|
2491
2510
|
/**
|
|
2492
2511
|
*
|
|
2493
2512
|
* @export
|
|
@@ -3774,6 +3793,31 @@ export declare const PositionSide: {
|
|
|
3774
3793
|
readonly Unspecified: "UNSPECIFIED";
|
|
3775
3794
|
};
|
|
3776
3795
|
export type PositionSide = typeof PositionSide[keyof typeof PositionSide];
|
|
3796
|
+
/**
|
|
3797
|
+
* The generated zero-knowledge proof points.
|
|
3798
|
+
* @export
|
|
3799
|
+
* @interface ProofPoints
|
|
3800
|
+
*/
|
|
3801
|
+
export interface ProofPoints {
|
|
3802
|
+
/**
|
|
3803
|
+
* Point A of the proof.
|
|
3804
|
+
* @type {Array<string>}
|
|
3805
|
+
* @memberof ProofPoints
|
|
3806
|
+
*/
|
|
3807
|
+
'a': Array<string>;
|
|
3808
|
+
/**
|
|
3809
|
+
* Point B of the proof.
|
|
3810
|
+
* @type {Array<Array<string>>}
|
|
3811
|
+
* @memberof ProofPoints
|
|
3812
|
+
*/
|
|
3813
|
+
'b': Array<Array<string>>;
|
|
3814
|
+
/**
|
|
3815
|
+
* Point C of the proof.
|
|
3816
|
+
* @type {Array<string>}
|
|
3817
|
+
* @memberof ProofPoints
|
|
3818
|
+
*/
|
|
3819
|
+
'c': Array<string>;
|
|
3820
|
+
}
|
|
3777
3821
|
/**
|
|
3778
3822
|
*
|
|
3779
3823
|
* @export
|
|
@@ -3931,6 +3975,49 @@ export interface SponsorTxResponse {
|
|
|
3931
3975
|
*/
|
|
3932
3976
|
'expireAtTime': number;
|
|
3933
3977
|
}
|
|
3978
|
+
/**
|
|
3979
|
+
*
|
|
3980
|
+
* @export
|
|
3981
|
+
* @interface StatsAllTimeResponse
|
|
3982
|
+
*/
|
|
3983
|
+
export interface StatsAllTimeResponse {
|
|
3984
|
+
/**
|
|
3985
|
+
* Timestamp in milliseconds when the statistics period starts.
|
|
3986
|
+
* @type {number}
|
|
3987
|
+
* @memberof StatsAllTimeResponse
|
|
3988
|
+
*/
|
|
3989
|
+
'startTimeAtMillis': number;
|
|
3990
|
+
/**
|
|
3991
|
+
* Total value locked in the legacy exchange in e9 format.
|
|
3992
|
+
* @type {string}
|
|
3993
|
+
* @memberof StatsAllTimeResponse
|
|
3994
|
+
*/
|
|
3995
|
+
'legacyTvlE9': string;
|
|
3996
|
+
/**
|
|
3997
|
+
* Total value locked in the exchange in e9 format.
|
|
3998
|
+
* @type {string}
|
|
3999
|
+
* @memberof StatsAllTimeResponse
|
|
4000
|
+
*/
|
|
4001
|
+
'tvlE9': string;
|
|
4002
|
+
/**
|
|
4003
|
+
* Total quote asset volume in the legacy exchange in e9 format.
|
|
4004
|
+
* @type {string}
|
|
4005
|
+
* @memberof StatsAllTimeResponse
|
|
4006
|
+
*/
|
|
4007
|
+
'totalLegacyQuoteAssetVolumeE9': string;
|
|
4008
|
+
/**
|
|
4009
|
+
* Total quote asset volume in the exchange in e9 format.
|
|
4010
|
+
* @type {string}
|
|
4011
|
+
* @memberof StatsAllTimeResponse
|
|
4012
|
+
*/
|
|
4013
|
+
'totalQuoteAssetVolumeE9': string;
|
|
4014
|
+
/**
|
|
4015
|
+
* Timestamp in milliseconds when the statistics period ends.
|
|
4016
|
+
* @type {number}
|
|
4017
|
+
* @memberof StatsAllTimeResponse
|
|
4018
|
+
*/
|
|
4019
|
+
'endTimeAtMillis': number;
|
|
4020
|
+
}
|
|
3934
4021
|
/**
|
|
3935
4022
|
*
|
|
3936
4023
|
* @export
|
|
@@ -4892,6 +4979,93 @@ export interface WithdrawRequestSignedFields {
|
|
|
4892
4979
|
*/
|
|
4893
4980
|
'signedAtMillis': number;
|
|
4894
4981
|
}
|
|
4982
|
+
/**
|
|
4983
|
+
*
|
|
4984
|
+
* @export
|
|
4985
|
+
* @interface ZKLoginUserDetailsResponse
|
|
4986
|
+
*/
|
|
4987
|
+
export interface ZKLoginUserDetailsResponse {
|
|
4988
|
+
/**
|
|
4989
|
+
* The zkLogin user salt.
|
|
4990
|
+
* @type {string}
|
|
4991
|
+
* @memberof ZKLoginUserDetailsResponse
|
|
4992
|
+
*/
|
|
4993
|
+
'salt': string;
|
|
4994
|
+
/**
|
|
4995
|
+
* The zkLogin user\'s address.
|
|
4996
|
+
* @type {string}
|
|
4997
|
+
* @memberof ZKLoginUserDetailsResponse
|
|
4998
|
+
*/
|
|
4999
|
+
'address': string;
|
|
5000
|
+
/**
|
|
5001
|
+
* The zkLogin user\'s public key.
|
|
5002
|
+
* @type {string}
|
|
5003
|
+
* @memberof ZKLoginUserDetailsResponse
|
|
5004
|
+
*/
|
|
5005
|
+
'publicKey': string;
|
|
5006
|
+
}
|
|
5007
|
+
/**
|
|
5008
|
+
*
|
|
5009
|
+
* @export
|
|
5010
|
+
* @interface ZKLoginZKPRequest
|
|
5011
|
+
*/
|
|
5012
|
+
export interface ZKLoginZKPRequest {
|
|
5013
|
+
/**
|
|
5014
|
+
* The network to use (e.g., \"mainnet\", \"testnet\").
|
|
5015
|
+
* @type {string}
|
|
5016
|
+
* @memberof ZKLoginZKPRequest
|
|
5017
|
+
*/
|
|
5018
|
+
'network'?: string;
|
|
5019
|
+
/**
|
|
5020
|
+
* The ephemeral public key for the ZK proof.
|
|
5021
|
+
* @type {string}
|
|
5022
|
+
* @memberof ZKLoginZKPRequest
|
|
5023
|
+
*/
|
|
5024
|
+
'ephemeralPublicKey': string;
|
|
5025
|
+
/**
|
|
5026
|
+
* The maximum epoch for the ZK proof.
|
|
5027
|
+
* @type {number}
|
|
5028
|
+
* @memberof ZKLoginZKPRequest
|
|
5029
|
+
*/
|
|
5030
|
+
'maxEpoch': number;
|
|
5031
|
+
/**
|
|
5032
|
+
* Randomness value for the ZK proof.
|
|
5033
|
+
* @type {string}
|
|
5034
|
+
* @memberof ZKLoginZKPRequest
|
|
5035
|
+
*/
|
|
5036
|
+
'randomness': string;
|
|
5037
|
+
}
|
|
5038
|
+
/**
|
|
5039
|
+
*
|
|
5040
|
+
* @export
|
|
5041
|
+
* @interface ZKLoginZKPResponse
|
|
5042
|
+
*/
|
|
5043
|
+
export interface ZKLoginZKPResponse {
|
|
5044
|
+
/**
|
|
5045
|
+
*
|
|
5046
|
+
* @type {ProofPoints}
|
|
5047
|
+
* @memberof ZKLoginZKPResponse
|
|
5048
|
+
*/
|
|
5049
|
+
'proofPoints'?: ProofPoints;
|
|
5050
|
+
/**
|
|
5051
|
+
*
|
|
5052
|
+
* @type {IssBase64Details}
|
|
5053
|
+
* @memberof ZKLoginZKPResponse
|
|
5054
|
+
*/
|
|
5055
|
+
'issBase64Details'?: IssBase64Details;
|
|
5056
|
+
/**
|
|
5057
|
+
* Base64 encoded header information.
|
|
5058
|
+
* @type {string}
|
|
5059
|
+
* @memberof ZKLoginZKPResponse
|
|
5060
|
+
*/
|
|
5061
|
+
'headerBase64'?: string;
|
|
5062
|
+
/**
|
|
5063
|
+
* The address seed used in the proof.
|
|
5064
|
+
* @type {string}
|
|
5065
|
+
* @memberof ZKLoginZKPResponse
|
|
5066
|
+
*/
|
|
5067
|
+
'addressSeed': string;
|
|
5068
|
+
}
|
|
4895
5069
|
/**
|
|
4896
5070
|
* AccountDataApi - axios parameter creator
|
|
4897
5071
|
* @export
|
|
@@ -5256,7 +5430,7 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
5256
5430
|
*/
|
|
5257
5431
|
authTokenPost: (payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5258
5432
|
/**
|
|
5259
|
-
* Retrieves a new auth token for an account. Expiry is set to 5 min
|
|
5433
|
+
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
5260
5434
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
5261
5435
|
* @param {*} [options] Override http request option.
|
|
5262
5436
|
* @throws {RequiredError}
|
|
@@ -5272,6 +5446,23 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
5272
5446
|
* @throws {RequiredError}
|
|
5273
5447
|
*/
|
|
5274
5448
|
authV2TokenPost: (payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5449
|
+
/**
|
|
5450
|
+
* ZK Login User Details
|
|
5451
|
+
* @summary /auth/zklogin
|
|
5452
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5453
|
+
* @param {*} [options] Override http request option.
|
|
5454
|
+
* @throws {RequiredError}
|
|
5455
|
+
*/
|
|
5456
|
+
getZkLoginUserDetails: (zkloginJwt: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5457
|
+
/**
|
|
5458
|
+
*
|
|
5459
|
+
* @summary /auth/zklogin/zkp
|
|
5460
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5461
|
+
* @param {ZKLoginZKPRequest} zKLoginZKPRequest
|
|
5462
|
+
* @param {*} [options] Override http request option.
|
|
5463
|
+
* @throws {RequiredError}
|
|
5464
|
+
*/
|
|
5465
|
+
postZkLoginZkp: (zkloginJwt: string, zKLoginZKPRequest: ZKLoginZKPRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5275
5466
|
};
|
|
5276
5467
|
/**
|
|
5277
5468
|
* AuthApi - functional programming interface
|
|
@@ -5297,7 +5488,7 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
5297
5488
|
*/
|
|
5298
5489
|
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
5299
5490
|
/**
|
|
5300
|
-
* Retrieves a new auth token for an account. Expiry is set to 5 min
|
|
5491
|
+
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
5301
5492
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
5302
5493
|
* @param {*} [options] Override http request option.
|
|
5303
5494
|
* @throws {RequiredError}
|
|
@@ -5313,6 +5504,23 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
5313
5504
|
* @throws {RequiredError}
|
|
5314
5505
|
*/
|
|
5315
5506
|
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
5507
|
+
/**
|
|
5508
|
+
* ZK Login User Details
|
|
5509
|
+
* @summary /auth/zklogin
|
|
5510
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5511
|
+
* @param {*} [options] Override http request option.
|
|
5512
|
+
* @throws {RequiredError}
|
|
5513
|
+
*/
|
|
5514
|
+
getZkLoginUserDetails(zkloginJwt: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ZKLoginUserDetailsResponse>>;
|
|
5515
|
+
/**
|
|
5516
|
+
*
|
|
5517
|
+
* @summary /auth/zklogin/zkp
|
|
5518
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5519
|
+
* @param {ZKLoginZKPRequest} zKLoginZKPRequest
|
|
5520
|
+
* @param {*} [options] Override http request option.
|
|
5521
|
+
* @throws {RequiredError}
|
|
5522
|
+
*/
|
|
5523
|
+
postZkLoginZkp(zkloginJwt: string, zKLoginZKPRequest: ZKLoginZKPRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ZKLoginZKPResponse>>;
|
|
5316
5524
|
};
|
|
5317
5525
|
/**
|
|
5318
5526
|
* AuthApi - factory interface
|
|
@@ -5338,7 +5546,7 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5338
5546
|
*/
|
|
5339
5547
|
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
5340
5548
|
/**
|
|
5341
|
-
* Retrieves a new auth token for an account. Expiry is set to 5 min
|
|
5549
|
+
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
5342
5550
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
5343
5551
|
* @param {*} [options] Override http request option.
|
|
5344
5552
|
* @throws {RequiredError}
|
|
@@ -5354,6 +5562,23 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5354
5562
|
* @throws {RequiredError}
|
|
5355
5563
|
*/
|
|
5356
5564
|
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
5565
|
+
/**
|
|
5566
|
+
* ZK Login User Details
|
|
5567
|
+
* @summary /auth/zklogin
|
|
5568
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5569
|
+
* @param {*} [options] Override http request option.
|
|
5570
|
+
* @throws {RequiredError}
|
|
5571
|
+
*/
|
|
5572
|
+
getZkLoginUserDetails(zkloginJwt: string, options?: RawAxiosRequestConfig): AxiosPromise<ZKLoginUserDetailsResponse>;
|
|
5573
|
+
/**
|
|
5574
|
+
*
|
|
5575
|
+
* @summary /auth/zklogin/zkp
|
|
5576
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5577
|
+
* @param {ZKLoginZKPRequest} zKLoginZKPRequest
|
|
5578
|
+
* @param {*} [options] Override http request option.
|
|
5579
|
+
* @throws {RequiredError}
|
|
5580
|
+
*/
|
|
5581
|
+
postZkLoginZkp(zkloginJwt: string, zKLoginZKPRequest: ZKLoginZKPRequest, options?: RawAxiosRequestConfig): AxiosPromise<ZKLoginZKPResponse>;
|
|
5357
5582
|
};
|
|
5358
5583
|
/**
|
|
5359
5584
|
* AuthApi - object-oriented interface
|
|
@@ -5383,7 +5608,7 @@ export declare class AuthApi extends BaseAPI {
|
|
|
5383
5608
|
*/
|
|
5384
5609
|
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any>>;
|
|
5385
5610
|
/**
|
|
5386
|
-
* Retrieves a new auth token for an account. Expiry is set to 5 min
|
|
5611
|
+
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
5387
5612
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
5388
5613
|
* @param {*} [options] Override http request option.
|
|
5389
5614
|
* @throws {RequiredError}
|
|
@@ -5401,6 +5626,25 @@ export declare class AuthApi extends BaseAPI {
|
|
|
5401
5626
|
* @memberof AuthApi
|
|
5402
5627
|
*/
|
|
5403
5628
|
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any>>;
|
|
5629
|
+
/**
|
|
5630
|
+
* ZK Login User Details
|
|
5631
|
+
* @summary /auth/zklogin
|
|
5632
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5633
|
+
* @param {*} [options] Override http request option.
|
|
5634
|
+
* @throws {RequiredError}
|
|
5635
|
+
* @memberof AuthApi
|
|
5636
|
+
*/
|
|
5637
|
+
getZkLoginUserDetails(zkloginJwt: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ZKLoginUserDetailsResponse, any>>;
|
|
5638
|
+
/**
|
|
5639
|
+
*
|
|
5640
|
+
* @summary /auth/zklogin/zkp
|
|
5641
|
+
* @param {string} zkloginJwt The JWT of the user signed in with zkLogin.
|
|
5642
|
+
* @param {ZKLoginZKPRequest} zKLoginZKPRequest
|
|
5643
|
+
* @param {*} [options] Override http request option.
|
|
5644
|
+
* @throws {RequiredError}
|
|
5645
|
+
* @memberof AuthApi
|
|
5646
|
+
*/
|
|
5647
|
+
postZkLoginZkp(zkloginJwt: string, zKLoginZKPRequest: ZKLoginZKPRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ZKLoginZKPResponse, any>>;
|
|
5404
5648
|
}
|
|
5405
5649
|
/**
|
|
5406
5650
|
* ExchangeApi - axios parameter creator
|
|
@@ -5454,6 +5698,13 @@ export declare const ExchangeApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5454
5698
|
* @throws {RequiredError}
|
|
5455
5699
|
*/
|
|
5456
5700
|
getExchangeStats: (interval?: StatsInterval, startTimeAtMillis?: number, endTimeAtMillis?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5701
|
+
/**
|
|
5702
|
+
* Retrieves all time exchange statistics.
|
|
5703
|
+
* @summary /v1/exchange/stats/allTime
|
|
5704
|
+
* @param {*} [options] Override http request option.
|
|
5705
|
+
* @throws {RequiredError}
|
|
5706
|
+
*/
|
|
5707
|
+
getExchangeStatsAllTime: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5457
5708
|
/**
|
|
5458
5709
|
* Retrieve the funding rate history for a specific market address.
|
|
5459
5710
|
* @summary /exchange/fundingRateHistory
|
|
@@ -5549,6 +5800,13 @@ export declare const ExchangeApiFp: (configuration?: Configuration) => {
|
|
|
5549
5800
|
* @throws {RequiredError}
|
|
5550
5801
|
*/
|
|
5551
5802
|
getExchangeStats(interval?: StatsInterval, startTimeAtMillis?: number, endTimeAtMillis?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StatsResponse>>;
|
|
5803
|
+
/**
|
|
5804
|
+
* Retrieves all time exchange statistics.
|
|
5805
|
+
* @summary /v1/exchange/stats/allTime
|
|
5806
|
+
* @param {*} [options] Override http request option.
|
|
5807
|
+
* @throws {RequiredError}
|
|
5808
|
+
*/
|
|
5809
|
+
getExchangeStatsAllTime(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StatsAllTimeResponse>>;
|
|
5552
5810
|
/**
|
|
5553
5811
|
* Retrieve the funding rate history for a specific market address.
|
|
5554
5812
|
* @summary /exchange/fundingRateHistory
|
|
@@ -5644,6 +5902,13 @@ export declare const ExchangeApiFactory: (configuration?: Configuration, basePat
|
|
|
5644
5902
|
* @throws {RequiredError}
|
|
5645
5903
|
*/
|
|
5646
5904
|
getExchangeStats(interval?: StatsInterval, startTimeAtMillis?: number, endTimeAtMillis?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<StatsResponse>;
|
|
5905
|
+
/**
|
|
5906
|
+
* Retrieves all time exchange statistics.
|
|
5907
|
+
* @summary /v1/exchange/stats/allTime
|
|
5908
|
+
* @param {*} [options] Override http request option.
|
|
5909
|
+
* @throws {RequiredError}
|
|
5910
|
+
*/
|
|
5911
|
+
getExchangeStatsAllTime(options?: RawAxiosRequestConfig): AxiosPromise<StatsAllTimeResponse>;
|
|
5647
5912
|
/**
|
|
5648
5913
|
* Retrieve the funding rate history for a specific market address.
|
|
5649
5914
|
* @summary /exchange/fundingRateHistory
|
|
@@ -5746,6 +6011,14 @@ export declare class ExchangeApi extends BaseAPI {
|
|
|
5746
6011
|
* @memberof ExchangeApi
|
|
5747
6012
|
*/
|
|
5748
6013
|
getExchangeStats(interval?: StatsInterval, startTimeAtMillis?: number, endTimeAtMillis?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StatsResponse, any>>;
|
|
6014
|
+
/**
|
|
6015
|
+
* Retrieves all time exchange statistics.
|
|
6016
|
+
* @summary /v1/exchange/stats/allTime
|
|
6017
|
+
* @param {*} [options] Override http request option.
|
|
6018
|
+
* @throws {RequiredError}
|
|
6019
|
+
* @memberof ExchangeApi
|
|
6020
|
+
*/
|
|
6021
|
+
getExchangeStatsAllTime(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StatsAllTimeResponse, any>>;
|
|
5749
6022
|
/**
|
|
5750
6023
|
* Retrieve the funding rate history for a specific market address.
|
|
5751
6024
|
* @summary /exchange/fundingRateHistory
|