Questions tagged [graphql]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

After successfully deploying a subgraph via The Graph to Mumbai it suddenly stops working for no apparent reason

so I have succesfully deployed a subgraph to a fork of the masterchef contract from sushiswap. Before beeing able to sync up properly, the subgraph suddenly throws an error and stops. The error ...
CheeseMcBurger's user avatar
0 votes
2 answers
112 views

What are the GraphQL API providers for blockchain data?

I know there are RPC providers like QuickNode and Alchemy Irwing Tello
Irwing Tello's user avatar
1 vote
1 answer
122 views

implementing chart like Dextool's chart for my react.js application

I'm gonna implement chart into my react.js application. Chart method should be similar to dextools. Now I try to use GraphQL to retrieve all trading histories. And also I'm gonna use OHLC react chart ...
Kevin Lee's user avatar
  • 128
0 votes
0 answers
46 views

Not able to add `dataSource` to existing subgraph

I am new to GraphQL & The Graph protocol. I have an exisitng subgraph with already 2 dataSource and deployed. Now I want to add 1 more new dataSource to subgraph. According to The Graph docs, I ...
Rishabh Raghwendra's user avatar
0 votes
1 answer
24 views

Is there a script to automatically re-deploy a subgraph?

I have a subgraph that is running on a EC2 Instance and I want to be able to re-compile it, re-generate it and re-deploy it every time a configuration changes. When I say configuration, I refer to the ...
Falcon Stakepool's user avatar
0 votes
1 answer
300 views

Subgraph indexing error, mapping aborted with ethereum value is not an address

Subgraph indexing failing due to mapping abortion with reason - ethereum value is not an address, from one of the handlers. I understand the issue if from the handlePaymentExpenseCreated() function ...
Gokul's user avatar
  • 3
0 votes
0 answers
22 views

Subgraph Warning: the amount of traces goes over the maximum (500), please use 'after' and 'count' in your request

I have deployed a hosted subgraph here. In the logs it gives the following warning. Can someone explain what it means and how I can go about correcting it? Trying again after trace_filter RPC call ...
Suryansh Singh's user avatar
1 vote
1 answer
315 views

How to Use Subgraph Enums in the Mapping?

Subgraph documentation mentions enums but does not show how to use them in mappings. I tried to import it from the generated schema, along with other type definitions, but compiler gives error: ...
ferit's user avatar
  • 507
1 vote
2 answers
142 views

How to build an API that returns the metadata of an NFT directly by querying the Ethereum blockchain?

the title is my question. I really want to know how these third party APIs like Alchemy, Moralis are working I'm building a product and need to create an API which can directly query the Ethereum ...
amam's user avatar
  • 11
0 votes
3 answers
399 views

How can I query the onchain data on the ethereum blockchain without using any APIs?

I want to get all the onchain data available on the Ethereum blockchain about an NFT from its contract address and tokenID. Like its metadata, the current owners, its last price, etc. How can I do ...
amam's user avatar
  • 11
1 vote
0 answers
334 views

Is there a way to subscribe to a The Graph subgraph?

I want to use GraphQL subscription to be able to watch for all changes in the liquidity pools. Is there a way to do this with The Graph or another possible option?
n3n3's user avatar
  • 608