Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

API's Dead? #146

Open
theskyfloor opened this issue Oct 27, 2022 · 5 comments
Open

API's Dead? #146

theskyfloor opened this issue Oct 27, 2022 · 5 comments

Comments

@theskyfloor
Copy link

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

@Crypto2
Copy link

Crypto2 commented Oct 29, 2022

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

@uranik777
Copy link

Who will correct this?

@xiaohuangwritebug
Copy link

no fixed?

@defiBuilders
Copy link

defiBuilders commented Nov 7, 2022

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
Copy link

yjgfn commented Nov 12, 2022

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants