When pulling data for the BSC chain I’ve noticed that quoteCurrency is sometimes in WBNB and sometimes in USDT. Is there a reason for this? I would have thought that almost every transaction would be in WBNB.
Is there any way of forcing one or the other for my results or do I have to handle it in code? Will a single token alternate between one or the other or will it always be only one of them?
Thanks.
edit
Just to clarify, I know I can specify quoteCurrency but when I did that I found I wasn’t getting any results returned if I specified WBNB and quoteCurrency wanted to return it in USDT. Realising that I had to remove the quoteCurrency line in my query fixed a problem I was having where I was missing chunks of data. I’m planning on converting the results in my code. I’m just wondering if there’s anything else I need to know before I start pulling data.
This is the one I’ve been testing with. It doesn’t return any results but if you remove the bit specifying quoteCurrency as WBNB then it produces plenty of results in USDT.
Thanks, this is clear now. I thought that all BSC trades were done in WBNB and that was where my confusion came from. I see now that this filters the trades to the certain currency and that there was more going on that I couldn’t see.