...
!!! example
This example shows how to use the `net_listening` RPC method.
```bash=== tab="curl HTTP request"
```bash
$ curl -X POST --data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":53}' <JSON-RPC-http-endpoint:port>
```
```bash=== tab="wscat WS request"
```bash
{"jsonrpc":"2.0","method":"net_listening","params":[],"id":53}
```
```json=== tab="JSON result"
{
"```json
{
"jsonrpc" : "2.0",
"id" : 53,
"result" : true
}
```
Footnotes
The Footnotes extension enables adding footnotes.
...
For example, to group the usage syntax and a usage example in the same block with tabs:
```bash
...
tab="Syntax"
$
...
besu
...
rlp
...
encode
...
[--from=<FILE>]
...
[--to=<FILE>]
...
[--type=<type>]
```
```bash
...
tab="File
...
Example"
$
...
besu
...
rlp
...
encode
...
--from=ibft_extra_data.json
...
--to=extra_data_for_ibft_genesis.txt
...
--type=IBFT_EXTRA_DATA
```
```bash
...
tab="Standard
...
Input/Output
...
Example"
$
...
cat
...
extra_data.json
...
|
...
besu
...
rlp
...
encode
...
>
...
rlp.txt
```
...
Line
...
Numbers
...
On
...
Long
...
Code
...
Samples
[SuperFences]
...
can
...
also
...
add
...
[line
...
numbers](https://facelessuser.github.io/pymdown-extensions/extensions/superfences/#showing-line-numbers)
to
...
the
...
code
...
sample
...
which
...
makes
...
it
...
easier
...
when
...
discussing
...
the
...
code
...
the
...
sample.
The
...
line
...
numbers
...
will
...
only
...
appear
...
on
...
the
...
code
...
block
...
that
...
uses
...
the
...
`linenums="1"`
...
parameter.
Example:
````markdown
```javascript linenums="1"
// A very long javascript sample code
```
Code Syntax Highlight
Codehilite extension enables automatic syntax highlighting of code blocks. Define the language after the code block delimiter to ensure correct highlighting. If you don't provide the language name, the extension attempts to automatically discover it but this can lead to errors.
...