HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

net_listening

Returns true if the client is actively listening for network connections.

Parameters
None

Returns
Boolean - true when listening, otherwise false.

Example

curl -X POST '47.95.206.44:50545/jsonrpc' --data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":64}'

Result

{"jsonrpc":"2.0","id":64,"result":true}