Skip to content
ReferenceTestnet: yesMainnet: Not availableSoftware: Core bad4a06ea · protocol pqwerai-v8-testnet/1Updated

txpool namespace

Transaction-pool inspection (node-local view of pending and queued transactions).

4 public methods. Operator, disabled and unsupported methods of this namespace are listed in Operator interfaces. $RPC is your node URL (see quickstart).

Method Access Summary
txpool_content Public · read-only Returns the transactions contained within the transaction pool.
txpool_contentFrom Public · read-only Returns the transactions contained within the transaction pool.
txpool_inspect Public · read-only Retrieves the content of the transaction pool and flattens it into an easily inspectable list.
txpool_status Public · read-only Returns the number of pending and queued transaction in the pool.

txpool_content

Returns the transactions contained within the transaction pool.

Access Public · read-only
Network testnet 20778 (local node or approved endpoint); mainnet not available
Authentication none on loopback; bearer token when the node binds a non-loopback address; public proxies rate-limit per IP
Minimum software protocol pqwerai-v8-testnet/1
Verified source core/source/internal/ethapi/api.go:176 at Core bad4a06ea; registered on live CoreGeth/linux-amd64/go1.26.8
Returns map[string]map[string]map[string]*RPCTransaction

Behaviour on PQWERAI

Read-only but describes this node's local configuration or mempool; results differ per node.

Parameters: none

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "txpool_content",
  "params": []
}
curl -s -H 'content-type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "txpool_content", "params": []}' \
  "$RPC"

Recorded 2026-11-28T06:02:45+00:00 at head 3396 on a public testnet, chain 20778. Long arrays are truncated.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "pending": {
      "0x4014d3651e6AC0107720cF74c3062053787912E0": {
        "197": {
          "blockHash": null,
          "blockNumber": null,
          "from": "0x4014d3651e6ac0107720cf74c3062053787912e0",
          "gas": "0x3b978",
          "gasPrice": "0x3b9aca0e",
          "maxFeePerGas": "0x3b9aca0e",
          "maxPriorityFeePerGas": "0x3b9aca00",
          "hash": "0x664e0096501b674bab60c46e6f8ea97581d7f3c5ed82d505d71f45c7a342707d",
          "input": "0xf9032f8f505141492d4646472d504152542d31f9031cf8af01a0000000000000000000000000000000000000000000000000000000000000512aa0e7c4163551...(+1508 hex chars)",
          "nonce": "0xc5",
          "to": "0x08a60aa7959381fa8089f4db1d359107e243a59f",
          "transactionIndex": null,
          "value": "0x0",
          "type": "0x2",
          "accessList": [],
          "chainId": "0x512a",
          "v": "0x1",
          "r": "0x54fa52a4e3a11b74df1b3b862c26b6f6e4238c5cbe6337986014aa66006fea3f",
          "s": "0x349fd223d751f78e6c531a525b86aed61e9cd93ab289c5ed667c365a1f7e7a4e",
          "yParity": "0x1"
        }
      }
    },
    "queued": {}
  }
}

Errors and edge cases

  • -32602 invalid or missing parameter (e.g. missing value for required argument 0).
  • -32000 execution or validation error with a message from the node.

txpool_contentFrom

Returns the transactions contained within the transaction pool.

Access Public · read-only
Network testnet 20778 (local node or approved endpoint); mainnet not available
Authentication none on loopback; bearer token when the node binds a non-loopback address; public proxies rate-limit per IP
Minimum software protocol pqwerai-v8-testnet/1
Verified source core/source/internal/ethapi/api.go:203 at Core bad4a06ea; registered on live CoreGeth/linux-amd64/go1.26.8
Returns map[string]map[string]*RPCTransaction

Behaviour on PQWERAI

Read-only but describes this node's local configuration or mempool; results differ per node.

Parameters

# Name Type Required Description
0 addr address yes 20-byte hex address, 0x-prefixed
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "txpool_contentFrom",
  "params": [
    "0x4014d3651e6ac0107720cf74c3062053787912e0"
  ]
}
curl -s -H 'content-type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "txpool_contentFrom", "params": ["0x4014d3651e6ac0107720cf74c3062053787912e0"]}' \
  "$RPC"

