Skip to main content

Questions tagged [subsquid]

Questions about using Subsquid APIs to index and query archived blockchain state.

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

subsquid: extrinsic fee not populated in block.extrinsics

What config is needed in order to see the fee for each extrinsic? While following the Transfers example, I try to see the extrinsic.fee in processor.ts export const processor = new ...
DerekC's user avatar
  • 1
0 votes
0 answers
73 views

Indexing: big Events vs. storage lookup. Downsides of having big Events

Problem statement: While indexing it's impossible to extract information from the Extrinsic call when Extrinsic has optional parameters (default if none). Solutions: storage lookup (seems suboptimal ...
vovacha's user avatar
  • 148
1 vote
0 answers
39 views

Are there examples of using subsquid archive to retrieve a raw block based on a blockhash?

Are there examples of using subsquid archive to retrieve a raw block (Vec) based on a block hash or number? It's very cool that one can query it at the graphql level (E.g. https://app.subsquid.io/...
Squirrel's user avatar
  • 3,849
0 votes
1 answer
78 views

Squid deployment not working

I'm slowly making my way to deploying a squid. Earlier I had some issues with a deploy error due to lack of an up-to-date repo. I'm currently facing a new challenge. When releasing the squid to the ...
rarara's user avatar
  • 141
0 votes
1 answer
102 views

Cannot deploy squid to Subsquid dashboard

I've recently been playing around with making and deploying my own squid. I keep getting a deploy_error on the website after deploying my squid via CLI. Visiting my URL I get the message below. I've ...
rarara's user avatar
  • 141
1 vote
1 answer
252 views

Saving deeply nested objects using subsquid

I'm trying to save some deeply nested information to the database, but I keep encountering an error when I go to save it using ctx.store.save(obj). My object looks like this. let writeToDB = { ...
rarara's user avatar
  • 141
1 vote
1 answer
93 views

Does SubSquid only store finalized blocks?

I've been doing some work with subsquid as my blockchain indexer (https://docs.subsquid.io/), I think it only saves finalized blocks, but I haven't found anything related to that. Does anyone know if ...
andresvsm's user avatar
  • 1,114
2 votes
1 answer
96 views

How to get caller and block number using Polkadot/Kusama Runtime modules and SubSquid

I'm trying to make my very first indexer. I want to pull the caller (initiator's address) of a runtime system.remark, as well as the block number. What is the best way to do this via hooking into the ...
rarara's user avatar
  • 141
16 votes
5 answers
1k views

Is there a good indexer for substrate chains (like the graph)?

If we want to ask lots of queries about chain state (for example users activity over time etc.) is there a recommended or de-facto way of doing it? Ethereum has 'the graph' for example as a high ...
Squirrel's user avatar
  • 3,849