gateio / gateapi-go

100 stars 32 forks source link

Unconsistency between /spot/currencies and wallet/currency_chains #47

Closed ApourtArtt closed 1 month ago

ApourtArtt commented 1 month ago

Hello,

I am allowing myself to add this issue. I posted it on Telegram but most of the messages are in chinese, which led my message to be unnoticed. I know it is not the adequate place for it, sorry for this.

I noticed an inconsistency on those two endpoints: https://api.gateio.ws/api/v4/spot/currencies https://api.gateio.ws/api/v4/wallet/currency_chains?currency=USDT On the first link we can see that USDT also support the BNB network, while on the second it is not the case. Going on gate.io and trying to withdraw USDT, we can see that, indeed, we cannot withdraw through the BNB chain. Is there something that I am missing or is it really a mistake? Which one would you recommend using? Is it safe to withdraw on USDT_BNB, knowing that it is not listed by the wallet/currency_chains endpoint?

Thank you in advance.

ApourtArtt commented 1 month ago

Received an answer on TG: "it is recommanded to use the wallet/currency_chains endpoint"