Updated on 2024-11-14 GMT+08:00

net_listening

Introduction

This API returns if the client is listening for network connections. It consumes 1 CU.

Parameter Description

This method does not accept any parameters.

Return Value

If the client is listening for network connections.

Request

curl https://your-http-endpoint/v1/<API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"net_listening","params": [], "id":1}'