简体中文
cURL
curl --request POST \ --url https://rpc.quai.network/cyprus1/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "txpool_status", "params": [], "id": 1 }'
{ "jsonrpc": "2.0", "result": { "pending": "0x15", "queued": "0x2" }, "id": 1 }
Returns the current size of the transaction pool.
2.0
"2.0"
The name of the method to be invoked.
txpool_status
"txpool_status"
txpool_status does not require any params.
[]
A unique identifier for the request.
1
Successful response
The current size of the transaction pool sorted by status.
显示 子属性
{ "pending": "0x15", "queued": "0x2" }
此页面对您有帮助吗?