⚡ We welcome businesses to test our enterprise-grade service

/

Nervos Network (CKB)

ckb
Nervos Network (CKB)

Method: POST get_raw_tx_pool

dropdown

方法 RPC get_raw_tx_pool 例如 Nervos Network (CKB)

POST get_raw_tx_pool

Method not allowed

将TX池中的所有事务ID返回,作为字符串事务ID的JSON数组。

Parameters

verbose - 布尔

对于JSON对象,false fors for Transaction ID,默认值= false

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


Response

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