@bluefin-exchange/pro-sdk 1.11.1 → 1.17.0
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 +650 -24
- package/dist/cjs/src/api.js.map +1 -1
- package/dist/cjs/src/sdk.js +5 -4
- package/dist/cjs/src/sdk.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 +650 -24
- package/dist/esm/src/api.js.map +1 -1
- package/dist/esm/src/sdk.js +5 -4
- package/dist/esm/src/sdk.js.map +1 -1
- package/dist/types/src/api.d.ts +649 -16
- package/dist/types/src/api.d.ts.map +1 -1
- package/package.json +4 -3
package/dist/types/src/api.d.ts
CHANGED
|
@@ -1099,6 +1099,12 @@ export interface ActiveOrderUpdate {
|
|
|
1099
1099
|
* @memberof ActiveOrderUpdate
|
|
1100
1100
|
*/
|
|
1101
1101
|
'updatedAtMillis': number;
|
|
1102
|
+
/**
|
|
1103
|
+
*
|
|
1104
|
+
* @type {ClientType}
|
|
1105
|
+
* @memberof ActiveOrderUpdate
|
|
1106
|
+
*/
|
|
1107
|
+
'client'?: ClientType;
|
|
1102
1108
|
}
|
|
1103
1109
|
/**
|
|
1104
1110
|
*
|
|
@@ -1765,6 +1771,64 @@ export interface AuthorizedWallet {
|
|
|
1765
1771
|
*/
|
|
1766
1772
|
'authorizedAtMillis': number;
|
|
1767
1773
|
}
|
|
1774
|
+
/**
|
|
1775
|
+
*
|
|
1776
|
+
* @export
|
|
1777
|
+
* @interface BalanceResponse
|
|
1778
|
+
*/
|
|
1779
|
+
export interface BalanceResponse {
|
|
1780
|
+
/**
|
|
1781
|
+
* User\'s wallet address.
|
|
1782
|
+
* @type {string}
|
|
1783
|
+
* @memberof BalanceResponse
|
|
1784
|
+
*/
|
|
1785
|
+
'userAddress': string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Lifetime Vera Points total.
|
|
1788
|
+
* @type {string}
|
|
1789
|
+
* @memberof BalanceResponse
|
|
1790
|
+
*/
|
|
1791
|
+
'totalPoints': string;
|
|
1792
|
+
/**
|
|
1793
|
+
* Current status tier.
|
|
1794
|
+
* @type {string}
|
|
1795
|
+
* @memberof BalanceResponse
|
|
1796
|
+
*/
|
|
1797
|
+
'currentTier': BalanceResponseCurrentTierEnum;
|
|
1798
|
+
/**
|
|
1799
|
+
* User\'s rank by lifetime points (1-based).
|
|
1800
|
+
* @type {number}
|
|
1801
|
+
* @memberof BalanceResponse
|
|
1802
|
+
*/
|
|
1803
|
+
'rank': number;
|
|
1804
|
+
/**
|
|
1805
|
+
* Next tier above current; null if Diamond.
|
|
1806
|
+
* @type {string}
|
|
1807
|
+
* @memberof BalanceResponse
|
|
1808
|
+
*/
|
|
1809
|
+
'nextTier': BalanceResponseNextTierEnum | null;
|
|
1810
|
+
/**
|
|
1811
|
+
* Points required for next tier; null if Diamond.
|
|
1812
|
+
* @type {string}
|
|
1813
|
+
* @memberof BalanceResponse
|
|
1814
|
+
*/
|
|
1815
|
+
'nextTierThreshold': string | null;
|
|
1816
|
+
}
|
|
1817
|
+
export declare const BalanceResponseCurrentTierEnum: {
|
|
1818
|
+
readonly None: "NONE";
|
|
1819
|
+
readonly Silver: "SILVER";
|
|
1820
|
+
readonly Gold: "GOLD";
|
|
1821
|
+
readonly Platinum: "PLATINUM";
|
|
1822
|
+
readonly Diamond: "DIAMOND";
|
|
1823
|
+
};
|
|
1824
|
+
export type BalanceResponseCurrentTierEnum = typeof BalanceResponseCurrentTierEnum[keyof typeof BalanceResponseCurrentTierEnum];
|
|
1825
|
+
export declare const BalanceResponseNextTierEnum: {
|
|
1826
|
+
readonly Silver: "SILVER";
|
|
1827
|
+
readonly Gold: "GOLD";
|
|
1828
|
+
readonly Platinum: "PLATINUM";
|
|
1829
|
+
readonly Diamond: "DIAMOND";
|
|
1830
|
+
};
|
|
1831
|
+
export type BalanceResponseNextTierEnum = typeof BalanceResponseNextTierEnum[keyof typeof BalanceResponseNextTierEnum];
|
|
1768
1832
|
/**
|
|
1769
1833
|
*
|
|
1770
1834
|
* @export
|
|
@@ -1848,6 +1912,7 @@ export declare const CandlePriceType: {
|
|
|
1848
1912
|
readonly Last: "Last";
|
|
1849
1913
|
readonly Market: "Market";
|
|
1850
1914
|
readonly Oracle: "Oracle";
|
|
1915
|
+
readonly Mark: "Mark";
|
|
1851
1916
|
readonly Unspecified: "UNSPECIFIED";
|
|
1852
1917
|
};
|
|
1853
1918
|
export type CandlePriceType = typeof CandlePriceType[keyof typeof CandlePriceType];
|
|
@@ -1956,6 +2021,70 @@ export declare const ClaimSignatureItemRewardTypeEnum: {
|
|
|
1956
2021
|
readonly Cash: "Cash";
|
|
1957
2022
|
};
|
|
1958
2023
|
export type ClaimSignatureItemRewardTypeEnum = typeof ClaimSignatureItemRewardTypeEnum[keyof typeof ClaimSignatureItemRewardTypeEnum];
|
|
2024
|
+
/**
|
|
2025
|
+
*
|
|
2026
|
+
* @export
|
|
2027
|
+
* @interface ClientCredentialsRequest
|
|
2028
|
+
*/
|
|
2029
|
+
export interface ClientCredentialsRequest {
|
|
2030
|
+
/**
|
|
2031
|
+
*
|
|
2032
|
+
* @type {string}
|
|
2033
|
+
* @memberof ClientCredentialsRequest
|
|
2034
|
+
*/
|
|
2035
|
+
'client_id': string;
|
|
2036
|
+
/**
|
|
2037
|
+
*
|
|
2038
|
+
* @type {string}
|
|
2039
|
+
* @memberof ClientCredentialsRequest
|
|
2040
|
+
*/
|
|
2041
|
+
'client_secret': string;
|
|
2042
|
+
/**
|
|
2043
|
+
*
|
|
2044
|
+
* @type {string}
|
|
2045
|
+
* @memberof ClientCredentialsRequest
|
|
2046
|
+
*/
|
|
2047
|
+
'grant_type': ClientCredentialsRequestGrantTypeEnum;
|
|
2048
|
+
}
|
|
2049
|
+
export declare const ClientCredentialsRequestGrantTypeEnum: {
|
|
2050
|
+
readonly ClientCredentials: "client_credentials";
|
|
2051
|
+
};
|
|
2052
|
+
export type ClientCredentialsRequestGrantTypeEnum = typeof ClientCredentialsRequestGrantTypeEnum[keyof typeof ClientCredentialsRequestGrantTypeEnum];
|
|
2053
|
+
/**
|
|
2054
|
+
*
|
|
2055
|
+
* @export
|
|
2056
|
+
* @interface ClientCredentialsResponse
|
|
2057
|
+
*/
|
|
2058
|
+
export interface ClientCredentialsResponse {
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @type {string}
|
|
2062
|
+
* @memberof ClientCredentialsResponse
|
|
2063
|
+
*/
|
|
2064
|
+
'access_token': string;
|
|
2065
|
+
/**
|
|
2066
|
+
*
|
|
2067
|
+
* @type {string}
|
|
2068
|
+
* @memberof ClientCredentialsResponse
|
|
2069
|
+
*/
|
|
2070
|
+
'token_type': string;
|
|
2071
|
+
/**
|
|
2072
|
+
* Token validity in seconds
|
|
2073
|
+
* @type {number}
|
|
2074
|
+
* @memberof ClientCredentialsResponse
|
|
2075
|
+
*/
|
|
2076
|
+
'expires_in': number;
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* The client application that initiated the request.
|
|
2080
|
+
* @export
|
|
2081
|
+
* @enum {string}
|
|
2082
|
+
*/
|
|
2083
|
+
export declare const ClientType: {
|
|
2084
|
+
readonly Web: "WEB";
|
|
2085
|
+
readonly Vera: "VERA";
|
|
2086
|
+
};
|
|
2087
|
+
export type ClientType = typeof ClientType[keyof typeof ClientType];
|
|
1959
2088
|
/**
|
|
1960
2089
|
*
|
|
1961
2090
|
* @export
|
|
@@ -2779,6 +2908,45 @@ export interface LeaderboardEntry {
|
|
|
2779
2908
|
*/
|
|
2780
2909
|
'volumeE9': string;
|
|
2781
2910
|
}
|
|
2911
|
+
/**
|
|
2912
|
+
*
|
|
2913
|
+
* @export
|
|
2914
|
+
* @interface LeaderboardEntry1
|
|
2915
|
+
*/
|
|
2916
|
+
export interface LeaderboardEntry1 {
|
|
2917
|
+
/**
|
|
2918
|
+
* Rank by lifetime points (1-based).
|
|
2919
|
+
* @type {number}
|
|
2920
|
+
* @memberof LeaderboardEntry1
|
|
2921
|
+
*/
|
|
2922
|
+
'rank': number;
|
|
2923
|
+
/**
|
|
2924
|
+
* Wallet address (may be partially masked in response).
|
|
2925
|
+
* @type {string}
|
|
2926
|
+
* @memberof LeaderboardEntry1
|
|
2927
|
+
*/
|
|
2928
|
+
'userAddress': string;
|
|
2929
|
+
/**
|
|
2930
|
+
* Lifetime Vera Points total.
|
|
2931
|
+
* @type {string}
|
|
2932
|
+
* @memberof LeaderboardEntry1
|
|
2933
|
+
*/
|
|
2934
|
+
'totalPoints': string;
|
|
2935
|
+
/**
|
|
2936
|
+
*
|
|
2937
|
+
* @type {string}
|
|
2938
|
+
* @memberof LeaderboardEntry1
|
|
2939
|
+
*/
|
|
2940
|
+
'currentTier': LeaderboardEntry1CurrentTierEnum;
|
|
2941
|
+
}
|
|
2942
|
+
export declare const LeaderboardEntry1CurrentTierEnum: {
|
|
2943
|
+
readonly None: "NONE";
|
|
2944
|
+
readonly Silver: "SILVER";
|
|
2945
|
+
readonly Gold: "GOLD";
|
|
2946
|
+
readonly Platinum: "PLATINUM";
|
|
2947
|
+
readonly Diamond: "DIAMOND";
|
|
2948
|
+
};
|
|
2949
|
+
export type LeaderboardEntry1CurrentTierEnum = typeof LeaderboardEntry1CurrentTierEnum[keyof typeof LeaderboardEntry1CurrentTierEnum];
|
|
2782
2950
|
/**
|
|
2783
2951
|
*
|
|
2784
2952
|
* @export
|
|
@@ -2805,6 +2973,25 @@ export interface LeaderboardResponse {
|
|
|
2805
2973
|
*/
|
|
2806
2974
|
'data': Array<LeaderboardEntry>;
|
|
2807
2975
|
}
|
|
2976
|
+
/**
|
|
2977
|
+
*
|
|
2978
|
+
* @export
|
|
2979
|
+
* @interface LeaderboardResponse1
|
|
2980
|
+
*/
|
|
2981
|
+
export interface LeaderboardResponse1 {
|
|
2982
|
+
/**
|
|
2983
|
+
*
|
|
2984
|
+
* @type {Array<LeaderboardEntry1>}
|
|
2985
|
+
* @memberof LeaderboardResponse1
|
|
2986
|
+
*/
|
|
2987
|
+
'entries': Array<LeaderboardEntry1>;
|
|
2988
|
+
/**
|
|
2989
|
+
* Total number of users (for pagination).
|
|
2990
|
+
* @type {number}
|
|
2991
|
+
* @memberof LeaderboardResponse1
|
|
2992
|
+
*/
|
|
2993
|
+
'total'?: number;
|
|
2994
|
+
}
|
|
2808
2995
|
/**
|
|
2809
2996
|
* User is expected to sign this payload and sends is signature in login api as header and payload itself in request body
|
|
2810
2997
|
* @export
|
|
@@ -3467,6 +3654,61 @@ export interface OnboardRefereeRequest {
|
|
|
3467
3654
|
*/
|
|
3468
3655
|
'code': string;
|
|
3469
3656
|
}
|
|
3657
|
+
/**
|
|
3658
|
+
*
|
|
3659
|
+
* @export
|
|
3660
|
+
* @interface OpenIDConfigurationResponse
|
|
3661
|
+
*/
|
|
3662
|
+
export interface OpenIDConfigurationResponse {
|
|
3663
|
+
/**
|
|
3664
|
+
*
|
|
3665
|
+
* @type {string}
|
|
3666
|
+
* @memberof OpenIDConfigurationResponse
|
|
3667
|
+
*/
|
|
3668
|
+
'issuer': string;
|
|
3669
|
+
/**
|
|
3670
|
+
*
|
|
3671
|
+
* @type {string}
|
|
3672
|
+
* @memberof OpenIDConfigurationResponse
|
|
3673
|
+
*/
|
|
3674
|
+
'authorization_endpoint': string;
|
|
3675
|
+
/**
|
|
3676
|
+
*
|
|
3677
|
+
* @type {string}
|
|
3678
|
+
* @memberof OpenIDConfigurationResponse
|
|
3679
|
+
*/
|
|
3680
|
+
'jwks_uri': string;
|
|
3681
|
+
/**
|
|
3682
|
+
*
|
|
3683
|
+
* @type {string}
|
|
3684
|
+
* @memberof OpenIDConfigurationResponse
|
|
3685
|
+
*/
|
|
3686
|
+
'token_endpoint': string;
|
|
3687
|
+
/**
|
|
3688
|
+
*
|
|
3689
|
+
* @type {Array<string>}
|
|
3690
|
+
* @memberof OpenIDConfigurationResponse
|
|
3691
|
+
*/
|
|
3692
|
+
'response_types_supported': Array<string>;
|
|
3693
|
+
/**
|
|
3694
|
+
*
|
|
3695
|
+
* @type {Array<string>}
|
|
3696
|
+
* @memberof OpenIDConfigurationResponse
|
|
3697
|
+
*/
|
|
3698
|
+
'id_token_signing_alg_values_supported': Array<string>;
|
|
3699
|
+
/**
|
|
3700
|
+
*
|
|
3701
|
+
* @type {Array<string>}
|
|
3702
|
+
* @memberof OpenIDConfigurationResponse
|
|
3703
|
+
*/
|
|
3704
|
+
'subject_types_supported': Array<string>;
|
|
3705
|
+
/**
|
|
3706
|
+
*
|
|
3707
|
+
* @type {Array<string>}
|
|
3708
|
+
* @memberof OpenIDConfigurationResponse
|
|
3709
|
+
*/
|
|
3710
|
+
'scopes_supported': Array<string>;
|
|
3711
|
+
}
|
|
3470
3712
|
/**
|
|
3471
3713
|
*
|
|
3472
3714
|
* @export
|
|
@@ -4321,6 +4563,25 @@ export declare const SelfTradePreventionType: {
|
|
|
4321
4563
|
readonly Unspecified: "UNSPECIFIED";
|
|
4322
4564
|
};
|
|
4323
4565
|
export type SelfTradePreventionType = typeof SelfTradePreventionType[keyof typeof SelfTradePreventionType];
|
|
4566
|
+
/**
|
|
4567
|
+
*
|
|
4568
|
+
* @export
|
|
4569
|
+
* @interface SessionResponse
|
|
4570
|
+
*/
|
|
4571
|
+
export interface SessionResponse {
|
|
4572
|
+
/**
|
|
4573
|
+
* User\'s wallet address.
|
|
4574
|
+
* @type {string}
|
|
4575
|
+
* @memberof SessionResponse
|
|
4576
|
+
*/
|
|
4577
|
+
'userAddress': string;
|
|
4578
|
+
/**
|
|
4579
|
+
* UTC date of the recorded session.
|
|
4580
|
+
* @type {string}
|
|
4581
|
+
* @memberof SessionResponse
|
|
4582
|
+
*/
|
|
4583
|
+
'sessionDate': string;
|
|
4584
|
+
}
|
|
4324
4585
|
/**
|
|
4325
4586
|
*
|
|
4326
4587
|
* @export
|
|
@@ -4559,6 +4820,42 @@ export declare const SubscriptionType: {
|
|
|
4559
4820
|
readonly Unsubscribe: "Unsubscribe";
|
|
4560
4821
|
};
|
|
4561
4822
|
export type SubscriptionType = typeof SubscriptionType[keyof typeof SubscriptionType];
|
|
4823
|
+
/**
|
|
4824
|
+
*
|
|
4825
|
+
* @export
|
|
4826
|
+
* @interface SwapClaimRequest
|
|
4827
|
+
*/
|
|
4828
|
+
export interface SwapClaimRequest {
|
|
4829
|
+
/**
|
|
4830
|
+
* On-chain transaction hash of the swap.
|
|
4831
|
+
* @type {string}
|
|
4832
|
+
* @memberof SwapClaimRequest
|
|
4833
|
+
*/
|
|
4834
|
+
'txHash': string;
|
|
4835
|
+
}
|
|
4836
|
+
/**
|
|
4837
|
+
*
|
|
4838
|
+
* @export
|
|
4839
|
+
* @interface SwapClaimResponse
|
|
4840
|
+
*/
|
|
4841
|
+
export interface SwapClaimResponse {
|
|
4842
|
+
/**
|
|
4843
|
+
* The claimed transaction hash.
|
|
4844
|
+
* @type {string}
|
|
4845
|
+
* @memberof SwapClaimResponse
|
|
4846
|
+
*/
|
|
4847
|
+
'txHash': string;
|
|
4848
|
+
/**
|
|
4849
|
+
* Claim status.
|
|
4850
|
+
* @type {string}
|
|
4851
|
+
* @memberof SwapClaimResponse
|
|
4852
|
+
*/
|
|
4853
|
+
'status': SwapClaimResponseStatusEnum;
|
|
4854
|
+
}
|
|
4855
|
+
export declare const SwapClaimResponseStatusEnum: {
|
|
4856
|
+
readonly Claimed: "claimed";
|
|
4857
|
+
};
|
|
4858
|
+
export type SwapClaimResponseStatusEnum = typeof SwapClaimResponseStatusEnum[keyof typeof SwapClaimResponseStatusEnum];
|
|
4562
4859
|
/**
|
|
4563
4860
|
*
|
|
4564
4861
|
* @export
|
|
@@ -5102,6 +5399,12 @@ export interface Trade {
|
|
|
5102
5399
|
* @memberof Trade
|
|
5103
5400
|
*/
|
|
5104
5401
|
'executedAtMillis': number;
|
|
5402
|
+
/**
|
|
5403
|
+
*
|
|
5404
|
+
* @type {ClientType}
|
|
5405
|
+
* @memberof Trade
|
|
5406
|
+
*/
|
|
5407
|
+
'client'?: ClientType;
|
|
5105
5408
|
}
|
|
5106
5409
|
/**
|
|
5107
5410
|
* Trade side based on the user order in this trade.
|
|
@@ -5398,6 +5701,42 @@ export declare const UserCampaignRewardsClaimStatusEnum: {
|
|
|
5398
5701
|
readonly ClaimEnded: "CLAIM_ENDED";
|
|
5399
5702
|
};
|
|
5400
5703
|
export type UserCampaignRewardsClaimStatusEnum = typeof UserCampaignRewardsClaimStatusEnum[keyof typeof UserCampaignRewardsClaimStatusEnum];
|
|
5704
|
+
/**
|
|
5705
|
+
*
|
|
5706
|
+
* @export
|
|
5707
|
+
* @interface VaultClaimRequest
|
|
5708
|
+
*/
|
|
5709
|
+
export interface VaultClaimRequest {
|
|
5710
|
+
/**
|
|
5711
|
+
* On-chain transaction hash of the vault deposit.
|
|
5712
|
+
* @type {string}
|
|
5713
|
+
* @memberof VaultClaimRequest
|
|
5714
|
+
*/
|
|
5715
|
+
'txHash': string;
|
|
5716
|
+
}
|
|
5717
|
+
/**
|
|
5718
|
+
*
|
|
5719
|
+
* @export
|
|
5720
|
+
* @interface VaultClaimResponse
|
|
5721
|
+
*/
|
|
5722
|
+
export interface VaultClaimResponse {
|
|
5723
|
+
/**
|
|
5724
|
+
* The claimed transaction hash.
|
|
5725
|
+
* @type {string}
|
|
5726
|
+
* @memberof VaultClaimResponse
|
|
5727
|
+
*/
|
|
5728
|
+
'txHash': string;
|
|
5729
|
+
/**
|
|
5730
|
+
* Claim status.
|
|
5731
|
+
* @type {string}
|
|
5732
|
+
* @memberof VaultClaimResponse
|
|
5733
|
+
*/
|
|
5734
|
+
'status': VaultClaimResponseStatusEnum;
|
|
5735
|
+
}
|
|
5736
|
+
export declare const VaultClaimResponseStatusEnum: {
|
|
5737
|
+
readonly Claimed: "claimed";
|
|
5738
|
+
};
|
|
5739
|
+
export type VaultClaimResponseStatusEnum = typeof VaultClaimResponseStatusEnum[keyof typeof VaultClaimResponseStatusEnum];
|
|
5401
5740
|
/**
|
|
5402
5741
|
*
|
|
5403
5742
|
* @export
|
|
@@ -5613,6 +5952,14 @@ export declare const AccountDataApiAxiosParamCreator: (configuration?: Configura
|
|
|
5613
5952
|
* @throws {RequiredError}
|
|
5614
5953
|
*/
|
|
5615
5954
|
getAccountValueHistory: (interval: GetAccountValueHistoryParamsInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5955
|
+
/**
|
|
5956
|
+
* Retrieves the account value history for 24h.
|
|
5957
|
+
* @summary /accounts/{accountAddress}/valueHistory
|
|
5958
|
+
* @param {string} accountAddress Account address to fetch account value history for.
|
|
5959
|
+
* @param {*} [options] Override http request option.
|
|
5960
|
+
* @throws {RequiredError}
|
|
5961
|
+
*/
|
|
5962
|
+
getAccountValueHistoryByAccount: (accountAddress: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5616
5963
|
/**
|
|
5617
5964
|
* Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
|
|
5618
5965
|
* @summary Set the group ID for an account.
|
|
@@ -5704,6 +6051,14 @@ export declare const AccountDataApiFp: (configuration?: Configuration) => {
|
|
|
5704
6051
|
* @throws {RequiredError}
|
|
5705
6052
|
*/
|
|
5706
6053
|
getAccountValueHistory(interval: GetAccountValueHistoryParamsInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountValueHistory>>;
|
|
6054
|
+
/**
|
|
6055
|
+
* Retrieves the account value history for 24h.
|
|
6056
|
+
* @summary /accounts/{accountAddress}/valueHistory
|
|
6057
|
+
* @param {string} accountAddress Account address to fetch account value history for.
|
|
6058
|
+
* @param {*} [options] Override http request option.
|
|
6059
|
+
* @throws {RequiredError}
|
|
6060
|
+
*/
|
|
6061
|
+
getAccountValueHistoryByAccount(accountAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountValueHistory>>;
|
|
5707
6062
|
/**
|
|
5708
6063
|
* Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
|
|
5709
6064
|
* @summary Set the group ID for an account.
|
|
@@ -5795,6 +6150,14 @@ export declare const AccountDataApiFactory: (configuration?: Configuration, base
|
|
|
5795
6150
|
* @throws {RequiredError}
|
|
5796
6151
|
*/
|
|
5797
6152
|
getAccountValueHistory(interval: GetAccountValueHistoryParamsInterval, options?: RawAxiosRequestConfig): AxiosPromise<AccountValueHistory>;
|
|
6153
|
+
/**
|
|
6154
|
+
* Retrieves the account value history for 24h.
|
|
6155
|
+
* @summary /accounts/{accountAddress}/valueHistory
|
|
6156
|
+
* @param {string} accountAddress Account address to fetch account value history for.
|
|
6157
|
+
* @param {*} [options] Override http request option.
|
|
6158
|
+
* @throws {RequiredError}
|
|
6159
|
+
*/
|
|
6160
|
+
getAccountValueHistoryByAccount(accountAddress: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountValueHistory>;
|
|
5798
6161
|
/**
|
|
5799
6162
|
* Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
|
|
5800
6163
|
* @summary Set the group ID for an account.
|
|
@@ -5894,6 +6257,15 @@ export declare class AccountDataApi extends BaseAPI {
|
|
|
5894
6257
|
* @memberof AccountDataApi
|
|
5895
6258
|
*/
|
|
5896
6259
|
getAccountValueHistory(interval: GetAccountValueHistoryParamsInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountValueHistory, any, {}>>;
|
|
6260
|
+
/**
|
|
6261
|
+
* Retrieves the account value history for 24h.
|
|
6262
|
+
* @summary /accounts/{accountAddress}/valueHistory
|
|
6263
|
+
* @param {string} accountAddress Account address to fetch account value history for.
|
|
6264
|
+
* @param {*} [options] Override http request option.
|
|
6265
|
+
* @throws {RequiredError}
|
|
6266
|
+
* @memberof AccountDataApi
|
|
6267
|
+
*/
|
|
6268
|
+
getAccountValueHistoryByAccount(accountAddress: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountValueHistory, any, {}>>;
|
|
5897
6269
|
/**
|
|
5898
6270
|
* Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
|
|
5899
6271
|
* @summary Set the group ID for an account.
|
|
@@ -5939,10 +6311,11 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
5939
6311
|
* @param {LoginRequest} loginRequest
|
|
5940
6312
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
5941
6313
|
* @param {boolean} [readOnly]
|
|
6314
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
5942
6315
|
* @param {*} [options] Override http request option.
|
|
5943
6316
|
* @throws {RequiredError}
|
|
5944
6317
|
*/
|
|
5945
|
-
authTokenPost: (payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6318
|
+
authTokenPost: (payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5946
6319
|
/**
|
|
5947
6320
|
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
5948
6321
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
@@ -5956,10 +6329,18 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
5956
6329
|
* @param {LoginRequest} loginRequest
|
|
5957
6330
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
5958
6331
|
* @param {boolean} [readOnly]
|
|
6332
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
5959
6333
|
* @param {*} [options] Override http request option.
|
|
5960
6334
|
* @throws {RequiredError}
|
|
5961
6335
|
*/
|
|
5962
|
-
authV2TokenPost: (payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6336
|
+
authV2TokenPost: (payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6337
|
+
/**
|
|
6338
|
+
* OpenID Connect Discovery endpoint
|
|
6339
|
+
* @summary /.well-known/openid-configuration
|
|
6340
|
+
* @param {*} [options] Override http request option.
|
|
6341
|
+
* @throws {RequiredError}
|
|
6342
|
+
*/
|
|
6343
|
+
getWellKnownOpenidConfiguration: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5963
6344
|
/**
|
|
5964
6345
|
* ZK Login User Details
|
|
5965
6346
|
* @summary /auth/zklogin
|
|
@@ -5968,6 +6349,14 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
5968
6349
|
* @throws {RequiredError}
|
|
5969
6350
|
*/
|
|
5970
6351
|
getZkLoginUserDetails: (zkloginJwt: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6352
|
+
/**
|
|
6353
|
+
* OAuth2 client_credentials grant for service accounts
|
|
6354
|
+
* @summary /auth/client-credentials
|
|
6355
|
+
* @param {ClientCredentialsRequest} clientCredentialsRequest
|
|
6356
|
+
* @param {*} [options] Override http request option.
|
|
6357
|
+
* @throws {RequiredError}
|
|
6358
|
+
*/
|
|
6359
|
+
postAuthClientCredentials: (clientCredentialsRequest: ClientCredentialsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5971
6360
|
/**
|
|
5972
6361
|
*
|
|
5973
6362
|
* @summary /auth/zklogin/zkp
|
|
@@ -5997,10 +6386,11 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
5997
6386
|
* @param {LoginRequest} loginRequest
|
|
5998
6387
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
5999
6388
|
* @param {boolean} [readOnly]
|
|
6389
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
6000
6390
|
* @param {*} [options] Override http request option.
|
|
6001
6391
|
* @throws {RequiredError}
|
|
6002
6392
|
*/
|
|
6003
|
-
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
6393
|
+
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
6004
6394
|
/**
|
|
6005
6395
|
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
6006
6396
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
@@ -6014,10 +6404,18 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
6014
6404
|
* @param {LoginRequest} loginRequest
|
|
6015
6405
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
6016
6406
|
* @param {boolean} [readOnly]
|
|
6407
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
6017
6408
|
* @param {*} [options] Override http request option.
|
|
6018
6409
|
* @throws {RequiredError}
|
|
6019
6410
|
*/
|
|
6020
|
-
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
6411
|
+
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
6412
|
+
/**
|
|
6413
|
+
* OpenID Connect Discovery endpoint
|
|
6414
|
+
* @summary /.well-known/openid-configuration
|
|
6415
|
+
* @param {*} [options] Override http request option.
|
|
6416
|
+
* @throws {RequiredError}
|
|
6417
|
+
*/
|
|
6418
|
+
getWellKnownOpenidConfiguration(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpenIDConfigurationResponse>>;
|
|
6021
6419
|
/**
|
|
6022
6420
|
* ZK Login User Details
|
|
6023
6421
|
* @summary /auth/zklogin
|
|
@@ -6026,6 +6424,14 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
6026
6424
|
* @throws {RequiredError}
|
|
6027
6425
|
*/
|
|
6028
6426
|
getZkLoginUserDetails(zkloginJwt: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ZKLoginUserDetailsResponse>>;
|
|
6427
|
+
/**
|
|
6428
|
+
* OAuth2 client_credentials grant for service accounts
|
|
6429
|
+
* @summary /auth/client-credentials
|
|
6430
|
+
* @param {ClientCredentialsRequest} clientCredentialsRequest
|
|
6431
|
+
* @param {*} [options] Override http request option.
|
|
6432
|
+
* @throws {RequiredError}
|
|
6433
|
+
*/
|
|
6434
|
+
postAuthClientCredentials(clientCredentialsRequest: ClientCredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientCredentialsResponse>>;
|
|
6029
6435
|
/**
|
|
6030
6436
|
*
|
|
6031
6437
|
* @summary /auth/zklogin/zkp
|
|
@@ -6055,10 +6461,11 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6055
6461
|
* @param {LoginRequest} loginRequest
|
|
6056
6462
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
6057
6463
|
* @param {boolean} [readOnly]
|
|
6464
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
6058
6465
|
* @param {*} [options] Override http request option.
|
|
6059
6466
|
* @throws {RequiredError}
|
|
6060
6467
|
*/
|
|
6061
|
-
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
6468
|
+
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
6062
6469
|
/**
|
|
6063
6470
|
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
6064
6471
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
@@ -6072,10 +6479,18 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6072
6479
|
* @param {LoginRequest} loginRequest
|
|
6073
6480
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
6074
6481
|
* @param {boolean} [readOnly]
|
|
6482
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
6075
6483
|
* @param {*} [options] Override http request option.
|
|
6076
6484
|
* @throws {RequiredError}
|
|
6077
6485
|
*/
|
|
6078
|
-
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
6486
|
+
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
6487
|
+
/**
|
|
6488
|
+
* OpenID Connect Discovery endpoint
|
|
6489
|
+
* @summary /.well-known/openid-configuration
|
|
6490
|
+
* @param {*} [options] Override http request option.
|
|
6491
|
+
* @throws {RequiredError}
|
|
6492
|
+
*/
|
|
6493
|
+
getWellKnownOpenidConfiguration(options?: RawAxiosRequestConfig): AxiosPromise<OpenIDConfigurationResponse>;
|
|
6079
6494
|
/**
|
|
6080
6495
|
* ZK Login User Details
|
|
6081
6496
|
* @summary /auth/zklogin
|
|
@@ -6084,6 +6499,14 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6084
6499
|
* @throws {RequiredError}
|
|
6085
6500
|
*/
|
|
6086
6501
|
getZkLoginUserDetails(zkloginJwt: string, options?: RawAxiosRequestConfig): AxiosPromise<ZKLoginUserDetailsResponse>;
|
|
6502
|
+
/**
|
|
6503
|
+
* OAuth2 client_credentials grant for service accounts
|
|
6504
|
+
* @summary /auth/client-credentials
|
|
6505
|
+
* @param {ClientCredentialsRequest} clientCredentialsRequest
|
|
6506
|
+
* @param {*} [options] Override http request option.
|
|
6507
|
+
* @throws {RequiredError}
|
|
6508
|
+
*/
|
|
6509
|
+
postAuthClientCredentials(clientCredentialsRequest: ClientCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientCredentialsResponse>;
|
|
6087
6510
|
/**
|
|
6088
6511
|
*
|
|
6089
6512
|
* @summary /auth/zklogin/zkp
|
|
@@ -6116,11 +6539,12 @@ export declare class AuthApi extends BaseAPI {
|
|
|
6116
6539
|
* @param {LoginRequest} loginRequest
|
|
6117
6540
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
6118
6541
|
* @param {boolean} [readOnly]
|
|
6542
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
6119
6543
|
* @param {*} [options] Override http request option.
|
|
6120
6544
|
* @throws {RequiredError}
|
|
6121
6545
|
* @memberof AuthApi
|
|
6122
6546
|
*/
|
|
6123
|
-
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any, {}>>;
|
|
6547
|
+
authTokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any, {}>>;
|
|
6124
6548
|
/**
|
|
6125
6549
|
* Retrieves a new auth token for an account. Expiry is set to 5 min.
|
|
6126
6550
|
* @param {RefreshTokenRequest} refreshTokenRequest
|
|
@@ -6135,11 +6559,20 @@ export declare class AuthApi extends BaseAPI {
|
|
|
6135
6559
|
* @param {LoginRequest} loginRequest
|
|
6136
6560
|
* @param {number} [refreshTokenValidForSeconds] The number of seconds the refresh token is valid for. If not provided, the default is 30 days.
|
|
6137
6561
|
* @param {boolean} [readOnly]
|
|
6562
|
+
* @param {ClientType} [client] The client application originating the request (WEB or VERA). Defaults to WEB if not supplied.
|
|
6138
6563
|
* @param {*} [options] Override http request option.
|
|
6139
6564
|
* @throws {RequiredError}
|
|
6140
6565
|
* @memberof AuthApi
|
|
6141
6566
|
*/
|
|
6142
|
-
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any, {}>>;
|
|
6567
|
+
authV2TokenPost(payloadSignature: string, loginRequest: LoginRequest, refreshTokenValidForSeconds?: number, readOnly?: boolean, client?: ClientType, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any, {}>>;
|
|
6568
|
+
/**
|
|
6569
|
+
* OpenID Connect Discovery endpoint
|
|
6570
|
+
* @summary /.well-known/openid-configuration
|
|
6571
|
+
* @param {*} [options] Override http request option.
|
|
6572
|
+
* @throws {RequiredError}
|
|
6573
|
+
* @memberof AuthApi
|
|
6574
|
+
*/
|
|
6575
|
+
getWellKnownOpenidConfiguration(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpenIDConfigurationResponse, any, {}>>;
|
|
6143
6576
|
/**
|
|
6144
6577
|
* ZK Login User Details
|
|
6145
6578
|
* @summary /auth/zklogin
|
|
@@ -6149,6 +6582,15 @@ export declare class AuthApi extends BaseAPI {
|
|
|
6149
6582
|
* @memberof AuthApi
|
|
6150
6583
|
*/
|
|
6151
6584
|
getZkLoginUserDetails(zkloginJwt: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ZKLoginUserDetailsResponse, any, {}>>;
|
|
6585
|
+
/**
|
|
6586
|
+
* OAuth2 client_credentials grant for service accounts
|
|
6587
|
+
* @summary /auth/client-credentials
|
|
6588
|
+
* @param {ClientCredentialsRequest} clientCredentialsRequest
|
|
6589
|
+
* @param {*} [options] Override http request option.
|
|
6590
|
+
* @throws {RequiredError}
|
|
6591
|
+
* @memberof AuthApi
|
|
6592
|
+
*/
|
|
6593
|
+
postAuthClientCredentials(clientCredentialsRequest: ClientCredentialsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientCredentialsResponse, any, {}>>;
|
|
6152
6594
|
/**
|
|
6153
6595
|
*
|
|
6154
6596
|
* @summary /auth/zklogin/zkp
|
|
@@ -6177,7 +6619,7 @@ export declare const ExchangeApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6177
6619
|
* @summary /exchange/candlesticks
|
|
6178
6620
|
* @param {string} symbol The market symbol to get the klines for.
|
|
6179
6621
|
* @param {KlineInterval} interval The interval to get the klines for.
|
|
6180
|
-
* @param {CandlePriceType} type Candle price type (last price, market price or
|
|
6622
|
+
* @param {CandlePriceType} type Candle price type (last price, market price, oracle or mark price).
|
|
6181
6623
|
* @param {number} [startTimeAtMillis] Timestamp in milliseconds in ms to get klines from.
|
|
6182
6624
|
* @param {number} [endTimeAtMillis] Timestamp in milliseconds in ms to get klines until.
|
|
6183
6625
|
* @param {number} [limit] Default 50; max 1000.
|
|
@@ -6237,7 +6679,7 @@ export declare const ExchangeApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6237
6679
|
* @param {LeaderboardInterval} [interval] The interval to get the leaderboard for. Default or Unspecified is 7d.
|
|
6238
6680
|
* @param {GetLeaderboardSortByEnum} [sortBy] The field to sort by. Default or Unspecified is accountValue.
|
|
6239
6681
|
* @param {SortOrder} [sortOrder] The sort order, either ascending (ASC) or descending (DESC). Default or UNSPECIFIED is DESC.
|
|
6240
|
-
* @param {number} [limit] Default 50; max
|
|
6682
|
+
* @param {number} [limit] Default 50; max 1000.
|
|
6241
6683
|
* @param {number} [page] The page number to retrieve in a paginated response.
|
|
6242
6684
|
* @param {*} [options] Override http request option.
|
|
6243
6685
|
* @throws {RequiredError}
|
|
@@ -6291,7 +6733,7 @@ export declare const ExchangeApiFp: (configuration?: Configuration) => {
|
|
|
6291
6733
|
* @summary /exchange/candlesticks
|
|
6292
6734
|
* @param {string} symbol The market symbol to get the klines for.
|
|
6293
6735
|
* @param {KlineInterval} interval The interval to get the klines for.
|
|
6294
|
-
* @param {CandlePriceType} type Candle price type (last price, market price or
|
|
6736
|
+
* @param {CandlePriceType} type Candle price type (last price, market price, oracle or mark price).
|
|
6295
6737
|
* @param {number} [startTimeAtMillis] Timestamp in milliseconds in ms to get klines from.
|
|
6296
6738
|
* @param {number} [endTimeAtMillis] Timestamp in milliseconds in ms to get klines until.
|
|
6297
6739
|
* @param {number} [limit] Default 50; max 1000.
|
|
@@ -6351,7 +6793,7 @@ export declare const ExchangeApiFp: (configuration?: Configuration) => {
|
|
|
6351
6793
|
* @param {LeaderboardInterval} [interval] The interval to get the leaderboard for. Default or Unspecified is 7d.
|
|
6352
6794
|
* @param {GetLeaderboardSortByEnum} [sortBy] The field to sort by. Default or Unspecified is accountValue.
|
|
6353
6795
|
* @param {SortOrder} [sortOrder] The sort order, either ascending (ASC) or descending (DESC). Default or UNSPECIFIED is DESC.
|
|
6354
|
-
* @param {number} [limit] Default 50; max
|
|
6796
|
+
* @param {number} [limit] Default 50; max 1000.
|
|
6355
6797
|
* @param {number} [page] The page number to retrieve in a paginated response.
|
|
6356
6798
|
* @param {*} [options] Override http request option.
|
|
6357
6799
|
* @throws {RequiredError}
|
|
@@ -6405,7 +6847,7 @@ export declare const ExchangeApiFactory: (configuration?: Configuration, basePat
|
|
|
6405
6847
|
* @summary /exchange/candlesticks
|
|
6406
6848
|
* @param {string} symbol The market symbol to get the klines for.
|
|
6407
6849
|
* @param {KlineInterval} interval The interval to get the klines for.
|
|
6408
|
-
* @param {CandlePriceType} type Candle price type (last price, market price or
|
|
6850
|
+
* @param {CandlePriceType} type Candle price type (last price, market price, oracle or mark price).
|
|
6409
6851
|
* @param {number} [startTimeAtMillis] Timestamp in milliseconds in ms to get klines from.
|
|
6410
6852
|
* @param {number} [endTimeAtMillis] Timestamp in milliseconds in ms to get klines until.
|
|
6411
6853
|
* @param {number} [limit] Default 50; max 1000.
|
|
@@ -6465,7 +6907,7 @@ export declare const ExchangeApiFactory: (configuration?: Configuration, basePat
|
|
|
6465
6907
|
* @param {LeaderboardInterval} [interval] The interval to get the leaderboard for. Default or Unspecified is 7d.
|
|
6466
6908
|
* @param {GetLeaderboardSortByEnum} [sortBy] The field to sort by. Default or Unspecified is accountValue.
|
|
6467
6909
|
* @param {SortOrder} [sortOrder] The sort order, either ascending (ASC) or descending (DESC). Default or UNSPECIFIED is DESC.
|
|
6468
|
-
* @param {number} [limit] Default 50; max
|
|
6910
|
+
* @param {number} [limit] Default 50; max 1000.
|
|
6469
6911
|
* @param {number} [page] The page number to retrieve in a paginated response.
|
|
6470
6912
|
* @param {*} [options] Override http request option.
|
|
6471
6913
|
* @throws {RequiredError}
|
|
@@ -6522,7 +6964,7 @@ export declare class ExchangeApi extends BaseAPI {
|
|
|
6522
6964
|
* @summary /exchange/candlesticks
|
|
6523
6965
|
* @param {string} symbol The market symbol to get the klines for.
|
|
6524
6966
|
* @param {KlineInterval} interval The interval to get the klines for.
|
|
6525
|
-
* @param {CandlePriceType} type Candle price type (last price, market price or
|
|
6967
|
+
* @param {CandlePriceType} type Candle price type (last price, market price, oracle or mark price).
|
|
6526
6968
|
* @param {number} [startTimeAtMillis] Timestamp in milliseconds in ms to get klines from.
|
|
6527
6969
|
* @param {number} [endTimeAtMillis] Timestamp in milliseconds in ms to get klines until.
|
|
6528
6970
|
* @param {number} [limit] Default 50; max 1000.
|
|
@@ -6588,7 +7030,7 @@ export declare class ExchangeApi extends BaseAPI {
|
|
|
6588
7030
|
* @param {LeaderboardInterval} [interval] The interval to get the leaderboard for. Default or Unspecified is 7d.
|
|
6589
7031
|
* @param {GetLeaderboardSortByEnum} [sortBy] The field to sort by. Default or Unspecified is accountValue.
|
|
6590
7032
|
* @param {SortOrder} [sortOrder] The sort order, either ascending (ASC) or descending (DESC). Default or UNSPECIFIED is DESC.
|
|
6591
|
-
* @param {number} [limit] Default 50; max
|
|
7033
|
+
* @param {number} [limit] Default 50; max 1000.
|
|
6592
7034
|
* @param {number} [page] The page number to retrieve in a paginated response.
|
|
6593
7035
|
* @param {*} [options] Override http request option.
|
|
6594
7036
|
* @throws {RequiredError}
|
|
@@ -7853,4 +8295,195 @@ export declare class TradeApi extends BaseAPI {
|
|
|
7853
8295
|
*/
|
|
7854
8296
|
putLeverageUpdate(accountPositionLeverageUpdateRequest: AccountPositionLeverageUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
7855
8297
|
}
|
|
8298
|
+
/**
|
|
8299
|
+
* VeraPointsApi - axios parameter creator
|
|
8300
|
+
* @export
|
|
8301
|
+
*/
|
|
8302
|
+
export declare const VeraPointsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
8303
|
+
/**
|
|
8304
|
+
* Claim a swap transaction for Vera Points attribution.
|
|
8305
|
+
* @summary /vera/swap/claim
|
|
8306
|
+
* @param {SwapClaimRequest} swapClaimRequest
|
|
8307
|
+
* @param {*} [options] Override http request option.
|
|
8308
|
+
* @throws {RequiredError}
|
|
8309
|
+
*/
|
|
8310
|
+
claimSwap: (swapClaimRequest: SwapClaimRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8311
|
+
/**
|
|
8312
|
+
* Claim a vault deposit transaction for Vera Points attribution.
|
|
8313
|
+
* @summary /vera/vault/claim
|
|
8314
|
+
* @param {VaultClaimRequest} vaultClaimRequest
|
|
8315
|
+
* @param {*} [options] Override http request option.
|
|
8316
|
+
* @throws {RequiredError}
|
|
8317
|
+
*/
|
|
8318
|
+
claimVault: (vaultClaimRequest: VaultClaimRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8319
|
+
/**
|
|
8320
|
+
* Returns a user\'s lifetime Vera Points, current tier, rank, and next tier threshold. Public endpoint; user_address is passed as query parameter.
|
|
8321
|
+
* @summary Get user\'s points, tier, and rank
|
|
8322
|
+
* @param {string} userAddress Wallet address to look up balance for.
|
|
8323
|
+
* @param {*} [options] Override http request option.
|
|
8324
|
+
* @throws {RequiredError}
|
|
8325
|
+
*/
|
|
8326
|
+
getBalance: (userAddress: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8327
|
+
/**
|
|
8328
|
+
* Paginated leaderboard ranked by lifetime Vera Points.
|
|
8329
|
+
* @summary Top users by lifetime points
|
|
8330
|
+
* @param {number} [limit] Number of entries to return.
|
|
8331
|
+
* @param {number} [offset] Number of entries to skip.
|
|
8332
|
+
* @param {*} [options] Override http request option.
|
|
8333
|
+
* @throws {RequiredError}
|
|
8334
|
+
*/
|
|
8335
|
+
getLeaderboard: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8336
|
+
/**
|
|
8337
|
+
* Record a daily app session for vault points eligibility. user_address is extracted from JWT; session_date is set server-side to the current UTC date. Idempotent — one session per (user, date) pair; multiple calls on the same day are no-ops. This is a required daily gate for vault balance points.
|
|
8338
|
+
* @summary /vera/session
|
|
8339
|
+
* @param {*} [options] Override http request option.
|
|
8340
|
+
* @throws {RequiredError}
|
|
8341
|
+
*/
|
|
8342
|
+
recordSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8343
|
+
};
|
|
8344
|
+
/**
|
|
8345
|
+
* VeraPointsApi - functional programming interface
|
|
8346
|
+
* @export
|
|
8347
|
+
*/
|
|
8348
|
+
export declare const VeraPointsApiFp: (configuration?: Configuration) => {
|
|
8349
|
+
/**
|
|
8350
|
+
* Claim a swap transaction for Vera Points attribution.
|
|
8351
|
+
* @summary /vera/swap/claim
|
|
8352
|
+
* @param {SwapClaimRequest} swapClaimRequest
|
|
8353
|
+
* @param {*} [options] Override http request option.
|
|
8354
|
+
* @throws {RequiredError}
|
|
8355
|
+
*/
|
|
8356
|
+
claimSwap(swapClaimRequest: SwapClaimRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SwapClaimResponse>>;
|
|
8357
|
+
/**
|
|
8358
|
+
* Claim a vault deposit transaction for Vera Points attribution.
|
|
8359
|
+
* @summary /vera/vault/claim
|
|
8360
|
+
* @param {VaultClaimRequest} vaultClaimRequest
|
|
8361
|
+
* @param {*} [options] Override http request option.
|
|
8362
|
+
* @throws {RequiredError}
|
|
8363
|
+
*/
|
|
8364
|
+
claimVault(vaultClaimRequest: VaultClaimRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VaultClaimResponse>>;
|
|
8365
|
+
/**
|
|
8366
|
+
* Returns a user\'s lifetime Vera Points, current tier, rank, and next tier threshold. Public endpoint; user_address is passed as query parameter.
|
|
8367
|
+
* @summary Get user\'s points, tier, and rank
|
|
8368
|
+
* @param {string} userAddress Wallet address to look up balance for.
|
|
8369
|
+
* @param {*} [options] Override http request option.
|
|
8370
|
+
* @throws {RequiredError}
|
|
8371
|
+
*/
|
|
8372
|
+
getBalance(userAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BalanceResponse>>;
|
|
8373
|
+
/**
|
|
8374
|
+
* Paginated leaderboard ranked by lifetime Vera Points.
|
|
8375
|
+
* @summary Top users by lifetime points
|
|
8376
|
+
* @param {number} [limit] Number of entries to return.
|
|
8377
|
+
* @param {number} [offset] Number of entries to skip.
|
|
8378
|
+
* @param {*} [options] Override http request option.
|
|
8379
|
+
* @throws {RequiredError}
|
|
8380
|
+
*/
|
|
8381
|
+
getLeaderboard(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaderboardResponse>>;
|
|
8382
|
+
/**
|
|
8383
|
+
* Record a daily app session for vault points eligibility. user_address is extracted from JWT; session_date is set server-side to the current UTC date. Idempotent — one session per (user, date) pair; multiple calls on the same day are no-ops. This is a required daily gate for vault balance points.
|
|
8384
|
+
* @summary /vera/session
|
|
8385
|
+
* @param {*} [options] Override http request option.
|
|
8386
|
+
* @throws {RequiredError}
|
|
8387
|
+
*/
|
|
8388
|
+
recordSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
8389
|
+
};
|
|
8390
|
+
/**
|
|
8391
|
+
* VeraPointsApi - factory interface
|
|
8392
|
+
* @export
|
|
8393
|
+
*/
|
|
8394
|
+
export declare const VeraPointsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
8395
|
+
/**
|
|
8396
|
+
* Claim a swap transaction for Vera Points attribution.
|
|
8397
|
+
* @summary /vera/swap/claim
|
|
8398
|
+
* @param {SwapClaimRequest} swapClaimRequest
|
|
8399
|
+
* @param {*} [options] Override http request option.
|
|
8400
|
+
* @throws {RequiredError}
|
|
8401
|
+
*/
|
|
8402
|
+
claimSwap(swapClaimRequest: SwapClaimRequest, options?: RawAxiosRequestConfig): AxiosPromise<SwapClaimResponse>;
|
|
8403
|
+
/**
|
|
8404
|
+
* Claim a vault deposit transaction for Vera Points attribution.
|
|
8405
|
+
* @summary /vera/vault/claim
|
|
8406
|
+
* @param {VaultClaimRequest} vaultClaimRequest
|
|
8407
|
+
* @param {*} [options] Override http request option.
|
|
8408
|
+
* @throws {RequiredError}
|
|
8409
|
+
*/
|
|
8410
|
+
claimVault(vaultClaimRequest: VaultClaimRequest, options?: RawAxiosRequestConfig): AxiosPromise<VaultClaimResponse>;
|
|
8411
|
+
/**
|
|
8412
|
+
* Returns a user\'s lifetime Vera Points, current tier, rank, and next tier threshold. Public endpoint; user_address is passed as query parameter.
|
|
8413
|
+
* @summary Get user\'s points, tier, and rank
|
|
8414
|
+
* @param {string} userAddress Wallet address to look up balance for.
|
|
8415
|
+
* @param {*} [options] Override http request option.
|
|
8416
|
+
* @throws {RequiredError}
|
|
8417
|
+
*/
|
|
8418
|
+
getBalance(userAddress: string, options?: RawAxiosRequestConfig): AxiosPromise<BalanceResponse>;
|
|
8419
|
+
/**
|
|
8420
|
+
* Paginated leaderboard ranked by lifetime Vera Points.
|
|
8421
|
+
* @summary Top users by lifetime points
|
|
8422
|
+
* @param {number} [limit] Number of entries to return.
|
|
8423
|
+
* @param {number} [offset] Number of entries to skip.
|
|
8424
|
+
* @param {*} [options] Override http request option.
|
|
8425
|
+
* @throws {RequiredError}
|
|
8426
|
+
*/
|
|
8427
|
+
getLeaderboard(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<LeaderboardResponse>;
|
|
8428
|
+
/**
|
|
8429
|
+
* Record a daily app session for vault points eligibility. user_address is extracted from JWT; session_date is set server-side to the current UTC date. Idempotent — one session per (user, date) pair; multiple calls on the same day are no-ops. This is a required daily gate for vault balance points.
|
|
8430
|
+
* @summary /vera/session
|
|
8431
|
+
* @param {*} [options] Override http request option.
|
|
8432
|
+
* @throws {RequiredError}
|
|
8433
|
+
*/
|
|
8434
|
+
recordSession(options?: RawAxiosRequestConfig): AxiosPromise<SessionResponse>;
|
|
8435
|
+
};
|
|
8436
|
+
/**
|
|
8437
|
+
* VeraPointsApi - object-oriented interface
|
|
8438
|
+
* @export
|
|
8439
|
+
* @class VeraPointsApi
|
|
8440
|
+
* @extends {BaseAPI}
|
|
8441
|
+
*/
|
|
8442
|
+
export declare class VeraPointsApi extends BaseAPI {
|
|
8443
|
+
/**
|
|
8444
|
+
* Claim a swap transaction for Vera Points attribution.
|
|
8445
|
+
* @summary /vera/swap/claim
|
|
8446
|
+
* @param {SwapClaimRequest} swapClaimRequest
|
|
8447
|
+
* @param {*} [options] Override http request option.
|
|
8448
|
+
* @throws {RequiredError}
|
|
8449
|
+
* @memberof VeraPointsApi
|
|
8450
|
+
*/
|
|
8451
|
+
claimSwap(swapClaimRequest: SwapClaimRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SwapClaimResponse, any, {}>>;
|
|
8452
|
+
/**
|
|
8453
|
+
* Claim a vault deposit transaction for Vera Points attribution.
|
|
8454
|
+
* @summary /vera/vault/claim
|
|
8455
|
+
* @param {VaultClaimRequest} vaultClaimRequest
|
|
8456
|
+
* @param {*} [options] Override http request option.
|
|
8457
|
+
* @throws {RequiredError}
|
|
8458
|
+
* @memberof VeraPointsApi
|
|
8459
|
+
*/
|
|
8460
|
+
claimVault(vaultClaimRequest: VaultClaimRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultClaimResponse, any, {}>>;
|
|
8461
|
+
/**
|
|
8462
|
+
* Returns a user\'s lifetime Vera Points, current tier, rank, and next tier threshold. Public endpoint; user_address is passed as query parameter.
|
|
8463
|
+
* @summary Get user\'s points, tier, and rank
|
|
8464
|
+
* @param {string} userAddress Wallet address to look up balance for.
|
|
8465
|
+
* @param {*} [options] Override http request option.
|
|
8466
|
+
* @throws {RequiredError}
|
|
8467
|
+
* @memberof VeraPointsApi
|
|
8468
|
+
*/
|
|
8469
|
+
getBalance(userAddress: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BalanceResponse, any, {}>>;
|
|
8470
|
+
/**
|
|
8471
|
+
* Paginated leaderboard ranked by lifetime Vera Points.
|
|
8472
|
+
* @summary Top users by lifetime points
|
|
8473
|
+
* @param {number} [limit] Number of entries to return.
|
|
8474
|
+
* @param {number} [offset] Number of entries to skip.
|
|
8475
|
+
* @param {*} [options] Override http request option.
|
|
8476
|
+
* @throws {RequiredError}
|
|
8477
|
+
* @memberof VeraPointsApi
|
|
8478
|
+
*/
|
|
8479
|
+
getLeaderboard(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaderboardResponse, any, {}>>;
|
|
8480
|
+
/**
|
|
8481
|
+
* Record a daily app session for vault points eligibility. user_address is extracted from JWT; session_date is set server-side to the current UTC date. Idempotent — one session per (user, date) pair; multiple calls on the same day are no-ops. This is a required daily gate for vault balance points.
|
|
8482
|
+
* @summary /vera/session
|
|
8483
|
+
* @param {*} [options] Override http request option.
|
|
8484
|
+
* @throws {RequiredError}
|
|
8485
|
+
* @memberof VeraPointsApi
|
|
8486
|
+
*/
|
|
8487
|
+
recordSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any, {}>>;
|
|
8488
|
+
}
|
|
7856
8489
|
//# sourceMappingURL=api.d.ts.map
|