curl --request POST \
--url https://nd-422-757-666.p2pify.com/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockHashAndIndex",
"params": [
"0xe5154e40a873257082e257c405d28bf2cc58d80629cc5468d2f7e6dba3c4e7db",
"0x3D"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}curl --request POST \
--url https://nd-422-757-666.p2pify.com/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockHashAndIndex",
"params": [
"0xe5154e40a873257082e257c405d28bf2cc58d80629cc5468d2f7e6dba3c4e7db",
"0x3D"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}Monad API method that returnsDocumentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
true if the client is actively listening for network connections. This method is useful for checking the node’s network connectivity status.
noneresult — true if the client is listening for connections, false otherwise.net_listening code examplesconst { ethers } = require("ethers");
const provider = new ethers.JsonRpcProvider("CHAINSTACK_NODE_URL");
async function checkListening() {
const isListening = await provider.send("net_listening", []);
console.log(`Node is listening: ${isListening}`);
}
checkListening();
net_listening is implementing health checks in your infrastructure to verify that nodes are properly connected to the network and able to receive peer connections.Was this page helpful?