Timeline for Is there data a data difference between the Uniswap v3 Subgraph and smart contract queries?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 17, 2021 at 12:50 | comment | added | ElHaix | I see, so for unless your data is not time sensitive, better to use the Subgraph for static data like token ID, symbol, etc.? This helped as well (fyi for others): thegraph.com/docs/en/about/introduction#what-the-graph-is | |
Dec 17, 2021 at 6:01 | comment | added | Donut | That depends on the how quickly the nodes sync the data. So far I had a pretty good experience with the hosted service, where I could query the data as soon a transaction had been confirmed. But there might be a delay since a transaction has to be confirmed and the graph nodes needs to process the data before making it available :) | |
Dec 17, 2021 at 1:51 | vote | accept | ElHaix | ||
Dec 17, 2021 at 1:51 | comment | added | ElHaix | You're right - collecting data from SC's is cumbersome, and the graph queries are very helpful. Excellent, thank you. In terms if timely accuracy, is the data returned from the graph queries as up to date as the contract's or is there a delay? For example when trying to find arbitrage opportunities this may be an issue. | |
Dec 16, 2021 at 6:48 | history | answered | Donut | CC BY-SA 4.0 |