English
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.
Show child attributes
The amount of pending transactions in the txpool.
The amount of queued transactions in the txpool.
{ "pending": "0x15", "queued": "0x2" }
Was this page helpful?