bitcoind.app
CommandsGuidesContact ↗
Home/Network/listbanned
Network

listbanned

List all manually banned IPs/Subnets.

Returns

arrayArray of banned entries

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"listbanned","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

[
  {
    "address": "192.168.0.6/32",
    "ban_created": 1713571767,
    "banned_until": 1714176567
  }
]
← Previous
getpeerinfo
Next →
ping

More Network Commands

addnodeclearbanneddisconnectnodegetaddednodeinfogetconnectioncountgetnettotals

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