Questions tagged [data-analytics]
The data-analytics tag has no usage guidance.
17 questions
2
votes
1
answer
44
views
Is there a programmatic way to retrieve list of parachain sovereign accounts on Statemint/e?
I would like to run analysis on activity involving Parachain sovereign account ids on Statemint.
Is there a way I can programmatically retrieve a list of parachain sovereign ids on Statemint?
3
votes
1
answer
103
views
Should events be taken into account if their extrinsic fails?
If the System.ExtrinsicFailed event was emitted within a given extrinsic, does it mean that all other events that were also emitted within it can be considered invalid and should not be taken into ...
3
votes
2
answers
128
views
Is there anyway to tell if a transaction was submitted by a light client on a substrate blockchain?
Interested in calculating the number of transactions submitted by type of node. Ie seeing how many transactions are originating from light clients vs full-nodes.
0
votes
1
answer
32
views
Amount of DOT bonded by a validator
In order to get the number of validators on a relay chain I query the Staking.ValidatorCount storage which returns an integer.
How do I get the list of all validators and the amount of DOT/KSM bonded ...
1
vote
1
answer
37
views
Are proxy accounts part of the accounts in storage and how to identify them
When we query the system.account storage function we get back a list of accounts, are proxy accounts part of this list and if yes, is there a way to identify them?
2
votes
1
answer
36
views
Deduce timestamp of block for chains without timestamp pallet
Usually when looking for when the block was created I refer the timestamp.set extrinsic.
But some chains in the past were not using the timestamp pallet as part of their runtime, for reference ...
4
votes
1
answer
55
views
Get a breakdown of DOT for an account
For any given account can I get a breakdown of DOT that is bonded, vested, locked, transferable, locked for democracy etc.
Ideally looking for way to do it through py-substrate-interface or PolkadotJs ...
2
votes
2
answers
124
views
Finding about native token of a parachain
Is there a way to query whether a chain has a native token and what it is?
For instance can I query Moonbeam, to find that it's native token is GLMR(Glimmer). Similarly for the rest of the parachains.
2
votes
1
answer
44
views
Missing timestamp(set) extrinsic for older blocks of statemint
When I need to get the timestamp of a block, I usually look for the timestamp(set) extrinsic in the block, But I realised that the older blocks(between #1 - #305203) in statemint don't seem to have ...
1
vote
1
answer
57
views
How to determine which account sent an extrinsic from substrate block data?
Could anyone help me understand how one reads from a substrate chain the account that sent an extrinsic?
For example take this Kusama xcmpallet.reserve_transfer_assets extrinsic sent by address ...
1
vote
1
answer
52
views
Why do are some events in a block missing an extrinsic_idx?
Using py-substrate-interface to parse block data, we noticed that some events return None for the extrinsic_idx parameter.
Would someone please be so kind to explain why an event wouldn't have an ...
3
votes
1
answer
80
views
Is there a way query the denomination information of a substrate token from the runtime?
Different substrate chains have different denominations for native tokens.
For example, to get human readable amounts with Polkadot you have to divide by 1e10, Kusama by 1e12, Acala by 1e12 etc.
Is ...
2
votes
1
answer
100
views
How to measure number of XCM messages sent on a relay chain?
Hi trying to understand total number of XCM messages sent on a relay chain.
Should I be counting all ‘Sent’ events from the ‘xcmpallet’.
Thanks.
2
votes
1
answer
41
views
How to recognise user behaviour data on substrate chains? (Events + Extrinsics)
Context: Specifically trying to measure user behaviour data on substrate chains.
Questions:
Is there any specific data that indicates whether a user triggered an extrinsic or an event?
Do only ...
2
votes
1
answer
123
views
How to differentiate between a full node and an archive node while querying chain state?
Is there a way to know whether the node you are querying is a full or an archive node? For example, assume you want to query the chain state at block 1000 for analytical purposes, to do this you need ...
3
votes
2
answers
65
views
How to calculate Total Value Locked for a Substrate Chain? Should 'Reserved Balances' be included?
If you wanted to calculate TVL for a substrate chain would you include 'Reserved Balances'? Or would you only be interested in 'Locked Balances'? (Locked Balance = max lock on an account)
2
votes
1
answer
268
views
How to determine which parameters are required when using substrate.query() to query a storage_function from polkascan's py-substrate-interface?
When querying storage functions using Polkascan's py-substrate-interface how do you figure out which parameters are required?
For example, I am trying to discern how much KSM is on Karura via storage ...