⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins

Nervos Network (CKB)


Nervos Network (CKB)

Method: POST set_ban



Method not allowed

Inserts or deletes an IP/Subnet from the banned list


address - string

The IP/Subnet with an optional netmask (default is /32 = single IP). Examples: - “” bans a single IP - “” bans IP from “” to “”.

command - string

insert to insert an IP/Subnet to the list, delete to delete an IP/Subnet from the list.

ban_time - timestamp | null

Time in milliseconds how long (or until when if [absolute] is set) the IP is banned, optional parameter, null means using the default time of 24h

absolute - boolean | null

If set, the ban_time must be an absolute timestamp in milliseconds since epoch, optional parameter.

reason - string | null

Ban reason, optional parameter.


curl --location --request POST 'https://ckb.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "set_ban",
"params": [null, null, null, null, null],
"id": "getblock.io"}'


    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"