Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

net_listening

On Telcoin Network this method always returns true, whether or not the node has any peers. Use net_peerCount to see how many peers the node is connected to.

Parameters

None

Returns

Boolean - true when listening, otherwise false.

Example

Request

curl https://rpc.adiri.tel \
 -X POST \
 -H "Content-Type: application/json" \
 --data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":67}'

Result

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

source