|
|
@ -366,7 +366,7 @@ None |
|
|
|
|
|
|
|
|
|
|
|
!!! example |
|
|
|
!!! example |
|
|
|
```bash tab="curl HTTP request" |
|
|
|
```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" |
|
|
|
```bash tab="wscat WS request" |
|
|
@ -378,7 +378,7 @@ None |
|
|
|
"jsonrpc" : "2.0", |
|
|
|
"jsonrpc" : "2.0", |
|
|
|
"id" : 53, |
|
|
|
"id" : 53, |
|
|
|
"result" : "enode://6a63160d0ccef5e4986d270937c6c8d60a9a4d3b25471cda960900d037c61988ea14da67f69dbfb3497c465d0de1f001bb95598f74b68a39a5156a608c42fa1b@127.0.0.1:30303" |
|
|
|
"result" : "enode://6a63160d0ccef5e4986d270937c6c8d60a9a4d3b25471cda960900d037c61988ea14da67f69dbfb3497c465d0de1f001bb95598f74b68a39a5156a608c42fa1b@127.0.0.1:30303" |
|
|
|
} |
|
|
|
} |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Eth Methods |
|
|
|
## Eth Methods |
|
|
|