Hermes feature: Query the balance for a key #912
Labels
A: good-first-issue
Admin: good for newcomers
I: CLI
Internal: related to the relayer's CLI
O: new-feature
Objective: cause to add a new feature or support
Milestone
Crate
ibc-relayer-cli
Summary
It would be nice to be able to query a balance for a key used in the relayer directly from hermes
Problem Definition
A user needs to track the balance remaining in a account (for a key) configured in the relayer. This will make it easier to know when you need to add more funds to the key or even switch to a different account that has enough funds to submit transactions.
Proposal
Implement a command such as
keys balance [chain-id] [keyname]
. This probably can be accomplished using a GRPC call to the bank module.Acceptance Criteria
The balance for the account associated with the key is returned.
For Admin Use
The text was updated successfully, but these errors were encountered: