Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [graphql]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Corrupted string is being returns in the subgraph

I've created a subgraph, and it returns a corrupted string: Look at the "domain" value.
amit's user avatar
  • 390
1 vote
0 answers
64 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
3 answers
180 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
159 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
89 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
37 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
106 views

How to get the subgraph hash once compiled and deployed using graph-cli?

I have a graph-node running in a EC2 instance. The subgraph has been compiled, created and deployed already and it is running with no issues. I want to query its status by running the following ...
Falcon Stakepool's user avatar
0 votes
1 answer
451 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
1 vote
1 answer
410 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
  • 517
1 vote
2 answers
162 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
521 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
418 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