Useful commands

Information

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

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

# check status
curl localhost:26657/status

# check balance
lavad q bank balances <address>

# check the validator pubkey
lavad tendermint show-validator

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

# check TX_HASH information
lavad query tx <TX_HASH>

# network parameters
lavad q staking params
lavad q slashing params

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

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

# view active set
lavad 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
lavad 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

Last updated