Thank you for the tutorial! The example at 8:42 is not working for me. First I need to use double quotes and after doing this I am getting the error "Invalid value provided for argument `where`: Object({\"token0\": Object({\"symbol\": String(\"ETH\")})})" Did it worked for you?
Haha, shit I'm having that same problem. Seems unable to filter tokens by symbol. I can't imagine that is true. It has to be a syntax error on our part, but I'll have to look into it.
I want to get all the entries from an entity in the mapping file. Like let's suppose I have created an entity called Transaction. When a particular event is triggered, I want to reset values for some particular transactions. How can I get all the entries, better if I can provide a filter in event handler?
Great video, thanks! I have a question. I have to create a schema for querying all Transfer events for a specific address. How can I pass the address in the schema? Thank you in advance.
That's because of what he mentions at 2:40. There are two distinct categories for subgraphs; some are on the hosted/centralized network and do not require an API key and are free to query from, while others are on the decentralized network and require you to setup an API key and pay for your queries (typically under/around 0.00003 GRT per query as of writing this). Usually a subgraph on the decentralized network is also on hosted-service, so it's really a matter of whether you value decentralization and relying on a hosted service vs. a larger distributed network of indexers
hi is there an easy way to query what my position is in a uniswap v2 pool given my wallet public key address? I tried using GraphQL, but I'm having a hard time. Basically, I was to pass my wallet public key address, and have it return my position: ETH: 1.5 USDC: 4500 (when ETH price is 3000). Many Thanks.
When I run code "npm script.j" console show following error "TypeError: Cannot read property 'flashLoans' of undefined" Anyone knows how to fix it ? Thank you
@@EatTheBlocks done :) You explain from the begging the arguments and it is soo good. Don’t change anything. You are the traversy media for the Blockchain
You will need to index data and create an API for this yourself or check the major Blockchain API (Coingecko, etc..) to see if they offer this, but I am not sure about that.
Hi Khash, It's not a course, it's a 1h coaching I can give you advice for various things like technical questions about Blockchain or advice for your career as a Blockchain developer. For my courses, this is a different thing: eattheblocks.com/6-figure-blockchain-developer eattheblocks-pro.teachable.com/p/profitable-flashloans Cheers
This is the best tutorial out there for theGraph!
Agreed
Thanks for sharing. This is finally a simple and clear guide on how to query in general with GraphQL
Glad you liked it
Thank you for the tutorial!
The example at 8:42 is not working for me. First I need to use double quotes and after doing this I am getting the error "Invalid value provided for argument `where`: Object({\"token0\": Object({\"symbol\": String(\"ETH\")})})"
Did it worked for you?
This also doesn't work for me. Is there any solution for query with token symbol?
Haha, shit I'm having that same problem. Seems unable to filter tokens by symbol. I can't imagine that is true. It has to be a syntax error on our part, but I'll have to look into it.
@@just10joy please tell me any of you guys found a solution :(
{
tokens(where: {
symbol: "WETH"
}){
whitelistPairs{
token0{
symbol
}
token1{
symbol
}
}
}
}
this is for sushiswap btw
This video is the most helpful resource for querying Uniswap with GRT
Thanks for explaining in a simple way
Glad it helped
Great video, very informative. The graph seems like a cool protocol
another great video.
Thanks.
11:01 - how to use The Graph from NodeJS app
I want to get all the entries from an entity in the mapping file. Like let's suppose I have created an entity called Transaction. When a particular event is triggered, I want to reset values for some particular transactions. How can I get all the entries, better if I can provide a filter in event handler?
Can u do a tutorial how to become a subgrapher?! Thank you!
Can you explain why data I pull from the query is so different than the DEX's own analytics?
seem interesting, but how to use with ganache? local ethereum maybe?
Great video, thanks! I have a question. I have to create a schema for querying all Transfer events for a specific address. How can I pass the address in the schema? Thank you in advance.
Awesome video, thanks!
Thanks so much for this.
Nice video thank you. I picked another subgraph to query from axios and noticed in the copied URL they require an API key. Why you didnt require one?
That's because of what he mentions at 2:40. There are two distinct categories for subgraphs; some are on the hosted/centralized network and do not require an API key and are free to query from, while others are on the decentralized network and require you to setup an API key and pay for your queries (typically under/around 0.00003 GRT per query as of writing this). Usually a subgraph on the decentralized network is also on hosted-service, so it's really a matter of whether you value decentralization and relying on a hosted service vs. a larger distributed network of indexers
Can we query based on contract/ wallet address? I don't see that there :/
this is cool, sir I want more
Thanks Paul!
hi is there an easy way to query what my position is in a uniswap v2 pool given my wallet public key address?
I tried using GraphQL, but I'm having a hard time.
Basically, I was to pass my wallet public key address, and have it return my position:
ETH: 1.5
USDC: 4500
(when ETH price is 3000).
Many Thanks.
many same pair address displayed? how to fix this please
@EatTheBlocks
Receiving the following error:
'No value provided for required argument: `id`'. Kindly suggest a possible solution..
gr8 content, Thank you.
Can you please do a video on creating subgraphs? Thanks!
maybe later :)
@@EatTheBlocks please do!
you can find some already
cool video,
I'm getting a 403 error with the applied example, any ideas what's going wrong?
When I run code "npm script.j" console show following error "TypeError: Cannot read property 'flashLoans' of undefined"
Anyone knows how to fix it ?
Thank you
Cool bro! I’m italian and I understand all
haha I am glad Italian friends can follow as well :)
@@EatTheBlocks done :) You explain from the begging the arguments and it is soo good. Don’t change anything. You are the traversy media for the Blockchain
Why didn't this video get recommended to me earlier :(
is this free ?
Thank you for this tutorial!!
Great tutorial- keep it up
Thanks!
cest gratuit ?
Can you tell me how can i get the OHLC for the Uniswap and other defi platforms
You will need to index data and create an API for this yourself or check the major Blockchain API (Coingecko, etc..) to see if they offer this, but I am not sure about that.
Hello Julian, I am thinking about taking your 1 on 1 couching course. My question is how long does the course lasts.?
Hi Khash,
It's not a course, it's a 1h coaching I can give you advice for various things like technical questions about Blockchain or advice for your career as a Blockchain developer.
For my courses, this is a different thing:
eattheblocks.com/6-figure-blockchain-developer
eattheblocks-pro.teachable.com/p/profitable-flashloans
Cheers
What are the difference between The Graph, Covalent and Infura ? (except the GraphQL part wich is obvious)
Infura is centralized and uses a REST API, Thegraph is decentralized and use a GraphQL API
@@EatTheBlocks thank you for your answer !
This helped so much, thank you!!!
Glad it helped!
Hi nice Video. Can you Tell me how to create a trading view out of this .
no idea :(
This doesnt work for me
can you tell me about the playground web site
its on the website of the graph
no such thing as first or job or x figure or how or get or etc, cepuxyuax, do, can do any nmw and any s perfx
Dear Julien, Could you please help us with your knowledge on how can we extract/export the blockchainn data using Ethreum etl github library
centralized solution. good luck. they totally misunderstood whole thing
Digital Yuan is the new GRAPH Protocol? #GRT - ruclips.net/video/hBwVSZvuHU8/видео.html
BEST CASE PREDICTION: GRT will hit $1000.00 by Jan 1st, 2021.