Skip to main content

txpool_contentFrom

Returns an object containing pending and queued transactions from the specified address, grouped by nonce. This is a filtered version of txpool_content.

Returns the transactions in the pool from a specific address.

Parameters (by position)

address string required


Result

Transaction pool content from address object

Pending and queued transactions from a specific address, grouped by nonce.


Show Transaction pool content from address object

Transaction pool content from address fields

  • pending object required

    Transactions ready for inclusion in the next block(s)


    Show pending object

    pending fields

    Transactions ready for inclusion in the next block(s)

  • queued object required

    Transactions with nonce gaps awaiting preceding transactions before they can be executed


    Show queued object

    queued fields

    Transactions with nonce gaps awaiting preceding transactions before they can be executed

  • additionalProperties true


Examples

txpool_contentFrom example

Request

{
"params": [
"0x0216d5032f356960cd3749c31ab34eeff21b3395"
]
}

Response

{
"pending": {
"806": {
"blockHash": null,
"blockNumber": null,
"from": "0x0216d5032f356960cd3749c31ab34eeff21b3395",
"gas": "0x5208",
"gasPrice": "0xba43b7400",
"hash": "0xaf953a2d01f55cfe080c0c94150a60105e8ac3d51153058a1f03dd239dd08586",
"input": "0x",
"nonce": "0x326",
"to": "0x7f69a91a3cf4be60020fb58b893b7cbb65376db8",
"transactionIndex": null,
"value": "0x19a99f0cf456000"
}
},
"queued": {}
}