Hi everyone. I try to get quote for swap operation
/sapi/v1/bswap/quote?quoteAsset=USDT&baseAsset=BRL"eQty=100.38×tamp=1634403585799&signature=xxx
but i receive this error message (http code = 400 - bad request)
{
“code”: -12015,
“msg”: “bad request”
}
Someone have idea about this problem? Can i help me?
ishuen
2
Hi.
The coin BRL is not included in any pool listed in GET /sapi/v1/bswap/pools
( https://binance-docs.github.io/apidocs/spot/en/#list-all-swap-pools-market_data ) so the request failed. We will ask the team to make the error message more informative. Thanks for letting us know the issue you faced.
neocite
3
But how i do make swap BRL to USDT? Exists another api for this operation?
ishuen
4
Unfortunately, there is no one-step approach. You have to convert it via trading.