Useful Commands

Information

# Check the balance
gitopiad status 2>&1 | jq ."SyncInfo"."latest_block_height"
# Check logs
journalctl -u gitopiad -f -o cat
# Check status
gitopiad status 2>&1 | jq .SyncInfo
# Check balance
gitopiad q bank balances $GITOPIA_ADDRESS
# Check pubkey of validator
gitopiad tendermint show-validator
# Check validator
gitopiad q staking validator $GITOPIA_VALOPER
gitopiad q staking validators --limit 1000000 -o json | jq '.validators[] | select(.description.moniker="$GITOPIA_VALOPER")' | jq
# Check information of TX_HASH
gitopiad q tx <TX_HASH>
# Check how many blocks were passed by the validator and from which block the asset
gitopiad q slashing signing-info $(gitopiad tendermint show-validator)

Transactions

# Collect rewards from all validators delegated to them (without commission)
gitopiad tx distribution withdraw-all-rewards --from wallet --fees 5000utlore -y

! If the transactions are not sent with the error account sequence mismatch, expected 18, got 17: incorrect account sequence, then add the flag -s 18 to the command (replace the number with the one that is waiting for the sequence)

Work with wallets

Delete Node

Governance

Peers and RPC

Last updated

Was this helpful?