Skip to content

Commit

Permalink
fix: remove net_getPeerCount method
Browse files Browse the repository at this point in the history
  • Loading branch information
idea404 committed Aug 3, 2023
1 parent bd26cd0 commit cef15a1
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions SUPPORTED_APIS.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,27 +242,3 @@ curl --request POST \
--header 'content-type: application/json' \
--data '{"jsonrpc": "2.0","id": "1","method": "net_listening","params": []}'
```

### `net_getPeerCount`

[source](src/network_api.rs)

Returns the number of connected peers

#### Arguments

+ _NONE_

#### Status

`SUPPORTED`

#### Example

```bash
curl --request POST \
--url http://localhost:8011/ \
--header 'content-type: application/json' \
--data '{"jsonrpc": "2.0","id": "1","method": "net_getPeerCount","params": []}'
```

0 comments on commit cef15a1

Please sign in to comment.