binance-us/binance-us-api-docs

Trade Fee returns no data

MAXxATTAXx opened this issue · 3 comments

When doing the following request: GET /wapi/v3/tradeFee.html (HMAC SHA256)
The following response is returned:

{
  "tradeFee": [],
  "success": true
}

Is this expected behaviour?
Why would no tradeFee be returned?
Is there a user permission missing to allow this endpoint?

Thanks

how do I fix this?

@MAXxATTAXx tradeFee is an array in an array, did you go deeper?

Array
(
    [success] => 1
    [tradeFee] => Array
        (
            [0] => Array
                (
                    [maker] => 0.001
                    [symbol] => PONDUSDT
                    [taker] => 0.001
                )
        )
)

We have already fixed the issue and provide a new version of trade fee API. More details can be found in https://docs.binance.us/#get-trade-fee