Skip to content

Commit b2d96c6

Browse files
Fix for tradeFee
According to https://developers.binance.com/docs/wallet/asset/trade-fee this should use `/sapi/v1/asset/tradeFee` instead of `/api/v1/asset/tradeFee`
1 parent 45aa4b3 commit b2d96c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node-binance-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3685,7 +3685,7 @@ export default class Binance {
36853685
*/
36863686
async tradeFee(symbol?: string) {
36873687
const params = symbol ? { symbol: symbol } : {};
3688-
return await this.privateSpotRequest('v1/asset/tradeFee', params);
3688+
return await this.privateSapiRequest('v1/asset/tradeFee', params);
36893689
}
36903690

36913691
/**

0 commit comments

Comments
 (0)