nand16041987 / whitepaper

BNB Smart Chain
https://bnbchain.org/en/developers
2 stars 0 forks source link

When trying to fetch information regarding `token0` or `token1` in the TopPairs query, the request fails with the error: `panic processing query: only derived fields can lead to multiple children here`. #1

Open nand16041987 opened 1 year ago

nand16041987 commented 1 year ago

When trying to fetch information regarding token0 or token1 in the TopPairs query, the request fails with the error: panic processing query: only derived fields can lead to multiple children here.

Example query to produce the error:

query TopPairs { pairs(first: 5, orderBy: volumeUSD, orderDirection: desc) { id name volumeUSD token0 { id } } }

Originally posted by @ErlendHer in https://github.com/pancakeswap/pancake-subgraph/issues/186

nand16041987 commented 4 weeks ago