Recorded 2026-11-28T06:02:45+00:00 at head 3396 on a public testnet, chain 20778. Long arrays are truncated.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "pending": {
      "197": {
        "blockHash": null,
        "blockNumber": null,
        "from": "0x4014d3651e6ac0107720cf74c3062053787912e0",
        "gas": "0x3b978",
        "gasPrice": "0x3b9aca0e",
        "maxFeePerGas": "0x3b9aca0e",
        "maxPriorityFeePerGas": "0x3b9aca00",
        "hash": "0x664e0096501b674bab60c46e6f8ea97581d7f3c5ed82d505d71f45c7a342707d",
        "input": "0xf9032f8f505141492d4646472d504152542d31f9031cf8af01a0000000000000000000000000000000000000000000000000000000000000512aa0e7c4163551...(+1508 hex chars)",
        "nonce": "0xc5",
        "to": "0x08a60aa7959381fa8089f4db1d359107e243a59f",
        "transactionIndex": null,
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x512a",
        "v": "0x1",
        "r": "0x54fa52a4e3a11b74df1b3b862c26b6f6e4238c5cbe6337986014aa66006fea3f",
        "s": "0x349fd223d751f78e6c531a525b86aed61e9cd93ab289c5ed667c365a1f7e7a4e",
        "yParity": "0x1"
      }
    },
    "queued": {}
  }
}

Errors and edge cases

  • -32602 invalid or missing parameter (e.g. missing value for required argument 0).
  • -32000 execution or validation error with a message from the node.

txpool_inspect

Retrieves the content of the transaction pool and flattens it into an easily inspectable list.

Access Public · read-only
Network testnet 20778 (local node or approved endpoint); mainnet not available
Authentication none on loopback; bearer token when the node binds a non-loopback address; public proxies rate-limit per IP
Minimum software protocol pqwerai-v8-testnet/1
Verified source core/source/internal/ethapi/api.go:236 at Core bad4a06ea; registered on live CoreGeth/linux-amd64/go1.26.8
Returns map[string]map[string]map[string]string

Behaviour on PQWERAI

Read-only but describes this node's local configuration or mempool; results differ per node.

Parameters: none

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "txpool_inspect",
  "params": []
}
curl -s -H 'content-type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "txpool_inspect", "params": []}' \
  "$RPC"

Recorded 2026-11-28T06:02:45+00:00 at head 3396 on a public testnet, chain 20778. Long arrays are truncated.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "pending": {
      "0x4014d3651e6AC0107720cF74c3062053787912E0": {
        "197": "0x08a60aa7959381FA8089f4db1d359107E243A59F: 0 wei + 244088 gas \u00d7 1000000014 wei"
      }
    },
    "queued": {}
  }
}

Errors and edge cases

  • -32602 invalid or missing parameter (e.g. missing value for required argument 0).
  • -32000 execution or validation error with a message from the node.

txpool_status

Returns the number of pending and queued transaction in the pool.

Access Public · read-only
Network testnet 20778 (local node or approved endpoint); mainnet not available
Authentication none on loopback; bearer token when the node binds a non-loopback address; public proxies rate-limit per IP
Minimum software protocol pqwerai-v8-testnet/1
Verified source core/source/internal/ethapi/api.go:226 at Core bad4a06ea; registered on live CoreGeth/linux-amd64/go1.26.8
Returns map[string]hexutil.Uint

Behaviour on PQWERAI

Read-only but describes this node's local configuration or mempool; results differ per node.

Parameters: none

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "txpool_status",
  "params": []
}
curl -s -H 'content-type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "txpool_status", "params": []}' \
  "$RPC"

Recorded 2026-11-28T06:02:45+00:00 at head 3396 on a public testnet, chain 20778. Long arrays are truncated.

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

Errors and edge cases

  • -32602 invalid or missing parameter (e.g. missing value for required argument 0).
  • -32000 execution or validation error with a message from the node.


Sources at 83ff5b69f0 (project repository, not public yet): core/source/internal/ethapi/api.go

Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0