Created
September 12, 2018 09:30
-
-
Save JohannesBertens/3f6896f787d074996114a23ffc702600 to your computer and use it in GitHub Desktop.
Grab info from Geth nodes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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