Skip to main content

Questions tagged [subgraph]

The tag has no usage guidance.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
175 views

Cannot decode function call in subgraph code

This is with: graph-cli v0.34.0 graph-ts v0.28.0 I'm trying to decode a function call in my subgraph mapping but it's not working. There is a tuple in the function input that seems to be causing the ...
Phil's user avatar
  • 71
2 votes
0 answers
345 views

What is the use of IPFS node in self hosted graph-node

I was going through graph-node documentation which seems to work as backend for the graphql service & will also be responsible for saving any data to database. But I'm unable to understand what is ...
Himanshu Pal's user avatar
1 vote
0 answers
19 views

When I execute graph deploy, I get an error: Failed to upload subgraph to IPFS: Failed to upload file to IPFS. How to solve it

when i execute "graph deploy",it shows me the subgraph error
qingshan liu's user avatar
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
1 vote
1 answer
97 views

How can I query the transaction number of a liquidity pool in PancakeSwap?

I want to query the transaction numbers of the liquidity pools of PancakeSwap and so that decide which 10000 of them are the most active ones (there are 1.2M). How can I do this using Ethers.js or ...
Mendax's user avatar
  • 11
1 vote
0 answers
90 views

Uniswap V3 Pool Subscription

I am trying to subscribe to uniswap v3 pool events and this is my query subscription { pool(id: "0x0001fcbba8eb491c3ccfeddc5a5caba1a98c4c28") { id, token0 { id symbol ...
Rafael's user avatar
  • 11
1 vote
1 answer
56 views

How to use The Graph (GRT) with Quorum to index events and serve them via GraphQL?

I saw a few videos of using a graph node to index blockchain events, and serve them via graphql, which seemed very useful. The common pattern in these videos that I observed: They are using Infura/...
Somjit's user avatar
  • 265
1 vote
2 answers
305 views

subgraph resolve error: Serialization error: missing field `name`

I'm going though Patrick's solidity course. I'm on 28:36:52. I'm trying to deploy my subgraph and I'm getting this error. ✖ Failed to deploy to Graph node https://api.studio.thegraph.com/deploy/: ...
Harendra Shakya's user avatar
0 votes
0 answers
16 views

why am i getting negative value for effective gas price?

May 27 10:51:16.745 DEBG Trying again after eth_getTransactionReceipt RPC call for transaction 0x77e3b240fb0e665edc49b4f2464095ae69a18a4760cf2f654103237ad1c3d3b3 failed (attempt #5) with result Err(...
user135733's user avatar
0 votes
0 answers
15 views

Handle workspace/monorepo with different deployments

I am using yarn workspaces in which I have 2 projects. My-project contracts subgraph Some devs work on contracts, others on subgraph. The flow of the release is the following: PRs are created ...
Neo's user avatar
  • 103
0 votes
0 answers
39 views

Subgraph Link for Uniswap V2 on BSC?

I'm looking for the SubGraph Api endpoint to interact with UniswapV2 on the Binance Smart Chain (BSC). Can anyone provide the specific link or information on how to access it? I appreciate any ...
adam mr's user avatar
  • 131
0 votes
1 answer
20 views

Does Aragon OSX have a url for polygon subgraph?

I only see goerli subgraph in the documentation.
Yan Digilov's user avatar
0 votes
1 answer
107 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
48 views

how define multiple @fulltext search in a GRT subgraph?

I have a graphql.schema file in my subgraph(GRT) I try to write a search for 3 entity but the graph accepts one @fulltext type like this: type _Schema_ @fulltext( name: "ABXsearch" ...
Zig Balthazar's user avatar
0 votes
1 answer
276 views

How to fetch Token data from uniswapV3?

I am trying to fetch some token data from uniswapV3 subgraph. https://thegraph.com/hosted-service/subgraph/uniswap/uniswap-v3 token address is: 0x06450dEe7FD2Fb8E39061434BAbCFC05599a6Fb8 i can view ...
salik saleem's user avatar
0 votes
1 answer
7 views

Looking through the aragonOSx SDK, I gather that the idea is for plugin developers to also create their own clients and subgraphs for for their apps?

Here is the aragonOSx SDK repo (https://github.com/aragon/sdk). I'm wondering if every developer who develops a plugin and publishes it to the protocol (https://github.com/aragon/core) has to create ...
juliette_chevalier's user avatar
0 votes
1 answer
6 views

How can I get the plugin address of my aragonOSx plugin?

When you deploy your plugin you get the address, so you know your plugin address, but there are no functions on the contracts (that I can see) that matches repo names with addresses. Is the idea that ...
juliette_chevalier's user avatar
0 votes
1 answer
146 views

Adding a groupby ability to subgraph of the graph protocol

How would I add the aggregation and grouping to a subgraph deployed as a hosted service on thegraph protocol? The schema.graphql does not support adding a type Query{...} or a type object in general ...
Ege's user avatar
  • 101
0 votes
0 answers
223 views

Error indexing handleIncreaseLiquidity on a local graph-node on Token#get:decimals with message: "Value is not a BigInt"

Hi, I' m tring to deploy Uniswap V3 subgraph to a local graph node that is connected to a local ethereum node on the goerli network. The OS is xubuntu v21.10 . The node is hyperledger besu v22.1.2. ...
THE_PRINCE's user avatar
0 votes
1 answer
407 views

How to call functions or access public mappings from inside of a subgraph?

I have this struct and mapping inside my smart-contract: struct attrStruct { uint256 generation; string faction; } mapping(uint256 => attrStruct) public attributes; I want to fetch and ...
Accretence's user avatar
0 votes
1 answer
1k views

How to use the Uniswap API to access historical transaction/swap data? Any help appreciated

My objective is to query/download historical swap data. So for example, information like "Wallet A swapped B amount of C token for D token at time E". I am having a huge amount of trouble ...
Vladimir Belik's user avatar