Useful Commands

Information

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

Transactions

# Collect rewards from all validators delegated to them (without commission)
ojod tx distribution withdraw-all-rewards --from <name_wallet> --fees 5000uojo -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?