net_listening - Manta RPC Method
Check if node is listening for connections on Manta Pacific.
Returns true if client is actively listening for network connections on Manta Pacific.
Request Parameters
This method accepts no parameters.
Response Body
true if listening
Code Examples
curl -X POST https://api-manta-pacific-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "net_listening",
"params": [],
"id": 1
}'import { JsonRpcProvider } from 'ethers';
const provider = new JsonRpcProvider('https://api-manta-pacific-archive.n.dwellir.com/YOUR_API_KEY');
const listening = await provider.send('net_listening', []);
console.log('Node listening:', listening);Related Methods
net_peerCount- Get peer count