Is there somewhere I can find what commands can be used within geth attach, and some examples of scripts as well?

  • attach opens a communications channel to another geth process and all the commands are sent via RPC. Check Ethreum RPC API and this is all you can do. – Nulik Jun 20 '18 at 17:34

Is this what you are looking for?


Once in the console, you append the command to one of the prefixes admin, debug, miner, personal, or txpool.

For example admin.peers

| improve this answer | |
  • Thanks. that's exactly what I was looking for. Ticked as answered, but I don't have enough reputation to give it a vote. – Harry McGovern Jun 22 '18 at 12:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.