Fixing JSON-RPC docs formatting (#1146)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Lucas Saldanha 6 years ago committed by GitHub
parent 7ef2682c1c
commit 732327b6ae
  1. 10
      docs/Reference/JSON-RPC-API-Methods.md

@ -366,7 +366,7 @@ None
!!! example
```bash tab="curl HTTP request"
curl -X POST --data '{"jsonrpc":"2.0","method":"net_enode","params":[],"id":53}' localhost:8545
curl -X POST --data '{"jsonrpc":"2.0","method":"net_enode","params":[],"id":53}' http://127.0.0.1:8545
```
```bash tab="wscat WS request"
@ -375,10 +375,10 @@ None
```json tab="JSON result"
{
"jsonrpc" : "2.0",
"id" : 53,
"result" : "enode://6a63160d0ccef5e4986d270937c6c8d60a9a4d3b25471cda960900d037c61988ea14da67f69dbfb3497c465d0de1f001bb95598f74b68a39a5156a608c42fa1b@127.0.0.1:30303"
}
"jsonrpc" : "2.0",
"id" : 53,
"result" : "enode://6a63160d0ccef5e4986d270937c6c8d60a9a4d3b25471cda960900d037c61988ea14da67f69dbfb3497c465d0de1f001bb95598f74b68a39a5156a608c42fa1b@127.0.0.1:30303"
}
```
## Eth Methods

Loading…
Cancel
Save