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
The hash of the block where this transaction was in, null here
- blockNumberstring | null
The block number where this transaction was added encoded as a hexadecimal, null here
- fromstring
The address of the sender
- gasstring
The total amount of gas units used in the transaction
- gasPricestring
The total amount in wei the sender is willing to pay for the transaction
- maxFeePerGasstring
The maximum amount of gas willing to be paid for the transaction
- maxPriorityFeePerGasstring
The maximum amount of gas to be included as a tip to the miner
- hashstring
The hash of the transaction
- inputstring
The encoded transaction input data
- noncestring
The number of transactions the sender has sent till now
- tostring | null
The address of the receiver. null when its a contract creation transaction
- transactionIndexstring | null
An integer of the transactions index position in the block encoded as a hexadecimal format, null here
- valuestring
The value transferred in Wei encoded as a hexadecimal format
- typestring
A number between 0 and 0x7f, for a total of 128 possible transaction types
- accessListarray
A list of addresses and storage keys that the transaction plans to access, introduced in EIP-2929
- chainIdstring
It returns a hexadecimal value in string format which represents an integer of the chain ID
- vstring
The ECDSA recovery id encoded as a hexadecimal format
- rstring
The ECDSA signature r
- sstring
The ECDSA signature s
- yParitystring
The yParity field
- 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
The hash of the block where this transaction was in, null here
- blockNumberstring | null
The block number where this transaction was added encoded as a hexadecimal, null here
- fromstring
The address of the sender
- gasstring
The total amount of gas units used in the transaction
- gasPricestring
The total amount in wei the sender is willing to pay for the transaction
- maxFeePerGasstring
The maximum amount of gas willing to be paid for the transaction
- maxPriorityFeePerGasstring
The maximum amount of gas to be included as a tip to the miner
- hashstring
The hash of the transaction
- inputstring
The encoded transaction input data
- noncestring
The number of transactions the sender has sent till now
- tostring | null
The address of the receiver. null when its a contract creation transaction
- transactionIndexstring | null
An integer of the transactions index position in the block encoded as a hexadecimal format, null here
- valuestring
The value transferred in Wei encoded as a hexadecimal format
- typestring
A number between 0 and 0x7f, for a total of 128 possible transaction types
- accessListarray
A list of addresses and storage keys that the transaction plans to access, introduced in EIP-2929
- chainIdstring
It returns a hexadecimal value in string format which represents an integer of the chain ID
- vstring
The ECDSA recovery id encoded as a hexadecimal format
- rstring
The ECDSA signature r
- sstring
The ECDSA signature s
- yParitystring
The yParity field
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"pending": {6"0x00005b0db16a5007056268883A4ab37680C727Fe": {7"5": {8"blockHash": null,9"blockNumber": null,10"from": "0x00005b0db16a5007056268883a4ab37680c727fe",11"gas": "0x5208",12"gasPrice": "0x22ebc",13"maxFeePerGas": "0x22ebc",14"maxPriorityFeePerGas": "0x1d8a8",15"hash": "0x275a748f80f2b72170cc24196402ed5b3bb0ed6a5eaf1d70585eebb66ef848c4",16"input": "0x",17"nonce": "0x5",18"to": "0x00005b0db16a5007056268883a4ab37680c727fe",19"transactionIndex": null,20"value": "0x0",21"type": "0x2",22"accessList": [],23"chainId": "0x5c8",24"v": "0x0",25"r": "0xe3621b15bc7b537006d34741b5f46392a54b540f4502ee844ef1953293a81c69",26"s": "0x7c4a99ef1793654a9a7cf5c1c4a6f0c1b4f52f6e188603c0f51b74c502cee9a3",27"yParity": "0x0"28},29"6": {30"blockHash": null,31"blockNumber": null,32"from": "0x00005b0db16a5007056268883a4ab37680c727fe",33"gas": "0x5208",34"gasPrice": "0xfa14812",35"maxFeePerGas": "0xfa14812",36"maxPriorityFeePerGas": "0xfa14812",37"hash": "0x19d8d4f050a15447b968b6c7f3d7de34b5b4c93801234423f9ee8e645de64398",38"input": "0x",39"nonce": "0x6",40"to": "0x0000712231e12ffc3f412fbbbcf836d8ba6f94b1",41"transactionIndex": null,42"value": "0x11c37937e08000",43"type": "0x2",44"accessList": [],45"chainId": "0x5c8",46"v": "0x1",47"r": "0x3db29e10f115f5dbaaa86f89b33266b300bf95c4ba46b9076d41b38390d78f7",48"s": "0x7723fdf4ac6b47f40952f1fc47c1a55ceb615ce0039ef25ff7c04c4b19cccb0a",49"yParity": "0x1"50}51}52},53"queued": {}54}55}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"pending": {6"0x00005b0db16a5007056268883A4ab37680C727Fe": {7"5": {8"blockHash": null,9"blockNumber": null,10"from": "0x00005b0db16a5007056268883a4ab37680c727fe",11"gas": "0x5208",12"gasPrice": "0x22ebc",13"maxFeePerGas": "0x22ebc",14"maxPriorityFeePerGas": "0x1d8a8",15"hash": "0x275a748f80f2b72170cc24196402ed5b3bb0ed6a5eaf1d70585eebb66ef848c4",16"input": "0x",17"nonce": "0x5",18"to": "0x00005b0db16a5007056268883a4ab37680c727fe",19"transactionIndex": null,20"value": "0x0",21"type": "0x2",22"accessList": [],23"chainId": "0x5c8",24"v": "0x0",25"r": "0xe3621b15bc7b537006d34741b5f46392a54b540f4502ee844ef1953293a81c69",26"s": "0x7c4a99ef1793654a9a7cf5c1c4a6f0c1b4f52f6e188603c0f51b74c502cee9a3",27"yParity": "0x0"28},29"6": {30"blockHash": null,31"blockNumber": null,32"from": "0x00005b0db16a5007056268883a4ab37680c727fe",33"gas": "0x5208",34"gasPrice": "0xfa14812",35"maxFeePerGas": "0xfa14812",36"maxPriorityFeePerGas": "0xfa14812",37"hash": "0x19d8d4f050a15447b968b6c7f3d7de34b5b4c93801234423f9ee8e645de64398",38"input": "0x",39"nonce": "0x6",40"to": "0x0000712231e12ffc3f412fbbbcf836d8ba6f94b1",41"transactionIndex": null,42"value": "0x11c37937e08000",43"type": "0x2",44"accessList": [],45"chainId": "0x5c8",46"v": "0x1",47"r": "0x3db29e10f115f5dbaaa86f89b33266b300bf95c4ba46b9076d41b38390d78f7",48"s": "0x7723fdf4ac6b47f40952f1fc47c1a55ceb615ce0039ef25ff7c04c4b19cccb0a",49"yParity": "0x1"50}51}52},53"queued": {}54}55}