@binance/w3w-prediction 1.0.0 → 2.0.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/index.d.mts +112 -112
- package/dist/index.d.ts +112 -112
- package/dist/index.js +93 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +93 -93
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3455,7 +3455,7 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
3455
3455
|
* @returns {Promise<RestApiResponse<GetMarketDetailResponse>>}
|
|
3456
3456
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3457
3457
|
* @memberof MarketDataApi
|
|
3458
|
-
* @see {@link https://developers.binance.com/en/
|
|
3458
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#get-market-detail Binance API Documentation}
|
|
3459
3459
|
*/
|
|
3460
3460
|
getMarketDetail(requestParameters: GetMarketDetailRequest): Promise<RestApiResponse<GetMarketDetailResponse>>;
|
|
3461
3461
|
/**
|
|
@@ -3467,7 +3467,7 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
3467
3467
|
* @returns {Promise<RestApiResponse<ListPredictionCategoriesResponse>>}
|
|
3468
3468
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3469
3469
|
* @memberof MarketDataApi
|
|
3470
|
-
* @see {@link https://developers.binance.com/en/
|
|
3470
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#list-prediction-categories Binance API Documentation}
|
|
3471
3471
|
*/
|
|
3472
3472
|
listPredictionCategories(): Promise<RestApiResponse<ListPredictionCategoriesResponse>>;
|
|
3473
3473
|
/**
|
|
@@ -3480,7 +3480,7 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
3480
3480
|
* @returns {Promise<RestApiResponse<ListPredictionMarketsResponse>>}
|
|
3481
3481
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3482
3482
|
* @memberof MarketDataApi
|
|
3483
|
-
* @see {@link https://developers.binance.com/en/
|
|
3483
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#list-prediction-markets Binance API Documentation}
|
|
3484
3484
|
*/
|
|
3485
3485
|
listPredictionMarkets(requestParameters?: ListPredictionMarketsRequest): Promise<RestApiResponse<ListPredictionMarketsResponse>>;
|
|
3486
3486
|
/**
|
|
@@ -3493,7 +3493,7 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
3493
3493
|
* @returns {Promise<RestApiResponse<MarketSearchResponse>>}
|
|
3494
3494
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3495
3495
|
* @memberof MarketDataApi
|
|
3496
|
-
* @see {@link https://developers.binance.com/en/
|
|
3496
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#market-search Binance API Documentation}
|
|
3497
3497
|
*/
|
|
3498
3498
|
marketSearch(requestParameters: MarketSearchRequest): Promise<RestApiResponse<MarketSearchResponse>>;
|
|
3499
3499
|
/**
|
|
@@ -3506,7 +3506,7 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
3506
3506
|
* @returns {Promise<RestApiResponse<QueryLastTradePriceResponse>>}
|
|
3507
3507
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3508
3508
|
* @memberof MarketDataApi
|
|
3509
|
-
* @see {@link https://developers.binance.com/en/
|
|
3509
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#query-last-trade-price Binance API Documentation}
|
|
3510
3510
|
*/
|
|
3511
3511
|
queryLastTradePrice(requestParameters: QueryLastTradePriceRequest): Promise<RestApiResponse<QueryLastTradePriceResponse>>;
|
|
3512
3512
|
/**
|
|
@@ -3519,7 +3519,7 @@ declare class MarketDataApi implements MarketDataApiInterface {
|
|
|
3519
3519
|
* @returns {Promise<RestApiResponse<QueryOrderBookResponse>>}
|
|
3520
3520
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3521
3521
|
* @memberof MarketDataApi
|
|
3522
|
-
* @see {@link https://developers.binance.com/en/
|
|
3522
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#query-order-book Binance API Documentation}
|
|
3523
3523
|
*/
|
|
3524
3524
|
queryOrderBook(requestParameters: QueryOrderBookRequest): Promise<RestApiResponse<QueryOrderBookResponse>>;
|
|
3525
3525
|
}
|
|
@@ -3548,7 +3548,7 @@ interface PositionApiInterface {
|
|
|
3548
3548
|
*
|
|
3549
3549
|
* Security Type: USER_DATA
|
|
3550
3550
|
*
|
|
3551
|
-
* @summary Get Position by Token
|
|
3551
|
+
* @summary Get Position by Token (USER_DATA)
|
|
3552
3552
|
* @param {GetPositionByTokenRequest} requestParameters Request parameters.
|
|
3553
3553
|
*
|
|
3554
3554
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -3562,7 +3562,7 @@ interface PositionApiInterface {
|
|
|
3562
3562
|
*
|
|
3563
3563
|
* Security Type: USER_DATA
|
|
3564
3564
|
*
|
|
3565
|
-
* @summary Query PnL
|
|
3565
|
+
* @summary Query PnL (USER_DATA)
|
|
3566
3566
|
* @param {QueryPnLRequest} requestParameters Request parameters.
|
|
3567
3567
|
*
|
|
3568
3568
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -3576,7 +3576,7 @@ interface PositionApiInterface {
|
|
|
3576
3576
|
*
|
|
3577
3577
|
* Security Type: USER_DATA
|
|
3578
3578
|
*
|
|
3579
|
-
* @summary Query Positions
|
|
3579
|
+
* @summary Query Positions (USER_DATA)
|
|
3580
3580
|
* @param {QueryPositionsRequest} requestParameters Request parameters.
|
|
3581
3581
|
*
|
|
3582
3582
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -3590,7 +3590,7 @@ interface PositionApiInterface {
|
|
|
3590
3590
|
*
|
|
3591
3591
|
* Security Type: USER_DATA
|
|
3592
3592
|
*
|
|
3593
|
-
* @summary Query Positions by Filter
|
|
3593
|
+
* @summary Query Positions by Filter (USER_DATA)
|
|
3594
3594
|
* @param {QueryPositionsByFilterRequest} requestParameters Request parameters.
|
|
3595
3595
|
*
|
|
3596
3596
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -3604,7 +3604,7 @@ interface PositionApiInterface {
|
|
|
3604
3604
|
*
|
|
3605
3605
|
* Security Type: USER_DATA
|
|
3606
3606
|
*
|
|
3607
|
-
* @summary Query Settled Position History
|
|
3607
|
+
* @summary Query Settled Position History (USER_DATA)
|
|
3608
3608
|
* @param {QuerySettledPositionHistoryRequest} requestParameters Request parameters.
|
|
3609
3609
|
*
|
|
3610
3610
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -3807,12 +3807,12 @@ declare class PositionApi implements PositionApiInterface {
|
|
|
3807
3807
|
*
|
|
3808
3808
|
* Security Type: USER_DATA
|
|
3809
3809
|
*
|
|
3810
|
-
* @summary Get Position by Token
|
|
3810
|
+
* @summary Get Position by Token (USER_DATA)
|
|
3811
3811
|
* @param {GetPositionByTokenRequest} requestParameters Request parameters.
|
|
3812
3812
|
* @returns {Promise<RestApiResponse<GetPositionByTokenResponse>>}
|
|
3813
3813
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3814
3814
|
* @memberof PositionApi
|
|
3815
|
-
* @see {@link https://developers.binance.com/en/
|
|
3815
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#get-position-by-token Binance API Documentation}
|
|
3816
3816
|
*/
|
|
3817
3817
|
getPositionByToken(requestParameters: GetPositionByTokenRequest): Promise<RestApiResponse<GetPositionByTokenResponse>>;
|
|
3818
3818
|
/**
|
|
@@ -3822,12 +3822,12 @@ declare class PositionApi implements PositionApiInterface {
|
|
|
3822
3822
|
*
|
|
3823
3823
|
* Security Type: USER_DATA
|
|
3824
3824
|
*
|
|
3825
|
-
* @summary Query PnL
|
|
3825
|
+
* @summary Query PnL (USER_DATA)
|
|
3826
3826
|
* @param {QueryPnLRequest} requestParameters Request parameters.
|
|
3827
3827
|
* @returns {Promise<RestApiResponse<QueryPnLResponse>>}
|
|
3828
3828
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3829
3829
|
* @memberof PositionApi
|
|
3830
|
-
* @see {@link https://developers.binance.com/en/
|
|
3830
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-pn-l Binance API Documentation}
|
|
3831
3831
|
*/
|
|
3832
3832
|
queryPnL(requestParameters: QueryPnLRequest): Promise<RestApiResponse<QueryPnLResponse>>;
|
|
3833
3833
|
/**
|
|
@@ -3837,12 +3837,12 @@ declare class PositionApi implements PositionApiInterface {
|
|
|
3837
3837
|
*
|
|
3838
3838
|
* Security Type: USER_DATA
|
|
3839
3839
|
*
|
|
3840
|
-
* @summary Query Positions
|
|
3840
|
+
* @summary Query Positions (USER_DATA)
|
|
3841
3841
|
* @param {QueryPositionsRequest} requestParameters Request parameters.
|
|
3842
3842
|
* @returns {Promise<RestApiResponse<QueryPositionsResponse>>}
|
|
3843
3843
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3844
3844
|
* @memberof PositionApi
|
|
3845
|
-
* @see {@link https://developers.binance.com/en/
|
|
3845
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-positions Binance API Documentation}
|
|
3846
3846
|
*/
|
|
3847
3847
|
queryPositions(requestParameters: QueryPositionsRequest): Promise<RestApiResponse<QueryPositionsResponse>>;
|
|
3848
3848
|
/**
|
|
@@ -3852,12 +3852,12 @@ declare class PositionApi implements PositionApiInterface {
|
|
|
3852
3852
|
*
|
|
3853
3853
|
* Security Type: USER_DATA
|
|
3854
3854
|
*
|
|
3855
|
-
* @summary Query Positions by Filter
|
|
3855
|
+
* @summary Query Positions by Filter (USER_DATA)
|
|
3856
3856
|
* @param {QueryPositionsByFilterRequest} requestParameters Request parameters.
|
|
3857
3857
|
* @returns {Promise<RestApiResponse<QueryPositionsByFilterResponse>>}
|
|
3858
3858
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3859
3859
|
* @memberof PositionApi
|
|
3860
|
-
* @see {@link https://developers.binance.com/en/
|
|
3860
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-positions-by-filter Binance API Documentation}
|
|
3861
3861
|
*/
|
|
3862
3862
|
queryPositionsByFilter(requestParameters?: QueryPositionsByFilterRequest): Promise<RestApiResponse<QueryPositionsByFilterResponse>>;
|
|
3863
3863
|
/**
|
|
@@ -3867,12 +3867,12 @@ declare class PositionApi implements PositionApiInterface {
|
|
|
3867
3867
|
*
|
|
3868
3868
|
* Security Type: USER_DATA
|
|
3869
3869
|
*
|
|
3870
|
-
* @summary Query Settled Position History
|
|
3870
|
+
* @summary Query Settled Position History (USER_DATA)
|
|
3871
3871
|
* @param {QuerySettledPositionHistoryRequest} requestParameters Request parameters.
|
|
3872
3872
|
* @returns {Promise<RestApiResponse<QuerySettledPositionHistoryResponse>>}
|
|
3873
3873
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3874
3874
|
* @memberof PositionApi
|
|
3875
|
-
* @see {@link https://developers.binance.com/en/
|
|
3875
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-settled-position-history Binance API Documentation}
|
|
3876
3876
|
*/
|
|
3877
3877
|
querySettledPositionHistory(requestParameters: QuerySettledPositionHistoryRequest): Promise<RestApiResponse<QuerySettledPositionHistoryResponse>>;
|
|
3878
3878
|
}
|
|
@@ -3890,7 +3890,7 @@ interface RedeemApiInterface {
|
|
|
3890
3890
|
*
|
|
3891
3891
|
* Security Type: TRADE
|
|
3892
3892
|
*
|
|
3893
|
-
* @summary Batch Redeem
|
|
3893
|
+
* @summary Batch Redeem (TRADE)
|
|
3894
3894
|
* @param {BatchRedeemRequest} requestParameters Request parameters.
|
|
3895
3895
|
*
|
|
3896
3896
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -3914,7 +3914,7 @@ interface RedeemApiInterface {
|
|
|
3914
3914
|
* | `FAILED` | Transaction failed |
|
|
3915
3915
|
* | `NOT_FOUND` | Transaction hash not found |
|
|
3916
3916
|
*
|
|
3917
|
-
* @summary Get Redeem Status
|
|
3917
|
+
* @summary Get Redeem Status (USER_DATA)
|
|
3918
3918
|
* @param {GetRedeemStatusRequest} requestParameters Request parameters.
|
|
3919
3919
|
*
|
|
3920
3920
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -3991,12 +3991,12 @@ declare class RedeemApi implements RedeemApiInterface {
|
|
|
3991
3991
|
*
|
|
3992
3992
|
* Security Type: TRADE
|
|
3993
3993
|
*
|
|
3994
|
-
* @summary Batch Redeem
|
|
3994
|
+
* @summary Batch Redeem (TRADE)
|
|
3995
3995
|
* @param {BatchRedeemRequest} requestParameters Request parameters.
|
|
3996
3996
|
* @returns {Promise<RestApiResponse<BatchRedeemResponse>>}
|
|
3997
3997
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3998
3998
|
* @memberof RedeemApi
|
|
3999
|
-
* @see {@link https://developers.binance.com/en/
|
|
3999
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/redeem#batch-redeem Binance API Documentation}
|
|
4000
4000
|
*/
|
|
4001
4001
|
batchRedeem(requestParameters: BatchRedeemRequest): Promise<RestApiResponse<BatchRedeemResponse>>;
|
|
4002
4002
|
/**
|
|
@@ -4016,12 +4016,12 @@ declare class RedeemApi implements RedeemApiInterface {
|
|
|
4016
4016
|
* | `FAILED` | Transaction failed |
|
|
4017
4017
|
* | `NOT_FOUND` | Transaction hash not found |
|
|
4018
4018
|
*
|
|
4019
|
-
* @summary Get Redeem Status
|
|
4019
|
+
* @summary Get Redeem Status (USER_DATA)
|
|
4020
4020
|
* @param {GetRedeemStatusRequest} requestParameters Request parameters.
|
|
4021
4021
|
* @returns {Promise<RestApiResponse<GetRedeemStatusResponse>>}
|
|
4022
4022
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4023
4023
|
* @memberof RedeemApi
|
|
4024
|
-
* @see {@link https://developers.binance.com/en/
|
|
4024
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/redeem#get-redeem-status Binance API Documentation}
|
|
4025
4025
|
*/
|
|
4026
4026
|
getRedeemStatus(requestParameters: GetRedeemStatusRequest): Promise<RestApiResponse<GetRedeemStatusResponse>>;
|
|
4027
4027
|
}
|
|
@@ -4051,7 +4051,7 @@ interface TradeApiInterface {
|
|
|
4051
4051
|
* - Use dot notation for nested list fields: `cancelInfoList[0].orderId`, `cancelInfoList[1].orderId`, etc.
|
|
4052
4052
|
* - `vendor` does not need to be supplied. The server automatically sets the correct vendor (`predict_fun`) for every item in the batch.
|
|
4053
4053
|
*
|
|
4054
|
-
* @summary Batch Cancel Orders
|
|
4054
|
+
* @summary Batch Cancel Orders (TRADE)
|
|
4055
4055
|
* @param {BatchCancelOrdersRequest} requestParameters Request parameters.
|
|
4056
4056
|
*
|
|
4057
4057
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4069,7 +4069,7 @@ interface TradeApiInterface {
|
|
|
4069
4069
|
* - `feeAmount` is a string because it is denominated in wei (18 decimals) and may exceed JavaScript's safe integer range. `feeDiscountBps` is also a string to allow fractional basis-point values in the future. `feeRateBps` and `slippageBps` are integers and will never exceed safe integer bounds.
|
|
4070
4070
|
* - **MARKET order minimum amount:** For `MARKET` orders, `amountIn` must be at least approximately **1.5 USDT** (in wei: `1500000000000000000`). The exact minimum varies by market liquidity. If the amount is too small, the server returns `-9000 Your order amount is too small`. This limit does **not** apply to `LIMIT` orders.
|
|
4071
4071
|
*
|
|
4072
|
-
* @summary Get Quote
|
|
4072
|
+
* @summary Get Quote (TRADE)
|
|
4073
4073
|
* @param {GetQuoteRequest} requestParameters Request parameters.
|
|
4074
4074
|
*
|
|
4075
4075
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4091,7 +4091,7 @@ interface TradeApiInterface {
|
|
|
4091
4091
|
* | `MARKET` | Must be `FOK` | Not required |
|
|
4092
4092
|
* | `LIMIT` | Must be `GTC` | Required, must be > 0 |
|
|
4093
4093
|
*
|
|
4094
|
-
* @summary Place Order
|
|
4094
|
+
* @summary Place Order (TRADE)
|
|
4095
4095
|
* @param {PlaceOrderRequest} requestParameters Request parameters.
|
|
4096
4096
|
*
|
|
4097
4097
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4105,7 +4105,7 @@ interface TradeApiInterface {
|
|
|
4105
4105
|
*
|
|
4106
4106
|
* Security Type: USER_DATA
|
|
4107
4107
|
*
|
|
4108
|
-
* @summary Query Active Orders
|
|
4108
|
+
* @summary Query Active Orders (USER_DATA)
|
|
4109
4109
|
* @param {QueryActiveOrdersRequest} requestParameters Request parameters.
|
|
4110
4110
|
*
|
|
4111
4111
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4119,7 +4119,7 @@ interface TradeApiInterface {
|
|
|
4119
4119
|
*
|
|
4120
4120
|
* Security Type: USER_DATA
|
|
4121
4121
|
*
|
|
4122
|
-
* @summary Query Order History
|
|
4122
|
+
* @summary Query Order History (USER_DATA)
|
|
4123
4123
|
* @param {QueryOrderHistoryRequest} requestParameters Request parameters.
|
|
4124
4124
|
*
|
|
4125
4125
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4424,12 +4424,12 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
4424
4424
|
* - Use dot notation for nested list fields: `cancelInfoList[0].orderId`, `cancelInfoList[1].orderId`, etc.
|
|
4425
4425
|
* - `vendor` does not need to be supplied. The server automatically sets the correct vendor (`predict_fun`) for every item in the batch.
|
|
4426
4426
|
*
|
|
4427
|
-
* @summary Batch Cancel Orders
|
|
4427
|
+
* @summary Batch Cancel Orders (TRADE)
|
|
4428
4428
|
* @param {BatchCancelOrdersRequest} requestParameters Request parameters.
|
|
4429
4429
|
* @returns {Promise<RestApiResponse<BatchCancelOrdersResponse>>}
|
|
4430
4430
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4431
4431
|
* @memberof TradeApi
|
|
4432
|
-
* @see {@link https://developers.binance.com/en/
|
|
4432
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#batch-cancel-orders Binance API Documentation}
|
|
4433
4433
|
*/
|
|
4434
4434
|
batchCancelOrders(requestParameters: BatchCancelOrdersRequest): Promise<RestApiResponse<BatchCancelOrdersResponse>>;
|
|
4435
4435
|
/**
|
|
@@ -4443,12 +4443,12 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
4443
4443
|
* - `feeAmount` is a string because it is denominated in wei (18 decimals) and may exceed JavaScript's safe integer range. `feeDiscountBps` is also a string to allow fractional basis-point values in the future. `feeRateBps` and `slippageBps` are integers and will never exceed safe integer bounds.
|
|
4444
4444
|
* - **MARKET order minimum amount:** For `MARKET` orders, `amountIn` must be at least approximately **1.5 USDT** (in wei: `1500000000000000000`). The exact minimum varies by market liquidity. If the amount is too small, the server returns `-9000 Your order amount is too small`. This limit does **not** apply to `LIMIT` orders.
|
|
4445
4445
|
*
|
|
4446
|
-
* @summary Get Quote
|
|
4446
|
+
* @summary Get Quote (TRADE)
|
|
4447
4447
|
* @param {GetQuoteRequest} requestParameters Request parameters.
|
|
4448
4448
|
* @returns {Promise<RestApiResponse<GetQuoteResponse>>}
|
|
4449
4449
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4450
4450
|
* @memberof TradeApi
|
|
4451
|
-
* @see {@link https://developers.binance.com/en/
|
|
4451
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#get-quote Binance API Documentation}
|
|
4452
4452
|
*/
|
|
4453
4453
|
getQuote(requestParameters: GetQuoteRequest): Promise<RestApiResponse<GetQuoteResponse>>;
|
|
4454
4454
|
/**
|
|
@@ -4466,12 +4466,12 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
4466
4466
|
* | `MARKET` | Must be `FOK` | Not required |
|
|
4467
4467
|
* | `LIMIT` | Must be `GTC` | Required, must be > 0 |
|
|
4468
4468
|
*
|
|
4469
|
-
* @summary Place Order
|
|
4469
|
+
* @summary Place Order (TRADE)
|
|
4470
4470
|
* @param {PlaceOrderRequest} requestParameters Request parameters.
|
|
4471
4471
|
* @returns {Promise<RestApiResponse<PlaceOrderResponse>>}
|
|
4472
4472
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4473
4473
|
* @memberof TradeApi
|
|
4474
|
-
* @see {@link https://developers.binance.com/en/
|
|
4474
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#place-order Binance API Documentation}
|
|
4475
4475
|
*/
|
|
4476
4476
|
placeOrder(requestParameters: PlaceOrderRequest): Promise<RestApiResponse<PlaceOrderResponse>>;
|
|
4477
4477
|
/**
|
|
@@ -4481,12 +4481,12 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
4481
4481
|
*
|
|
4482
4482
|
* Security Type: USER_DATA
|
|
4483
4483
|
*
|
|
4484
|
-
* @summary Query Active Orders
|
|
4484
|
+
* @summary Query Active Orders (USER_DATA)
|
|
4485
4485
|
* @param {QueryActiveOrdersRequest} requestParameters Request parameters.
|
|
4486
4486
|
* @returns {Promise<RestApiResponse<QueryActiveOrdersResponse>>}
|
|
4487
4487
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4488
4488
|
* @memberof TradeApi
|
|
4489
|
-
* @see {@link https://developers.binance.com/en/
|
|
4489
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#query-active-orders Binance API Documentation}
|
|
4490
4490
|
*/
|
|
4491
4491
|
queryActiveOrders(requestParameters: QueryActiveOrdersRequest): Promise<RestApiResponse<QueryActiveOrdersResponse>>;
|
|
4492
4492
|
/**
|
|
@@ -4496,12 +4496,12 @@ declare class TradeApi implements TradeApiInterface {
|
|
|
4496
4496
|
*
|
|
4497
4497
|
* Security Type: USER_DATA
|
|
4498
4498
|
*
|
|
4499
|
-
* @summary Query Order History
|
|
4499
|
+
* @summary Query Order History (USER_DATA)
|
|
4500
4500
|
* @param {QueryOrderHistoryRequest} requestParameters Request parameters.
|
|
4501
4501
|
* @returns {Promise<RestApiResponse<QueryOrderHistoryResponse>>}
|
|
4502
4502
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4503
4503
|
* @memberof TradeApi
|
|
4504
|
-
* @see {@link https://developers.binance.com/en/
|
|
4504
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#query-order-history Binance API Documentation}
|
|
4505
4505
|
*/
|
|
4506
4506
|
queryOrderHistory(requestParameters: QueryOrderHistoryRequest): Promise<RestApiResponse<QueryOrderHistoryResponse>>;
|
|
4507
4507
|
}
|
|
@@ -4553,7 +4553,7 @@ interface TransferApiInterface {
|
|
|
4553
4553
|
*
|
|
4554
4554
|
* Security Type: TRADE
|
|
4555
4555
|
*
|
|
4556
|
-
* @summary Create Inbound Transfer
|
|
4556
|
+
* @summary Create Inbound Transfer (TRADE)
|
|
4557
4557
|
* @param {CreateInboundTransferRequest} requestParameters Request parameters.
|
|
4558
4558
|
*
|
|
4559
4559
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4567,7 +4567,7 @@ interface TransferApiInterface {
|
|
|
4567
4567
|
*
|
|
4568
4568
|
* Security Type: TRADE
|
|
4569
4569
|
*
|
|
4570
|
-
* @summary Create Outbound Transfer
|
|
4570
|
+
* @summary Create Outbound Transfer (TRADE)
|
|
4571
4571
|
* @param {CreateOutboundTransferRequest} requestParameters Request parameters.
|
|
4572
4572
|
*
|
|
4573
4573
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4581,7 +4581,7 @@ interface TransferApiInterface {
|
|
|
4581
4581
|
*
|
|
4582
4582
|
* Security Type: USER_DATA
|
|
4583
4583
|
*
|
|
4584
|
-
* @summary Query Transfer List
|
|
4584
|
+
* @summary Query Transfer List (USER_DATA)
|
|
4585
4585
|
* @param {QueryTransferListRequest} requestParameters Request parameters.
|
|
4586
4586
|
*
|
|
4587
4587
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4597,7 +4597,7 @@ interface TransferApiInterface {
|
|
|
4597
4597
|
*
|
|
4598
4598
|
* Security Type: USER_DATA
|
|
4599
4599
|
*
|
|
4600
|
-
* @summary Query Transfer Status
|
|
4600
|
+
* @summary Query Transfer Status (USER_DATA)
|
|
4601
4601
|
* @param {QueryTransferStatusRequest} requestParameters Request parameters.
|
|
4602
4602
|
*
|
|
4603
4603
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4796,12 +4796,12 @@ declare class TransferApi implements TransferApiInterface {
|
|
|
4796
4796
|
*
|
|
4797
4797
|
* Security Type: TRADE
|
|
4798
4798
|
*
|
|
4799
|
-
* @summary Create Inbound Transfer
|
|
4799
|
+
* @summary Create Inbound Transfer (TRADE)
|
|
4800
4800
|
* @param {CreateInboundTransferRequest} requestParameters Request parameters.
|
|
4801
4801
|
* @returns {Promise<RestApiResponse<CreateInboundTransferResponse>>}
|
|
4802
4802
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4803
4803
|
* @memberof TransferApi
|
|
4804
|
-
* @see {@link https://developers.binance.com/en/
|
|
4804
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#create-inbound-transfer Binance API Documentation}
|
|
4805
4805
|
*/
|
|
4806
4806
|
createInboundTransfer(requestParameters: CreateInboundTransferRequest): Promise<RestApiResponse<CreateInboundTransferResponse>>;
|
|
4807
4807
|
/**
|
|
@@ -4811,12 +4811,12 @@ declare class TransferApi implements TransferApiInterface {
|
|
|
4811
4811
|
*
|
|
4812
4812
|
* Security Type: TRADE
|
|
4813
4813
|
*
|
|
4814
|
-
* @summary Create Outbound Transfer
|
|
4814
|
+
* @summary Create Outbound Transfer (TRADE)
|
|
4815
4815
|
* @param {CreateOutboundTransferRequest} requestParameters Request parameters.
|
|
4816
4816
|
* @returns {Promise<RestApiResponse<CreateOutboundTransferResponse>>}
|
|
4817
4817
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4818
4818
|
* @memberof TransferApi
|
|
4819
|
-
* @see {@link https://developers.binance.com/en/
|
|
4819
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#create-outbound-transfer Binance API Documentation}
|
|
4820
4820
|
*/
|
|
4821
4821
|
createOutboundTransfer(requestParameters: CreateOutboundTransferRequest): Promise<RestApiResponse<CreateOutboundTransferResponse>>;
|
|
4822
4822
|
/**
|
|
@@ -4826,12 +4826,12 @@ declare class TransferApi implements TransferApiInterface {
|
|
|
4826
4826
|
*
|
|
4827
4827
|
* Security Type: USER_DATA
|
|
4828
4828
|
*
|
|
4829
|
-
* @summary Query Transfer List
|
|
4829
|
+
* @summary Query Transfer List (USER_DATA)
|
|
4830
4830
|
* @param {QueryTransferListRequest} requestParameters Request parameters.
|
|
4831
4831
|
* @returns {Promise<RestApiResponse<QueryTransferListResponse>>}
|
|
4832
4832
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4833
4833
|
* @memberof TransferApi
|
|
4834
|
-
* @see {@link https://developers.binance.com/en/
|
|
4834
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#query-transfer-list Binance API Documentation}
|
|
4835
4835
|
*/
|
|
4836
4836
|
queryTransferList(requestParameters: QueryTransferListRequest): Promise<RestApiResponse<QueryTransferListResponse>>;
|
|
4837
4837
|
/**
|
|
@@ -4843,12 +4843,12 @@ declare class TransferApi implements TransferApiInterface {
|
|
|
4843
4843
|
*
|
|
4844
4844
|
* Security Type: USER_DATA
|
|
4845
4845
|
*
|
|
4846
|
-
* @summary Query Transfer Status
|
|
4846
|
+
* @summary Query Transfer Status (USER_DATA)
|
|
4847
4847
|
* @param {QueryTransferStatusRequest} requestParameters Request parameters.
|
|
4848
4848
|
* @returns {Promise<RestApiResponse<QueryTransferStatusResponse>>}
|
|
4849
4849
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4850
4850
|
* @memberof TransferApi
|
|
4851
|
-
* @see {@link https://developers.binance.com/en/
|
|
4851
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#query-transfer-status Binance API Documentation}
|
|
4852
4852
|
*/
|
|
4853
4853
|
queryTransferStatus(requestParameters: QueryTransferStatusRequest): Promise<RestApiResponse<QueryTransferStatusResponse>>;
|
|
4854
4854
|
}
|
|
@@ -4882,7 +4882,7 @@ interface WalletApiInterface {
|
|
|
4882
4882
|
*
|
|
4883
4883
|
* Security Type: USER_DATA
|
|
4884
4884
|
*
|
|
4885
|
-
* @summary Get Portfolio
|
|
4885
|
+
* @summary Get Portfolio (USER_DATA)
|
|
4886
4886
|
* @param {GetPortfolioRequest} requestParameters Request parameters.
|
|
4887
4887
|
*
|
|
4888
4888
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4896,7 +4896,7 @@ interface WalletApiInterface {
|
|
|
4896
4896
|
*
|
|
4897
4897
|
* Security Type: USER_DATA
|
|
4898
4898
|
*
|
|
4899
|
-
* @summary Get Quota Status
|
|
4899
|
+
* @summary Get Quota Status (USER_DATA)
|
|
4900
4900
|
* @param {GetQuotaStatusRequest} requestParameters Request parameters.
|
|
4901
4901
|
*
|
|
4902
4902
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4910,7 +4910,7 @@ interface WalletApiInterface {
|
|
|
4910
4910
|
*
|
|
4911
4911
|
* Security Type: USER_DATA
|
|
4912
4912
|
*
|
|
4913
|
-
* @summary List Prediction Wallets
|
|
4913
|
+
* @summary List Prediction Wallets (USER_DATA)
|
|
4914
4914
|
* @param {ListPredictionWalletsRequest} requestParameters Request parameters.
|
|
4915
4915
|
*
|
|
4916
4916
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -4924,7 +4924,7 @@ interface WalletApiInterface {
|
|
|
4924
4924
|
*
|
|
4925
4925
|
* Security Type: USER_DATA
|
|
4926
4926
|
*
|
|
4927
|
-
* @summary Query Payment Option Balances
|
|
4927
|
+
* @summary Query Payment Option Balances (USER_DATA)
|
|
4928
4928
|
* @param {QueryPaymentOptionBalancesRequest} requestParameters Request parameters.
|
|
4929
4929
|
*
|
|
4930
4930
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
@@ -5025,12 +5025,12 @@ declare class WalletApi implements WalletApiInterface {
|
|
|
5025
5025
|
*
|
|
5026
5026
|
* Security Type: USER_DATA
|
|
5027
5027
|
*
|
|
5028
|
-
* @summary Get Portfolio
|
|
5028
|
+
* @summary Get Portfolio (USER_DATA)
|
|
5029
5029
|
* @param {GetPortfolioRequest} requestParameters Request parameters.
|
|
5030
5030
|
* @returns {Promise<RestApiResponse<GetPortfolioResponse>>}
|
|
5031
5031
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5032
5032
|
* @memberof WalletApi
|
|
5033
|
-
* @see {@link https://developers.binance.com/en/
|
|
5033
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#get-portfolio Binance API Documentation}
|
|
5034
5034
|
*/
|
|
5035
5035
|
getPortfolio(requestParameters: GetPortfolioRequest): Promise<RestApiResponse<GetPortfolioResponse>>;
|
|
5036
5036
|
/**
|
|
@@ -5040,12 +5040,12 @@ declare class WalletApi implements WalletApiInterface {
|
|
|
5040
5040
|
*
|
|
5041
5041
|
* Security Type: USER_DATA
|
|
5042
5042
|
*
|
|
5043
|
-
* @summary Get Quota Status
|
|
5043
|
+
* @summary Get Quota Status (USER_DATA)
|
|
5044
5044
|
* @param {GetQuotaStatusRequest} requestParameters Request parameters.
|
|
5045
5045
|
* @returns {Promise<RestApiResponse<GetQuotaStatusResponse>>}
|
|
5046
5046
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5047
5047
|
* @memberof WalletApi
|
|
5048
|
-
* @see {@link https://developers.binance.com/en/
|
|
5048
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#get-quota-status Binance API Documentation}
|
|
5049
5049
|
*/
|
|
5050
5050
|
getQuotaStatus(requestParameters?: GetQuotaStatusRequest): Promise<RestApiResponse<GetQuotaStatusResponse>>;
|
|
5051
5051
|
/**
|
|
@@ -5055,12 +5055,12 @@ declare class WalletApi implements WalletApiInterface {
|
|
|
5055
5055
|
*
|
|
5056
5056
|
* Security Type: USER_DATA
|
|
5057
5057
|
*
|
|
5058
|
-
* @summary List Prediction Wallets
|
|
5058
|
+
* @summary List Prediction Wallets (USER_DATA)
|
|
5059
5059
|
* @param {ListPredictionWalletsRequest} requestParameters Request parameters.
|
|
5060
5060
|
* @returns {Promise<RestApiResponse<ListPredictionWalletsResponse>>}
|
|
5061
5061
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5062
5062
|
* @memberof WalletApi
|
|
5063
|
-
* @see {@link https://developers.binance.com/en/
|
|
5063
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#list-prediction-wallets Binance API Documentation}
|
|
5064
5064
|
*/
|
|
5065
5065
|
listPredictionWallets(requestParameters?: ListPredictionWalletsRequest): Promise<RestApiResponse<ListPredictionWalletsResponse>>;
|
|
5066
5066
|
/**
|
|
@@ -5070,12 +5070,12 @@ declare class WalletApi implements WalletApiInterface {
|
|
|
5070
5070
|
*
|
|
5071
5071
|
* Security Type: USER_DATA
|
|
5072
5072
|
*
|
|
5073
|
-
* @summary Query Payment Option Balances
|
|
5073
|
+
* @summary Query Payment Option Balances (USER_DATA)
|
|
5074
5074
|
* @param {QueryPaymentOptionBalancesRequest} requestParameters Request parameters.
|
|
5075
5075
|
* @returns {Promise<RestApiResponse<QueryPaymentOptionBalancesResponse>>}
|
|
5076
5076
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5077
5077
|
* @memberof WalletApi
|
|
5078
|
-
* @see {@link https://developers.binance.com/en/
|
|
5078
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#query-payment-option-balances Binance API Documentation}
|
|
5079
5079
|
*/
|
|
5080
5080
|
queryPaymentOptionBalances(requestParameters?: QueryPaymentOptionBalancesRequest): Promise<RestApiResponse<QueryPaymentOptionBalancesResponse>>;
|
|
5081
5081
|
}
|
|
@@ -5120,7 +5120,7 @@ declare class RestAPI {
|
|
|
5120
5120
|
*
|
|
5121
5121
|
* @returns {Promise<RestApiResponse<GetMarketDetailResponse>>}
|
|
5122
5122
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5123
|
-
* @see {@link https://developers.binance.com/en/
|
|
5123
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#get-market-detail Binance API Documentation}
|
|
5124
5124
|
*/
|
|
5125
5125
|
getMarketDetail(requestParameters: GetMarketDetailRequest): Promise<RestApiResponse<GetMarketDetailResponse>>;
|
|
5126
5126
|
/**
|
|
@@ -5132,7 +5132,7 @@ declare class RestAPI {
|
|
|
5132
5132
|
*
|
|
5133
5133
|
* @returns {Promise<RestApiResponse<ListPredictionCategoriesResponse>>}
|
|
5134
5134
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5135
|
-
* @see {@link https://developers.binance.com/en/
|
|
5135
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#list-prediction-categories Binance API Documentation}
|
|
5136
5136
|
*/
|
|
5137
5137
|
listPredictionCategories(): Promise<RestApiResponse<ListPredictionCategoriesResponse>>;
|
|
5138
5138
|
/**
|
|
@@ -5145,7 +5145,7 @@ declare class RestAPI {
|
|
|
5145
5145
|
*
|
|
5146
5146
|
* @returns {Promise<RestApiResponse<ListPredictionMarketsResponse>>}
|
|
5147
5147
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5148
|
-
* @see {@link https://developers.binance.com/en/
|
|
5148
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#list-prediction-markets Binance API Documentation}
|
|
5149
5149
|
*/
|
|
5150
5150
|
listPredictionMarkets(requestParameters?: ListPredictionMarketsRequest): Promise<RestApiResponse<ListPredictionMarketsResponse>>;
|
|
5151
5151
|
/**
|
|
@@ -5158,7 +5158,7 @@ declare class RestAPI {
|
|
|
5158
5158
|
*
|
|
5159
5159
|
* @returns {Promise<RestApiResponse<MarketSearchResponse>>}
|
|
5160
5160
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5161
|
-
* @see {@link https://developers.binance.com/en/
|
|
5161
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#market-search Binance API Documentation}
|
|
5162
5162
|
*/
|
|
5163
5163
|
marketSearch(requestParameters: MarketSearchRequest): Promise<RestApiResponse<MarketSearchResponse>>;
|
|
5164
5164
|
/**
|
|
@@ -5171,7 +5171,7 @@ declare class RestAPI {
|
|
|
5171
5171
|
*
|
|
5172
5172
|
* @returns {Promise<RestApiResponse<QueryLastTradePriceResponse>>}
|
|
5173
5173
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5174
|
-
* @see {@link https://developers.binance.com/en/
|
|
5174
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#query-last-trade-price Binance API Documentation}
|
|
5175
5175
|
*/
|
|
5176
5176
|
queryLastTradePrice(requestParameters: QueryLastTradePriceRequest): Promise<RestApiResponse<QueryLastTradePriceResponse>>;
|
|
5177
5177
|
/**
|
|
@@ -5184,7 +5184,7 @@ declare class RestAPI {
|
|
|
5184
5184
|
*
|
|
5185
5185
|
* @returns {Promise<RestApiResponse<QueryOrderBookResponse>>}
|
|
5186
5186
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5187
|
-
* @see {@link https://developers.binance.com/en/
|
|
5187
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/market-data#query-order-book Binance API Documentation}
|
|
5188
5188
|
*/
|
|
5189
5189
|
queryOrderBook(requestParameters: QueryOrderBookRequest): Promise<RestApiResponse<QueryOrderBookResponse>>;
|
|
5190
5190
|
/**
|
|
@@ -5194,12 +5194,12 @@ declare class RestAPI {
|
|
|
5194
5194
|
*
|
|
5195
5195
|
* Security Type: USER_DATA
|
|
5196
5196
|
*
|
|
5197
|
-
* @summary Get Position by Token
|
|
5197
|
+
* @summary Get Position by Token (USER_DATA)
|
|
5198
5198
|
* @param {GetPositionByTokenRequest} requestParameters Request parameters.
|
|
5199
5199
|
*
|
|
5200
5200
|
* @returns {Promise<RestApiResponse<GetPositionByTokenResponse>>}
|
|
5201
5201
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5202
|
-
* @see {@link https://developers.binance.com/en/
|
|
5202
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#get-position-by-token Binance API Documentation}
|
|
5203
5203
|
*/
|
|
5204
5204
|
getPositionByToken(requestParameters: GetPositionByTokenRequest): Promise<RestApiResponse<GetPositionByTokenResponse>>;
|
|
5205
5205
|
/**
|
|
@@ -5209,12 +5209,12 @@ declare class RestAPI {
|
|
|
5209
5209
|
*
|
|
5210
5210
|
* Security Type: USER_DATA
|
|
5211
5211
|
*
|
|
5212
|
-
* @summary Query PnL
|
|
5212
|
+
* @summary Query PnL (USER_DATA)
|
|
5213
5213
|
* @param {QueryPnLRequest} requestParameters Request parameters.
|
|
5214
5214
|
*
|
|
5215
5215
|
* @returns {Promise<RestApiResponse<QueryPnLResponse>>}
|
|
5216
5216
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5217
|
-
* @see {@link https://developers.binance.com/en/
|
|
5217
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-pn-l Binance API Documentation}
|
|
5218
5218
|
*/
|
|
5219
5219
|
queryPnL(requestParameters: QueryPnLRequest): Promise<RestApiResponse<QueryPnLResponse>>;
|
|
5220
5220
|
/**
|
|
@@ -5224,12 +5224,12 @@ declare class RestAPI {
|
|
|
5224
5224
|
*
|
|
5225
5225
|
* Security Type: USER_DATA
|
|
5226
5226
|
*
|
|
5227
|
-
* @summary Query Positions
|
|
5227
|
+
* @summary Query Positions (USER_DATA)
|
|
5228
5228
|
* @param {QueryPositionsRequest} requestParameters Request parameters.
|
|
5229
5229
|
*
|
|
5230
5230
|
* @returns {Promise<RestApiResponse<QueryPositionsResponse>>}
|
|
5231
5231
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5232
|
-
* @see {@link https://developers.binance.com/en/
|
|
5232
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-positions Binance API Documentation}
|
|
5233
5233
|
*/
|
|
5234
5234
|
queryPositions(requestParameters: QueryPositionsRequest): Promise<RestApiResponse<QueryPositionsResponse>>;
|
|
5235
5235
|
/**
|
|
@@ -5239,12 +5239,12 @@ declare class RestAPI {
|
|
|
5239
5239
|
*
|
|
5240
5240
|
* Security Type: USER_DATA
|
|
5241
5241
|
*
|
|
5242
|
-
* @summary Query Positions by Filter
|
|
5242
|
+
* @summary Query Positions by Filter (USER_DATA)
|
|
5243
5243
|
* @param {QueryPositionsByFilterRequest} requestParameters Request parameters.
|
|
5244
5244
|
*
|
|
5245
5245
|
* @returns {Promise<RestApiResponse<QueryPositionsByFilterResponse>>}
|
|
5246
5246
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5247
|
-
* @see {@link https://developers.binance.com/en/
|
|
5247
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-positions-by-filter Binance API Documentation}
|
|
5248
5248
|
*/
|
|
5249
5249
|
queryPositionsByFilter(requestParameters?: QueryPositionsByFilterRequest): Promise<RestApiResponse<QueryPositionsByFilterResponse>>;
|
|
5250
5250
|
/**
|
|
@@ -5254,12 +5254,12 @@ declare class RestAPI {
|
|
|
5254
5254
|
*
|
|
5255
5255
|
* Security Type: USER_DATA
|
|
5256
5256
|
*
|
|
5257
|
-
* @summary Query Settled Position History
|
|
5257
|
+
* @summary Query Settled Position History (USER_DATA)
|
|
5258
5258
|
* @param {QuerySettledPositionHistoryRequest} requestParameters Request parameters.
|
|
5259
5259
|
*
|
|
5260
5260
|
* @returns {Promise<RestApiResponse<QuerySettledPositionHistoryResponse>>}
|
|
5261
5261
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5262
|
-
* @see {@link https://developers.binance.com/en/
|
|
5262
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/position#query-settled-position-history Binance API Documentation}
|
|
5263
5263
|
*/
|
|
5264
5264
|
querySettledPositionHistory(requestParameters: QuerySettledPositionHistoryRequest): Promise<RestApiResponse<QuerySettledPositionHistoryResponse>>;
|
|
5265
5265
|
/**
|
|
@@ -5269,12 +5269,12 @@ declare class RestAPI {
|
|
|
5269
5269
|
*
|
|
5270
5270
|
* Security Type: TRADE
|
|
5271
5271
|
*
|
|
5272
|
-
* @summary Batch Redeem
|
|
5272
|
+
* @summary Batch Redeem (TRADE)
|
|
5273
5273
|
* @param {BatchRedeemRequest} requestParameters Request parameters.
|
|
5274
5274
|
*
|
|
5275
5275
|
* @returns {Promise<RestApiResponse<BatchRedeemResponse>>}
|
|
5276
5276
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5277
|
-
* @see {@link https://developers.binance.com/en/
|
|
5277
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/redeem#batch-redeem Binance API Documentation}
|
|
5278
5278
|
*/
|
|
5279
5279
|
batchRedeem(requestParameters: BatchRedeemRequest): Promise<RestApiResponse<BatchRedeemResponse>>;
|
|
5280
5280
|
/**
|
|
@@ -5294,12 +5294,12 @@ declare class RestAPI {
|
|
|
5294
5294
|
* | `FAILED` | Transaction failed |
|
|
5295
5295
|
* | `NOT_FOUND` | Transaction hash not found |
|
|
5296
5296
|
*
|
|
5297
|
-
* @summary Get Redeem Status
|
|
5297
|
+
* @summary Get Redeem Status (USER_DATA)
|
|
5298
5298
|
* @param {GetRedeemStatusRequest} requestParameters Request parameters.
|
|
5299
5299
|
*
|
|
5300
5300
|
* @returns {Promise<RestApiResponse<GetRedeemStatusResponse>>}
|
|
5301
5301
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5302
|
-
* @see {@link https://developers.binance.com/en/
|
|
5302
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/redeem#get-redeem-status Binance API Documentation}
|
|
5303
5303
|
*/
|
|
5304
5304
|
getRedeemStatus(requestParameters: GetRedeemStatusRequest): Promise<RestApiResponse<GetRedeemStatusResponse>>;
|
|
5305
5305
|
/**
|
|
@@ -5321,12 +5321,12 @@ declare class RestAPI {
|
|
|
5321
5321
|
* - Use dot notation for nested list fields: `cancelInfoList[0].orderId`, `cancelInfoList[1].orderId`, etc.
|
|
5322
5322
|
* - `vendor` does not need to be supplied. The server automatically sets the correct vendor (`predict_fun`) for every item in the batch.
|
|
5323
5323
|
*
|
|
5324
|
-
* @summary Batch Cancel Orders
|
|
5324
|
+
* @summary Batch Cancel Orders (TRADE)
|
|
5325
5325
|
* @param {BatchCancelOrdersRequest} requestParameters Request parameters.
|
|
5326
5326
|
*
|
|
5327
5327
|
* @returns {Promise<RestApiResponse<BatchCancelOrdersResponse>>}
|
|
5328
5328
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5329
|
-
* @see {@link https://developers.binance.com/en/
|
|
5329
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#batch-cancel-orders Binance API Documentation}
|
|
5330
5330
|
*/
|
|
5331
5331
|
batchCancelOrders(requestParameters: BatchCancelOrdersRequest): Promise<RestApiResponse<BatchCancelOrdersResponse>>;
|
|
5332
5332
|
/**
|
|
@@ -5340,12 +5340,12 @@ declare class RestAPI {
|
|
|
5340
5340
|
* - `feeAmount` is a string because it is denominated in wei (18 decimals) and may exceed JavaScript's safe integer range. `feeDiscountBps` is also a string to allow fractional basis-point values in the future. `feeRateBps` and `slippageBps` are integers and will never exceed safe integer bounds.
|
|
5341
5341
|
* - **MARKET order minimum amount:** For `MARKET` orders, `amountIn` must be at least approximately **1.5 USDT** (in wei: `1500000000000000000`). The exact minimum varies by market liquidity. If the amount is too small, the server returns `-9000 Your order amount is too small`. This limit does **not** apply to `LIMIT` orders.
|
|
5342
5342
|
*
|
|
5343
|
-
* @summary Get Quote
|
|
5343
|
+
* @summary Get Quote (TRADE)
|
|
5344
5344
|
* @param {GetQuoteRequest} requestParameters Request parameters.
|
|
5345
5345
|
*
|
|
5346
5346
|
* @returns {Promise<RestApiResponse<GetQuoteResponse>>}
|
|
5347
5347
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5348
|
-
* @see {@link https://developers.binance.com/en/
|
|
5348
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#get-quote Binance API Documentation}
|
|
5349
5349
|
*/
|
|
5350
5350
|
getQuote(requestParameters: GetQuoteRequest): Promise<RestApiResponse<GetQuoteResponse>>;
|
|
5351
5351
|
/**
|
|
@@ -5363,12 +5363,12 @@ declare class RestAPI {
|
|
|
5363
5363
|
* | `MARKET` | Must be `FOK` | Not required |
|
|
5364
5364
|
* | `LIMIT` | Must be `GTC` | Required, must be > 0 |
|
|
5365
5365
|
*
|
|
5366
|
-
* @summary Place Order
|
|
5366
|
+
* @summary Place Order (TRADE)
|
|
5367
5367
|
* @param {PlaceOrderRequest} requestParameters Request parameters.
|
|
5368
5368
|
*
|
|
5369
5369
|
* @returns {Promise<RestApiResponse<PlaceOrderResponse>>}
|
|
5370
5370
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5371
|
-
* @see {@link https://developers.binance.com/en/
|
|
5371
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#place-order Binance API Documentation}
|
|
5372
5372
|
*/
|
|
5373
5373
|
placeOrder(requestParameters: PlaceOrderRequest): Promise<RestApiResponse<PlaceOrderResponse>>;
|
|
5374
5374
|
/**
|
|
@@ -5378,12 +5378,12 @@ declare class RestAPI {
|
|
|
5378
5378
|
*
|
|
5379
5379
|
* Security Type: USER_DATA
|
|
5380
5380
|
*
|
|
5381
|
-
* @summary Query Active Orders
|
|
5381
|
+
* @summary Query Active Orders (USER_DATA)
|
|
5382
5382
|
* @param {QueryActiveOrdersRequest} requestParameters Request parameters.
|
|
5383
5383
|
*
|
|
5384
5384
|
* @returns {Promise<RestApiResponse<QueryActiveOrdersResponse>>}
|
|
5385
5385
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5386
|
-
* @see {@link https://developers.binance.com/en/
|
|
5386
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#query-active-orders Binance API Documentation}
|
|
5387
5387
|
*/
|
|
5388
5388
|
queryActiveOrders(requestParameters: QueryActiveOrdersRequest): Promise<RestApiResponse<QueryActiveOrdersResponse>>;
|
|
5389
5389
|
/**
|
|
@@ -5393,12 +5393,12 @@ declare class RestAPI {
|
|
|
5393
5393
|
*
|
|
5394
5394
|
* Security Type: USER_DATA
|
|
5395
5395
|
*
|
|
5396
|
-
* @summary Query Order History
|
|
5396
|
+
* @summary Query Order History (USER_DATA)
|
|
5397
5397
|
* @param {QueryOrderHistoryRequest} requestParameters Request parameters.
|
|
5398
5398
|
*
|
|
5399
5399
|
* @returns {Promise<RestApiResponse<QueryOrderHistoryResponse>>}
|
|
5400
5400
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5401
|
-
* @see {@link https://developers.binance.com/en/
|
|
5401
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/trade#query-order-history Binance API Documentation}
|
|
5402
5402
|
*/
|
|
5403
5403
|
queryOrderHistory(requestParameters: QueryOrderHistoryRequest): Promise<RestApiResponse<QueryOrderHistoryResponse>>;
|
|
5404
5404
|
/**
|
|
@@ -5410,12 +5410,12 @@ declare class RestAPI {
|
|
|
5410
5410
|
*
|
|
5411
5411
|
* Security Type: TRADE
|
|
5412
5412
|
*
|
|
5413
|
-
* @summary Create Inbound Transfer
|
|
5413
|
+
* @summary Create Inbound Transfer (TRADE)
|
|
5414
5414
|
* @param {CreateInboundTransferRequest} requestParameters Request parameters.
|
|
5415
5415
|
*
|
|
5416
5416
|
* @returns {Promise<RestApiResponse<CreateInboundTransferResponse>>}
|
|
5417
5417
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5418
|
-
* @see {@link https://developers.binance.com/en/
|
|
5418
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#create-inbound-transfer Binance API Documentation}
|
|
5419
5419
|
*/
|
|
5420
5420
|
createInboundTransfer(requestParameters: CreateInboundTransferRequest): Promise<RestApiResponse<CreateInboundTransferResponse>>;
|
|
5421
5421
|
/**
|
|
@@ -5425,12 +5425,12 @@ declare class RestAPI {
|
|
|
5425
5425
|
*
|
|
5426
5426
|
* Security Type: TRADE
|
|
5427
5427
|
*
|
|
5428
|
-
* @summary Create Outbound Transfer
|
|
5428
|
+
* @summary Create Outbound Transfer (TRADE)
|
|
5429
5429
|
* @param {CreateOutboundTransferRequest} requestParameters Request parameters.
|
|
5430
5430
|
*
|
|
5431
5431
|
* @returns {Promise<RestApiResponse<CreateOutboundTransferResponse>>}
|
|
5432
5432
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5433
|
-
* @see {@link https://developers.binance.com/en/
|
|
5433
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#create-outbound-transfer Binance API Documentation}
|
|
5434
5434
|
*/
|
|
5435
5435
|
createOutboundTransfer(requestParameters: CreateOutboundTransferRequest): Promise<RestApiResponse<CreateOutboundTransferResponse>>;
|
|
5436
5436
|
/**
|
|
@@ -5440,12 +5440,12 @@ declare class RestAPI {
|
|
|
5440
5440
|
*
|
|
5441
5441
|
* Security Type: USER_DATA
|
|
5442
5442
|
*
|
|
5443
|
-
* @summary Query Transfer List
|
|
5443
|
+
* @summary Query Transfer List (USER_DATA)
|
|
5444
5444
|
* @param {QueryTransferListRequest} requestParameters Request parameters.
|
|
5445
5445
|
*
|
|
5446
5446
|
* @returns {Promise<RestApiResponse<QueryTransferListResponse>>}
|
|
5447
5447
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5448
|
-
* @see {@link https://developers.binance.com/en/
|
|
5448
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#query-transfer-list Binance API Documentation}
|
|
5449
5449
|
*/
|
|
5450
5450
|
queryTransferList(requestParameters: QueryTransferListRequest): Promise<RestApiResponse<QueryTransferListResponse>>;
|
|
5451
5451
|
/**
|
|
@@ -5457,12 +5457,12 @@ declare class RestAPI {
|
|
|
5457
5457
|
*
|
|
5458
5458
|
* Security Type: USER_DATA
|
|
5459
5459
|
*
|
|
5460
|
-
* @summary Query Transfer Status
|
|
5460
|
+
* @summary Query Transfer Status (USER_DATA)
|
|
5461
5461
|
* @param {QueryTransferStatusRequest} requestParameters Request parameters.
|
|
5462
5462
|
*
|
|
5463
5463
|
* @returns {Promise<RestApiResponse<QueryTransferStatusResponse>>}
|
|
5464
5464
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5465
|
-
* @see {@link https://developers.binance.com/en/
|
|
5465
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/transfer#query-transfer-status Binance API Documentation}
|
|
5466
5466
|
*/
|
|
5467
5467
|
queryTransferStatus(requestParameters: QueryTransferStatusRequest): Promise<RestApiResponse<QueryTransferStatusResponse>>;
|
|
5468
5468
|
/**
|
|
@@ -5472,12 +5472,12 @@ declare class RestAPI {
|
|
|
5472
5472
|
*
|
|
5473
5473
|
* Security Type: USER_DATA
|
|
5474
5474
|
*
|
|
5475
|
-
* @summary Get Portfolio
|
|
5475
|
+
* @summary Get Portfolio (USER_DATA)
|
|
5476
5476
|
* @param {GetPortfolioRequest} requestParameters Request parameters.
|
|
5477
5477
|
*
|
|
5478
5478
|
* @returns {Promise<RestApiResponse<GetPortfolioResponse>>}
|
|
5479
5479
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5480
|
-
* @see {@link https://developers.binance.com/en/
|
|
5480
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#get-portfolio Binance API Documentation}
|
|
5481
5481
|
*/
|
|
5482
5482
|
getPortfolio(requestParameters: GetPortfolioRequest): Promise<RestApiResponse<GetPortfolioResponse>>;
|
|
5483
5483
|
/**
|
|
@@ -5487,12 +5487,12 @@ declare class RestAPI {
|
|
|
5487
5487
|
*
|
|
5488
5488
|
* Security Type: USER_DATA
|
|
5489
5489
|
*
|
|
5490
|
-
* @summary Get Quota Status
|
|
5490
|
+
* @summary Get Quota Status (USER_DATA)
|
|
5491
5491
|
* @param {GetQuotaStatusRequest} requestParameters Request parameters.
|
|
5492
5492
|
*
|
|
5493
5493
|
* @returns {Promise<RestApiResponse<GetQuotaStatusResponse>>}
|
|
5494
5494
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5495
|
-
* @see {@link https://developers.binance.com/en/
|
|
5495
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#get-quota-status Binance API Documentation}
|
|
5496
5496
|
*/
|
|
5497
5497
|
getQuotaStatus(requestParameters?: GetQuotaStatusRequest): Promise<RestApiResponse<GetQuotaStatusResponse>>;
|
|
5498
5498
|
/**
|
|
@@ -5502,12 +5502,12 @@ declare class RestAPI {
|
|
|
5502
5502
|
*
|
|
5503
5503
|
* Security Type: USER_DATA
|
|
5504
5504
|
*
|
|
5505
|
-
* @summary List Prediction Wallets
|
|
5505
|
+
* @summary List Prediction Wallets (USER_DATA)
|
|
5506
5506
|
* @param {ListPredictionWalletsRequest} requestParameters Request parameters.
|
|
5507
5507
|
*
|
|
5508
5508
|
* @returns {Promise<RestApiResponse<ListPredictionWalletsResponse>>}
|
|
5509
5509
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5510
|
-
* @see {@link https://developers.binance.com/en/
|
|
5510
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#list-prediction-wallets Binance API Documentation}
|
|
5511
5511
|
*/
|
|
5512
5512
|
listPredictionWallets(requestParameters?: ListPredictionWalletsRequest): Promise<RestApiResponse<ListPredictionWalletsResponse>>;
|
|
5513
5513
|
/**
|
|
@@ -5517,12 +5517,12 @@ declare class RestAPI {
|
|
|
5517
5517
|
*
|
|
5518
5518
|
* Security Type: USER_DATA
|
|
5519
5519
|
*
|
|
5520
|
-
* @summary Query Payment Option Balances
|
|
5520
|
+
* @summary Query Payment Option Balances (USER_DATA)
|
|
5521
5521
|
* @param {QueryPaymentOptionBalancesRequest} requestParameters Request parameters.
|
|
5522
5522
|
*
|
|
5523
5523
|
* @returns {Promise<RestApiResponse<QueryPaymentOptionBalancesResponse>>}
|
|
5524
5524
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5525
|
-
* @see {@link https://developers.binance.com/en/
|
|
5525
|
+
* @see {@link https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#query-payment-option-balances Binance API Documentation}
|
|
5526
5526
|
*/
|
|
5527
5527
|
queryPaymentOptionBalances(requestParameters?: QueryPaymentOptionBalancesRequest): Promise<RestApiResponse<QueryPaymentOptionBalancesResponse>>;
|
|
5528
5528
|
}
|