pancakeswap/pancake-info-api

API's Dead?

theskyfloor opened this issue · 5 comments

API's all 500 error on GraphQL, are these end points dead?

Def still having issues, https://api.pancakeswap.info/api/v2/tokens results in:

{"error":{"code":500,"message":"GraphQL error: panic processing query: only derived fields can lead to multiple children here"}}

Who will correct this?

no fixed?

Note:
The following solution doesn't seem to be working for all tokens sadly, but it worked for my case. Hope it helps.

Same error on my end. I noticed that there are string inconsistencies with the contract address when comparing it to what's available on BSC scan versus what's returned from certain contract method calls responsible for returning token addresses.

For example:

const token0Address = lpContract.methods.token0().call()
//Returns : 0x9a3321E1aCD3B9F6debEE5e042dD2411A1742002

Screen Shot 2022-11-06 at 8 45 47 PM

On the other hand, if I apply a lower case to the same address -> 0x9a3321e1acd3b9f6debee5e042dd2411a1742002, I no longer get the error.
Screen Shot 2022-11-06 at 8 46 59 PM

yjgfn commented

这个问题官方人员不管的么?这都啥情况