Useful commands

Information

# check the blocks
nolusd status 2>&1 | jq ."SyncInfo"."latest_block_height"

# check the logs
journalctl -u nolusd -f -o cat

# check status
curl localhost:26657/status

# check balance
nolusd q bank balances <address>

# check the validator pubkey
nolusd tendermint show-validator

# check the validator
nolusd query staking validator <valoper_address>
nolusd query staking validators --limit 1000000 -o json | jq '.validators[] | select(.description.moniker=="<name_moniker>")' | jq

# check TX_HASH information
nolusd query tx <TX_HASH>

# network parameters
nolusd q staking params
nolusd q slashing params

# check how many blocks are missed by the validator and from which block is active
nolusd q slashing signing-info $(nolusd tendermint show-validator)

# find out the validator creation transaction (replace your valoper_address)
nolusd query txs --events='create_validator.validator=<your_valoper_address>' -o=json | jq .txs[0].txhash -r

# view active set
nolusd q staking validators -o json --limit=1000 \
| jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' \
| jq -r '.tokens + " - " + .description.moniker' \
| sort -gr | nl

# view inactive set
nolusd q staking validators -o json --limit=1000 \
| jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' \
| jq -r '.tokens + " - " + .description.moniker' \
| sort -gr | nl

Transactions

Working with wallets

Delete node

Governance

Peers and RPC

Last updated