How to get extrinsic status?
See original GitHub issueHi, currently I need to monitor the network for Dot deposit and withdrawal, the only way I know now is using the method getBlock
(api.rpc.chain.getBlock) then loop through the extrinsic in the block, but the object does not include information such as feeUsed
and status
. For fee
I think I can get from this method: api.rpc.payment.queryInfo()
, but I don’t know to query the status information of the extrinsic. So how to get extrinsic status?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
how can I read an extrinsic result status as fail or success
I am trying get this info for this transaction and I would like to catch this ... I updated the package but result...
Read more >Extrinsic Motivation: Definition and Examples - Verywell Mind
Extrinsic motivation involves behaviors that are driven by the promise of an external reward. By contrast, intrinsic motivation comes from ...
Read more >To get the extrinsic data from the extrinsic Hash
There are a couple ways you could work with that. If you have the extrinsic hash and the block number than you could...
Read more >Intrinsic vs. Extrinsic Motivation, Explained - Forge - Medium
Extrinsic motivation relies on factors outside ourselves as incentives for action. Examples of extrinsic motivators include the pursuit of money, social status, ...
Read more >Extrinsic Motivation: Why You Make Terrible Life Choices
Examples of extrinsic motivators include the pursuit of money, social status, praise, food, material wealth, or fame. Other examples of extrinsic motivators ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
100%
Nevermind @jacogr, I kinda managed how to query
events
by scanning through the code in Substrate Api Sidecar, it’sapi.query.system.events.at(blockHash)
.So to calculate the total fee, I just need to sum
treasury.Deposit
andbalances.Deposit
if any of them exist right?