pancake-info-api icon indicating copy to clipboard operation
pancake-info-api copied to clipboard

API's Dead?

Open theskyfloor opened this issue 2 years ago • 5 comments

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

theskyfloor avatar Oct 27 '22 14:10 theskyfloor

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"}}

Crypto2 avatar Oct 29 '22 03:10 Crypto2

Who will correct this?

uranik777 avatar Nov 01 '22 18:11 uranik777

no fixed?

xiaohuangwritebug avatar Nov 06 '22 04:11 xiaohuangwritebug

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

defiBuilders avatar Nov 07 '22 01:11 defiBuilders

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

yjgfn avatar Nov 12 '22 11:11 yjgfn