xion daemon (server)
Usage:
xiond [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
config Create or query an application CLI configuration file
debug Tool for helping with debugging your application
export Export state to JSON
genesis Application's genesis-related subcommands
help Help about any command
init Initialize private validator, p2p, genesis, and application configuration files
keys Manage your application's keys
prune Prune app history states by keeping the recent heights and deleting old heights
query Querying subcommands
rollback rollback cosmos-sdk and tendermint state by one height
rosetta spin up a rosetta server
start Run the full node
status Query remote node for status
tendermint Tendermint subcommands
tx Transactions subcommands
version Print the application binary version information
Flags:
-h, --help help for xiond
--home string directory for config and data (default "/Users/justin/.xiond")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
--trace print out full stack trace on errors
Use "xiond [command] --help" for more information about a command.
By default all commands will assume you are accessing a local xion testnet unless you pass a parameter.
Common use case for the CLI (Locally)
Listing keys available to the cli
$xiondkeyslist
Output
-address:xion1e2fuwe3uhq8zd9nkkk876nawrwdulgv460vzg7name:local-testnet-faucetpubkey:'{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Ayrlj6q3WWs91p45LVKwI8JyfMYNmWMrcDinLNEdWYE4"}'type: local-address:xion1h495zmkgm92664jfnc80n9p64xs5xf56qrg4vcname:local-testnet-validatorpubkey:'{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AiBl5S4fP+Ra2LD/EZ2XtWwNu9otOCFMTs8tfq5fwIXm"}'type: local
The name field is an alias that can be used in some other commands.
Checking an account balance
To get the current balance the in the banking module in a given address.