-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return hashed denom with denom-traces query #581
Comments
Document event handling
So should we add an extra field that would look like this?
|
this would certainly be an improvement as it removes one of the steps to finding out how many tokens have been transferred between chains. However there would still be quite cumbersome:
I'm unsure of the engineering lift or drawbacks of including a bank query for the total of each denom returned but that would be the ideal result. Although having the denom hash would definitely make it easier to make that query manually. The times that I needed to query the balance of a channel were:
i realize that the base_denom is also not a safe target for collecting this info. Maybe thinking about it from fundamentals there might be a client query that lists how many channels and ports are associated with it as well as the number of tokens that have been moved out through it as well as in through it with some reference to the paths they took to suggest they came from common origins. Services like mintscan are beginning to provide these kinds of insights but when the exact data you're looking for isn't supported there is no recourse. |
Thanks for your comment, @okwme. So I think for now the simplest solution would be to include the I realize that you will still need to do some scripting to get the value that you're after, but let's see how it goes with this solution and maybe in the future implement something more sophisticated. We see that there are now a couple of use cases that intersect IBC and SDK's |
Closing the issue on the basis of being stale. We haven't received any other requests to return the IBC denom in the denom traces query (which has now been replaced with the denoms request anyway). |
Summary
It's great to get a list of the human readable IBC denoms with
gaiad q ibc-transfer denom-traces
. However it's difficult to correlate them with the results ofgaiad q bank total
. There's a path for resolving a single hashed denom usinggaiad q ibc-transfer denom-trace <denom>
but would be tedious to do for each one. Otherwise it's difficult to tell how many tokens exist for each IBC denom. I'd like to know how manyuatoms
exist on the hub that have multiple hops.These are all atoms on the hub that are non longer fungible with native atoms because they need to be unwould back through the osmosis chain (channel-141).
Alternatively, it would be great to be able to query the number of tokens locked up in each channel to get some ideas of use of channels
or maybe there's already another method to do this?
Problem Definition
Proposal
For Admin Use
The text was updated successfully, but these errors were encountered: