curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "1.0",
"method": "listbanned",
"params": "<unknown>",
"id": 1
}
'{
"result": [
{
"address": "<string>",
"banned_until": 123,
"ban_created": 123,
"ban_reason": "<string>"
}
],
"error": {},
"id": 123
}curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "1.0",
"method": "listbanned",
"params": "<unknown>",
"id": 1
}
'{
"result": [
{
"address": "<string>",
"banned_until": 123,
"ban_created": 123,
"ban_reason": "<string>"
}
],
"error": {},
"id": 123
}listbanned method retrieves a list of all IP addresses and subnets that have been banned from connecting to the node. This can be useful for monitoring and managing network security.
result — an array of objects, each representing a banned IP address or subnet, along with details such as when the ban was created, when it will be lifted, and the reason for the ban.error — an object containing an error message if an error occurred, otherwise null.id — an integer representing the ID of the request.listbanned method is particularly useful for node operators looking to review and manage the list of banned IP addresses or subnets, ensuring the security and integrity of their node’s connections.Was this page helpful?