Hello I think there are some limitations in this endpont.
I tried with parameters
quoteAsset=BTC&baseAsset=BIDR"eQty=0.0019
and I get error “Input parameter setting error”.
With some other pairs the swap endpoint works, with some I get this error. Interesting point is that I can perform this conversion manually in web page (Binance Convert) without error.
The pair is BTCBIDR is also listed as allowed by endpoint /sapi/v1/convert/exchangeInfo.
Is there any way how to find pairs that are not allowed by bswap/swap?
Hi,
You can call the GET /sapi/v1/bswap/pools
endpoint which returns all the available swap pools. That’s how you can see which pairs are available to trade via BSwap.