📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

/

Nervos Network (CKB)

ckb
Nervos Network (CKB)

Method: POST clear_tx_pool

dropdown

方法 RPC clear_tx_pool 例如 Nervos Network (CKB)

POST clear_tx_pool

Method not allowed

从交易库中删除所有交易。

Parameters

-

Request

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": "clear_tx_pool",
"params": [],
"id": "getblock.io"}'


Response

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