Parameters
Returns
- objectobject
The list of pending and queued transactions grouped by sender address and nonce
- pendingobject
The map of sender address to a map of nonce → pending transaction summary string
- <address>object
Sender address (20-byte hex) keyed to that account's pending transactions
- <nonce>string
Textual summary of the pending transaction. Standard transfers use
{to}: {value} wei + {gas} gas × {gasPrice} wei, where{to}is a 20-byte address,{value}is the transfer amount in wei,{gas}is the gas limit, and{gasPrice}is the gas price in wei. Contract-creation transactions use the prefixcontract creation:instead of{to}. Example:0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359: 0 wei + 118518 gas × 401742191487 wei.
- queuedobject
The map of sender address to a map of nonce → queued transaction summary string
- <address>object
Sender address (20-byte hex) keyed to that account's queued transactions
- <nonce>string
Textual summary of the queued transaction. Standard transfers use
{to}: {value} wei + {gas} gas × {gasPrice} wei, where{to}is a 20-byte address,{value}is the transfer amount in wei,{gas}is the gas limit, and{gasPrice}is the gas price in wei. Contract-creation transactions use the prefixcontract creation:instead of{to}. Example:contract creation: 6552000000000000 wei + 100000 gas × 80000000000 wei.
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"pending": {6"0x26625C44EAAC78CE21e0e273fB9a2181749F962f": {7"34": "contract creation: 0 wei + 1750000 gas × 297977908287 wei"8},9"0x00fF98B4A9931D3861C956d0036e71c5DCD8CD47": {10"7": "0x2E5269B9eA393EAE90F15E87D06D10547e4Df87e: 4797736717621136 wei + 21000 gas × 65327307577 wei"11},12"0x0140bFe0bFfbF4D94aAC007938e70181eBAfD69E": {13"304": "0x12eA5a857b318388BEB48249A85cA5a926470548: 0 wei + 207766 gas × 41000000000 wei"14}15},16"queued": {17"0xfcf1BD2768288d7D572B3Bf9CE7c26d9b6308888": {18"118244": "0x63F23D880c2dc51B29Fd95C5F5559C21b5240356: 17000000000 wei + 21118 gas × 78796820948 wei"19}20}21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"pending": {6"0x26625C44EAAC78CE21e0e273fB9a2181749F962f": {7"34": "contract creation: 0 wei + 1750000 gas × 297977908287 wei"8},9"0x00fF98B4A9931D3861C956d0036e71c5DCD8CD47": {10"7": "0x2E5269B9eA393EAE90F15E87D06D10547e4Df87e: 4797736717621136 wei + 21000 gas × 65327307577 wei"11},12"0x0140bFe0bFfbF4D94aAC007938e70181eBAfD69E": {13"304": "0x12eA5a857b318388BEB48249A85cA5a926470548: 0 wei + 207766 gas × 41000000000 wei"14}15},16"queued": {17"0xfcf1BD2768288d7D572B3Bf9CE7c26d9b6308888": {18"118244": "0x63F23D880c2dc51B29Fd95C5F5559C21b5240356: 17000000000 wei + 21118 gas × 78796820948 wei"19}20}21}22}