Questions tagged [graphs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
281 views

Problem compiling subgraph with graph-ts new version

I'm getting this error: ERROR TS2322: Type '~lib/@graphprotocol/graph-ts/common/value/Value | null' is not assignable to type '~lib/@graphprotocol/graph-ts/common/value/Value'. I know it is for this ...
user avatar
0 votes
1 answer
197 views

The Graph nodes can't decode ABI encoded data containing arrays

I'm currently having an issue with decoding a function call inside a Subgraph mapping that seems to be related to builtin abi decoder of a Graph node: Given this input: ...
user avatar
  • 101
0 votes
1 answer
444 views

'Invalid account name or access token' when deploying to Thegraph

I'm currently working on deploy a subgraph to the hosted service on thegraph. It's to track volume and liquidity of a new token on the bsc. The thing is, I'm using a v1 clone from PCS, and everything ...
user avatar
  • 1
0 votes
0 answers
44 views

Will dextools list all uniswap tokens created?

Will Dextools list all Uniswap tokens that you create, or is there a place where you have to submit your Uniswap token in order for your token to be listed on Dextools. Thanks to anyone who can help
user avatar
0 votes
1 answer
177 views

Subgraph (Graph Protocol) not building out of schema correctly

Doing a quick start tutorial to get back in the subgraph mode and my mapping (even though very simple) is not building. The types will compile, but I cannot deploy it due to it being unable to build. ...
user avatar
  • 45
0 votes
0 answers
24 views

What exactly is the graph?

Is The Graph a decentralized database that stores blockchain events in sub graphs for easier retrieval?
user avatar
  • 1,243
0 votes
0 answers
49 views

GraphQL retrieves incorrect values reserveUSD, token0Price and token1Price

I am using the Uniswap API on graphQL to try to receive the reserve data for every token pair on Uniswap. Following the directions on their website am able to generate a list of all the correct pair ...
user avatar
1 vote
1 answer
459 views

TheGraph is not connecting to IPFS locally

I have a Graph local node set up using this tutorial. When I am trying to deploy it, its not going through with the following error message: Add file to IPFS build/schema.graphql ⠋ Upload subgraph to ...
user avatar
6 votes
5 answers
3k views

Failed to deploy to Graph node: Ethereum network not supported by registrar: mainnet

I followed this tutorial on the graph document: https://thegraph.com/docs/quick-start#local-development However, I got an error message after I run yarn deploy-local. Failed to deploy to Graph node ...
user avatar
  • 97
2 votes
0 answers
278 views

GraphQl Query to get Uniswap OHLC data through The Graph

I tried searching through whole doc of The Graph but couldn't get a way to get OHLC data of Uniswap pair swaps. Where can I find such a query. Is this even possible? Thanks
user avatar
1 vote
0 answers
28 views

Do Graph queries have a maximum response size?

I'm running a Graph node for a personal project and I'm wondering if there is a defined maximum response size for queries. I see that pagination is an option according to the documentation, but it's ...
user avatar
  • 294
6 votes
2 answers
255 views

Graph traversals on Ethereum, at scale

I read the Efficient Solidity storage pattern for a directional weighted graph thread, but that deals with storing graphs. I'm interested in techniques for how to traverse graphs in Solidity, at scale....
user avatar
0 votes
0 answers
378 views

Is there a graph data structure in solidity?

I am trying to achieve a file lineage information Dapp and I need a graph kind of data structure for that. I know I can always write one but is there a ready to use data structure that is efficient ...
user avatar
  • 382
6 votes
3 answers
715 views

Efficient Solidity storage pattern for a directional weighted graph

I would like my graph's nodes to each have a struct of data and 0 or more pointers to other nodes. It needs to be efficient for insertions of new nodes in between two existing nodes. Should I use ...
user avatar
  • 8,907
2 votes
0 answers
70 views

How to get a call graph for the binary code of a contract?

I need a call graph generator for the assembler level of smart contract code in order to analyse solidity compiler bugs. In that way, porosity is excatly what I need ! However there are too much bugs ...
user avatar
1 vote
1 answer
77 views

Problem with array of adresses

I have following code of my smart contract, it has simple problem: browser/Referrals.sol:100:35: TypeError: Type function (uint256) pure returns (address[] memory) is not implicitly convertible ...
user avatar
2 votes
0 answers
229 views

what types of graph data are produced by the ethereum network? [closed]

I'm curious, what sort of node-link graph data is produced by the Ethereum network? I imagine there there is a graph of all transactions, and a higher level graph of miners and the blocks they mined. ...
user avatar
4 votes
2 answers
4k views

Where can I find transactions per second statistics?

A few days ago Vitalik claimed Ethereum was doing 8 transactions per second. The tweet linked to Etherchain, which doesn't seem to have a transactions per second graph. Where can I find an Ethereum ...
user avatar
  • 2,450