Skip to content

Instantly share code, notes, and snippets.

@JohannesBertens
Created September 12, 2018 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohannesBertens/3f6896f787d074996114a23ffc702600 to your computer and use it in GitHub Desktop.
Save JohannesBertens/3f6896f787d074996114a23ffc702600 to your computer and use it in GitHub Desktop.
Grab info from Geth nodes
# For node 1 (bound on port 8545)
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":67}' http://127.0.0.1:8545
# For node 2 (bound on port 8546)
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":67}' http://127.0.0.1:8546
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment