@@ -2747,12 +2747,12 @@ public function isOnTestnet() : bool
2747
2747
}
2748
2748
2749
2749
/**
2750
- * systemStatus - Status indicator for sapi and wapi
2751
- * 0 = Normal, 1 = System Maintenance
2752
- *
2750
+ * systemStatus - Status indicator for api sapi
2751
+ *
2752
+ * @link https://binance-docs.github.io/apidocs/spot/en/#test-connectivity
2753
2753
* @link https://binance-docs.github.io/apidocs/spot/en/#system-status-system
2754
2754
*
2755
- * @property int $weight 1
2755
+ * @property int $weight 2
2756
2756
*
2757
2757
* @return array containing the response
2758
2758
* @throws \Exception
@@ -2768,7 +2768,6 @@ public function systemStatus()
2768
2768
}
2769
2769
2770
2770
$ arr ['sapi ' ] = $ this ->httpRequest ("v1/system/status " , 'GET ' , [ 'sapi ' => true ], true );
2771
- $ arr ['wapi ' ] = $ this ->httpRequest ("v3/systemStatus.html " , 'GET ' , [ 'wapi ' => true ], true );
2772
2771
return $ arr ;
2773
2772
}
2774
2773
@@ -2811,9 +2810,8 @@ public function accountSnapshot($type, $nbrDays = 5, $startTime = 0, $endTime =
2811
2810
* accountStatus - Fetch account status detail.
2812
2811
*
2813
2812
* @link https://binance-docs.github.io/apidocs/spot/en/#account-status-user_data
2814
- * @link https://binance-docs.github.io/apidocs/spot/en/#account-status-sapi-user_data
2815
2813
*
2816
- * @property int $weight 2
2814
+ * @property int $weight 1
2817
2815
*
2818
2816
* @return array containing the response
2819
2817
* @throws \Exception
@@ -2822,17 +2820,15 @@ public function accountStatus()
2822
2820
{
2823
2821
$ arr = array ();
2824
2822
$ arr ['sapi ' ] = $ this ->httpRequest ("v1/account/status " , 'GET ' , [ 'sapi ' => true ], true );
2825
- $ arr ['wapi ' ] = $ this ->httpRequest ("v3/accountStatus.html " , 'GET ' , [ 'wapi ' => true ], true );
2826
2823
return $ arr ;
2827
2824
}
2828
2825
2829
2826
/**
2830
2827
* apiTradingStatus - Fetch account API trading status detail.
2831
2828
*
2832
2829
* @link https://binance-docs.github.io/apidocs/spot/en/#account-api-trading-status-user_data
2833
- * @link https://binance-docs.github.io/apidocs/spot/en/#account-api-trading-status-sapi-user_data
2834
2830
*
2835
- * @property int $weight 2
2831
+ * @property int $weight 1
2836
2832
*
2837
2833
* @return array containing the response
2838
2834
* @throws \Exception
@@ -2841,7 +2837,6 @@ public function apiTradingStatus()
2841
2837
{
2842
2838
$ arr = array ();
2843
2839
$ arr ['sapi ' ] = $ this ->httpRequest ("v1/account/apiTradingStatus " , 'GET ' , [ 'sapi ' => true ], true );
2844
- $ arr ['wapi ' ] = $ this ->httpRequest ("v3/apiTradingStatus.html " , 'GET ' , [ 'wapi ' => true ], true );
2845
2840
return $ arr ;
2846
2841
}
2847
2842
}
0 commit comments