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

Liquidity Pool Info error #137

Open
AlexeyUsachevWork opened this issue Jun 27, 2022 · 1 comment
Open

Liquidity Pool Info error #137

AlexeyUsachevWork opened this issue Jun 27, 2022 · 1 comment

Comments

@AlexeyUsachevWork
Copy link

AlexeyUsachevWork commented Jun 27, 2022

Hi,

We have got the errors in the browser console when we open Liquidity Pool page.
The info about Liquidity Pool doesn't show on the page.

The Liquidity Pool is METALLIKA/USDT: https://pancakeswap.finance/info/pool/0x81c8c65da9b448a4cb1c0fa233d94056ed659b84
Token contract (METALLIKA) address: 0xee3081b6bb20fc28f77c179658e9ca5978d48170

Errors:

Failed to fetch pool data Error: Failed to decode block.number value: subgraph Qmc3Q7LkXbwfDpTVAoiFbaMCjGqqS6bmMQdP7MZisdWMBg has only indexed up to block number 18919322 and data for block number 19024884 is therefore not yet available: {"response":{"errors":[{"message":"Failed to decode block.number value: subgraph Qmc3Q7LkXbwfDpTVAoiFbaMCjGqqS6bmMQdP7MZisdWMBg has only indexed up to block number 18919322 and data for block number 19024884 is therefore not yet available"}],"status":200,"headers":{"map":{"content-length":"234","content-type":"application/json"}}},"request":{"query":"\n query pools {\n now: pairs(\n where: { id_in: ["undefined","0x81c8c65da9b448a4cb1c0fa233d94056ed659b84"] }\n \n orderBy: trackedReserveBNB\n orderDirection: desc\n ) {\n id\n reserve0\n reserve1\n reserveUSD\n volumeUSD\n token0Price\n token1Price\n token0 {\n id\n symbol\n name\n }\n token1 {\n id\n symbol\n name\n }\n }\n oneDayAgo: pairs(\n where: { id_in: ["undefined","0x81c8c65da9b448a4cb1c0fa233d94056ed659b84"] }\n block: {number: 19024884}\n orderBy: trackedReserveBNB\n orderDirection: desc\n ) {\n id\n reserve0\n reserve1\n reserveUSD\n volumeUSD\n token0Price\n token1Price\n token0 {\n id\n symbol\n name\n }\n token1 {\n id\n symbol\n name\n }\n }\n twoDaysAgo: pairs(\n where: { id_in: ["undefined","0x81c8c65da9b448a4cb1c0fa233d94056ed659b84"] }\n block: {number: 18996107}\n orderBy: trackedReserveBNB\n orderDirection: desc\n ) {\n id\n reserve0\n reserve1\n reserveUSD\n volumeUSD\n token0Price\n token1Price\n token0 {\n id\n symbol\n name\n }\n token1 {\n id\n symbol\n name\n }\n }\n oneWeekAgo: pairs(\n where: { id_in: ["undefined","0x81c8c65da9b448a4cb1c0fa233d94056ed659b84"] }\n block: {number: 18852533}\n orderBy: trackedReserveBNB\n orderDirection: desc\n ) {\n id\n reserve0\n reserve1\n reserveUSD\n volumeUSD\n token0Price\n token1Price\n token0 {\n id\n symbol\n name\n }\n token1 {\n id\n symbol\n name\n }\n }\n twoWeeksAgo: pairs(\n where: { id_in: ["undefined","0x81c8c65da9b448a4cb1c0fa233d94056ed659b84"] }\n block: {number: 18651901}\n orderBy: trackedReserveBNB\n orderDirection: desc\n ) {\n id\n reserve0\n reserve1\n reserveUSD\n volumeUSD\n token0Price\n token1Price\n token0 {\n id\n symbol\n name\n }\n token1 {\n id\n symbol\n name\n }\n }\n }\n "}}

Failed to fetch info overview Error: Failed to decode block.number value: subgraph Qmc3Q7LkXbwfDpTVAoiFbaMCjGqqS6bmMQdP7MZisdWMBg has only indexed up to block number 18919322 and data for block number 19024884 is therefore not yet available: {"response":{"errors":[{"message":"Failed to decode block.number value: subgraph Qmc3Q7LkXbwfDpTVAoiFbaMCjGqqS6bmMQdP7MZisdWMBg has only indexed up to block number 18919322 and data for block number 19024884 is therefore not yet available"}],"status":200,"headers":{"map":{"content-length":"234","content-type":"application/json"}}},"request":{"query":"query overview {\n pancakeFactories(\n block: { number: 19024884}\n first: 1) {\n totalTransactions\n totalVolumeUSD\n totalLiquidityUSD\n }\n }"}}

instrument.js:109 Failed to fetch info overview Error: Failed to decode block.number value: subgraph Qmc3Q7LkXbwfDpTVAoiFbaMCjGqqS6bmMQdP7MZisdWMBg has only indexed up to block number 18919322 and data for block number 18996107 is therefore not yet available: {"response":{"errors":[{"message":"Failed to decode block.number value: subgraph Qmc3Q7LkXbwfDpTVAoiFbaMCjGqqS6bmMQdP7MZisdWMBg has only indexed up to block number 18919322 and data for block number 18996107 is therefore not yet available"}],"status":200,"headers":{"map":{"content-length":"234","content-type":"application/json"}}},"request":{"query":"query overview {\n pancakeFactories(\n block: { number: 18996107}\n first: 1) {\n totalTransactions\n totalVolumeUSD\n totalLiquidityUSD\n }\n }"}}

Please can you help with this.

@kalberto
Copy link

@AlexeyUsachevWork , did you manage to find an alternative? I'm using https://bsc.streamingfast.io/subgraphs/name/pancakeswap/exchange-v2 to get the pairs, but is not that good.

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

No branches or pull requests

2 participants