txpool_status

描述:返回交易池的状态

parameter

return

数据类型 备注
Object 被挂起(pending)和进入队列(queued)交易状态

example

Request:

curl -X POST \
http://127.0.0.1:8283 \
-H 'Content-Type: application/json' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "txpool_status", "params": []}'

Response:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "pending": "0x0",
        "queued": "0x0"
    }   
}