txpool
The txpool namespace provides RPC endpoints for inspecting and managing the node's transaction pool. These endpoints enable you to view pending and queued transactions, as well as check the current status of the transaction pool, ensuring you have full visibility into the transaction processing state.
txpool_content
Description: Returns a detailed object containing all transactions in the pool, separated into two categories: "pending" (transactions that are ready to be included in a block) and "queued" (transactions waiting for a nonce gap to be filled).
Sample Request:
Expected Response:
Parameters: None.
txpool_inspect
Description: Returns a human‑readable summary of the transaction pool, listing transactions under both "pending" and "queued" categories in a concise format.
Sample Request:
Expected Response:
Parameters: None.
txpool_status
Description: Returns a quick overview of the transaction pool, including the total count of pending and queued transactions.
Sample Request:
Expected Response:
Parameters: None.
txpool_contentFrom
Description: Returns a filtered view of the transaction pool content, limited to transactions associated with a specific account or criteria.
Sample Request:
Expected Response:
Parameters:
filterKey (string): The account address or key to filter transactions by.
txpool_getContent
Description: Retrieves the full content of the transaction pool (pending and queued transactions). This endpoint is equivalent to txpool_content.
Sample Request:
Expected Response: Same as txpool_content.
Parameters: None.
txpool_getInspect
Description: Retrieves the human‑readable inspection view of the transaction pool. This endpoint is equivalent to txpool_inspect.
Sample Request:
Expected Response: Same as txpool_inspect.
Parameters: None.
txpool_getStatus
Description: Retrieves the status of the transaction pool, including the count of pending and queued transactions. This endpoint is equivalent to txpool_status.
Sample Request:
Expected Response: Same as txpool_status.
Parameters: None.
Last updated