Typo in JSON RPC command + add Goerli Network ID (#1457)

* Update index.md

* Add Goerli network ID and fix typo

There were two quote marks at the start of the curl request.

* Update index.md

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Tim Beiko 6 years ago committed by GitHub
parent 374a8d38b0
commit 659c79b6d8
  1. 3
      docs/Reference/Pantheon-API-Methods.md

@ -286,11 +286,12 @@ None
- `2` - Morden Testnet (deprecated)
- `3` - Ropsten Testnet
- `4` - Rinkeby Testnet
- `5` - Goerli Testnet
- `42` - Kovan Testnet
!!! example
```bash tab="curl HTTP request"
curl -X POST --data ''{"jsonrpc":"2.0","method":"net_version","params":[],"id":53}' http://127.0.0.1:8545
curl -X POST --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":53}' http://127.0.0.1:8545
```
```bash tab="wscat WS request"

Loading…
Cancel
Save