txpool
txpool_status
Returns the number of transactions currently pending and queued in the transaction pool.
Returns the number of transactions currently pending and queued in the transaction pool.
Parameters
| # | Type | Description |
|---|---|---|
| — | — | No parameters required. |
Returns
| Field | Type | Description |
|---|---|---|
pending | string | Hex-encoded count of transactions ready to be included in the next block. |
queued | string | Hex-encoded count of transactions not yet ready (e.g., nonce gaps). |
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "txpool_status",
"params": [],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"pending": "0x33",
"queued": "0x30e0"
}
}
TRY IT
Notes
- Values are hex-encoded. In the example above,
"0x33"= 51 pending and"0x30e0"= 12512 queued. - A large queued count is normal and indicates transactions with future nonces or insufficient gas prices.
- This is a lightweight call compared to
txpool_contentortxpool_inspect.
web3_sha3
Returns the Keccak-256 hash of the given data. This is the hashing algorithm used throughout Ethereum and PulseChain (often referred to as SHA3).
txpool_content
Returns the full contents of the transaction pool, grouped by sender address and nonce. Includes complete transaction objects for both pending and queued transactions.
