Info & Status

command for Information about node, validator and status

Function Command

Synchronize Information

dymd status 2>&1 | jq .SyncInfo

or

define your PORT first.
curl -s localhost:${PORT}657/status | jq .result.sync_info

Node Information

dymd status 2>&1 | jq .NodeInfo

Show Node ID

dymd tendermint show-node-id

Show Node Logs

journalctl -fu dymd -o cat

Get List of Connected Peers

define your PORT first
curl -s http://localhost:$PORT/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'

Check Peer ID and Port

echo $(dymd tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.dymension/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

Last updated