Parameters
Returns
- objectobject
The list of pending and queued transactions grouped by address and nonce
- pendingobject
The map of sender address to a map of nonce → pending transaction object
- <address>object
The map keyed by hexadecimal nonce for this address
- <nonce>object
The pending transaction object for this nonce
- blockHashstring | null
(Optional) The hash of the block where this transaction was included; null for pending
- blockNumberstring | null
(Optional) The block number encoded as hexadecimal; null for pending
- fromstring
The address of the sender
- gasstring
The gas limit for the transaction encoded as hexadecimal
- gasPricestring
(Optional) The legacy gas price in wei encoded as hexadecimal (present for legacy/type 0 transactions)
- hashstring
The hash of the transaction
- inputstring
The transaction input data encoded as hexadecimal
- noncestring
The nonce of the sender encoded as hexadecimal
- tostring | null
(Optional) The address of the receiver; null for contract creation
- transactionIndexstring | null
(Optional) The index of the transaction within the block encoded as hexadecimal; null for pending
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type encoded as hexadecimal (e.g., 0x0, 0x1, 0x2)
- vstring
The ECDSA recovery id encoded as hexadecimal
- rstring
The ECDSA signature r encoded as hexadecimal
- sstring
The ECDSA signature s encoded as hexadecimal
- queuedobject
The map of sender address to a map of nonce → queued transaction object
- <address>object
The map keyed by hexadecimal nonce for this address
- <nonce>object
The queued transaction object for this nonce
- blockHashstring | null
(Optional) The hash of the block where this transaction was included; null for queued
- blockNumberstring | null
(Optional) The block number encoded as hexadecimal; null for queued
- fromstring
The address of the sender
- gasstring
The gas limit for the transaction encoded as hexadecimal
- gasPricestring
(Optional) The legacy gas price in wei encoded as hexadecimal (may be absent for EIP-1559 transactions)
- maxFeePerGasstring
(Optional) The maximum total fee per gas (EIP-1559) encoded as hexadecimal
- maxPriorityFeePerGasstring
(Optional) The maximum priority fee per gas (tip, EIP-1559) encoded as hexadecimal
- hashstring
The hash of the transaction
- inputstring
The transaction input data encoded as hexadecimal
- noncestring
The nonce of the sender encoded as hexadecimal
- tostring | null
(Optional) The address of the receiver; null for contract creation
- transactionIndexstring | null
(Optional) The index of the transaction within the block encoded as hexadecimal; null for queued
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type encoded as hexadecimal (e.g., 0x2 for EIP-1559)
- accessListarray
(Optional) The access list (EIP-2930/1559) as an array of address/storage key pairs; empty array if not used
- chainIdstring
(Optional) The chain ID encoded as hexadecimal
- vstring
The ECDSA recovery id encoded as hexadecimal
- rstring
The ECDSA signature r encoded as hexadecimal
- sstring
The ECDSA signature s encoded as hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"pending": {6"0x337E0D94a2f96B0923B0892a4Dff37f46DC3C2A3": {7"5690": {8"blockHash": null,9"blockNumber": null,10"from": "0x337e0d94a2f96b0923b0892a4dff37f46dc3c2a3",11"gas": "0x5208",12"gasPrice": "0x117a6a",13"hash": "0x661beca9097e9f714f930671c78a438f26abf3e6c6f7ab35bbe7e70918d8125d",14"input": "0x",15"nonce": "0x163a",16"to": "0x0c1e20f465e87172cd3ce4a028868ae33ffdba02",17"transactionIndex": null,18"value": "0x27a7807",19"type": "0x0",20"v": "0x1628",21"r": "0xf1028324c95adf91ece4a69d0fb2206b45e81e2a982bde2e1ef66b504ac242d9",22"s": "0x5c8a26628095299a2b4eee5133218ae465eb5701f10b8dd807a21de4068a5e08"23}24}25},26"queued": {}27}28}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"pending": {6"0x337E0D94a2f96B0923B0892a4Dff37f46DC3C2A3": {7"5690": {8"blockHash": null,9"blockNumber": null,10"from": "0x337e0d94a2f96b0923b0892a4dff37f46dc3c2a3",11"gas": "0x5208",12"gasPrice": "0x117a6a",13"hash": "0x661beca9097e9f714f930671c78a438f26abf3e6c6f7ab35bbe7e70918d8125d",14"input": "0x",15"nonce": "0x163a",16"to": "0x0c1e20f465e87172cd3ce4a028868ae33ffdba02",17"transactionIndex": null,18"value": "0x27a7807",19"type": "0x0",20"v": "0x1628",21"r": "0xf1028324c95adf91ece4a69d0fb2206b45e81e2a982bde2e1ef66b504ac242d9",22"s": "0x5c8a26628095299a2b4eee5133218ae465eb5701f10b8dd807a21de4068a5e08"23}24}25},26"queued": {}27}28}