← Arbitrum One overview
Arbitrum One · txpool
txpool_contentFrom
Returns the transactions in the pool from a specific address.
Returns an object containing pending and queued transactions from the specified address, grouped by nonce. This is a filtered version of txpool_content.
Parameters
addressrequiredSchema{ "type": "string", "title": "hex encoded address", "pattern": "^0x[0-9a-fA-F]{40}$" }
Result
Transaction pool content from address
Schema
{
"type": "object",
"title": "Transaction pool content from address",
"description": "Pending and queued transactions from a specific address, grouped by nonce.",
"properties": {
"pending": {
"type": "object",
"title": "pending transactions",
"description": "Transactions ready for inclusion in the next block(s)"
},
"queued": {
"type": "object",
"title": "queued transactions",
"description": "Transactions with nonce gaps awaiting preceding transactions before they can be executed"
}
},
"required": [
"pending",
"queued"
]
}Example request
Endpoint: https://your-arb-node.azxa.io
JSON-RPC
{
"jsonrpc": "2.0",
"id": 1,
"method": "txpool_contentFrom",
"params": [
"0x0216d5032f356960cd3749c31ab34eeff21b3395"
]
}Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"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": {}
}
}Test fixture
Fixture: get-content-from-address
Request
{
"jsonrpc": "2.0",
"id": 1,
"method": "txpool_contentFrom",
"params": [
"0x0000000000000000000000000000000000000000"
]
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"pending": {},
"queued": {}
}
}cURL
curl -X POST https://your-arb-node.azxa.io \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"txpool_contentFrom","params":["0x0216d5032f356960cd3749c31ab34eeff21b3395"]}'