Modules: txpool

txpool_content

Content returns the transactions contained within the transaction pool.

Params (0)

None

Result

mapstringmapstringmapstringRPCTransaction map[string]map[string]map[string]*RPCTransaction

  • Required: ✓ Yes

=== "Schema"

``` Schema

- patternProperties: 
	- .*: 
		- patternProperties: 
			- .*: 
				- patternProperties: 
					- .*: 
						- additionalProperties: `false`
						- properties: 
							- accessList: 
								- items: 
									- additionalProperties: `false`
									- properties: 
										- address: 
											- pattern: `^0x[a-fA-F\d]{64}$`
											- title: `keccak`
											- type: `string`

										- storageKeys: 
											- items: 
												- description: `Hex representation of a Keccak 256 hash`
												- pattern: `^0x[a-fA-F\d]{64}$`
												- title: `keccak`
												- type: `string`

											- type: `array`


									- type: `object`

								- type: `array`

							- blockHash: 
								- pattern: `^0x[a-fA-F\d]{64}$`
								- title: `keccak`
								- type: `string`

							- blockNumber: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- chainId: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- from: 
								- pattern: `^0x[a-fA-F\d]{64}$`
								- title: `keccak`
								- type: `string`

							- gas: 
								- pattern: `^0x([a-fA-F\d])+$`
								- title: `uint64`
								- type: `string`

							- gasPrice: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- hash: 
								- pattern: `^0x[a-fA-F\d]{64}$`
								- title: `keccak`
								- type: `string`

							- input: 
								- pattern: `^0x([a-fA-F\d])+$`
								- title: `dataWord`
								- type: `string`

							- maxFeePerGas: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- maxPriorityFeePerGas: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- nonce: 
								- pattern: `^0x([a-fA-F\d])+$`
								- title: `uint64`
								- type: `string`

							- r: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- s: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- to: 
								- pattern: `^0x[a-fA-F\d]{64}$`
								- title: `keccak`
								- type: `string`

							- transactionIndex: 
								- pattern: `^0x([a-fA-F\d])+$`
								- title: `uint64`
								- type: `string`

							- type: 
								- pattern: `^0x([a-fA-F\d])+$`
								- title: `uint64`
								- type: `string`

							- v: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- value: 
								- pattern: `^0x[a-fA-F0-9]+$`
								- title: `integer`
								- type: `string`

							- yParity: 
								- pattern: `^0x([a-fA-F\d])+$`
								- title: `uint64`
								- type: `string`


						- type: `object`


				- type: `object`


		- type: `object`


- type: object


```

=== "Raw"

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


txpool_contentFrom

ContentFrom returns the transactions contained within the transaction pool.

Params (1)

Parameters must be given by position.

1: addr common.Address

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Result

mapstringmapstringRPCTransaction map[string]map[string]*RPCTransaction

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


txpool_inspect

Inspect retrieves the content of the transaction pool and flattens it into an easily inspectable list.

Params (0)

None

Result

mapstringmapstringmapstringstring map[string]map[string]map[string]string

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"


txpool_status

Status returns the number of pending and queued transaction in the pool.

Params (0)

None

Result

mapstringhexutilUint map[string]hexutil.Uint

  • Required: ✓ Yes

=== "Schema"

=== "Raw"

Client Method Invocation Examples

=== "Shell HTTP"

=== "Shell WebSocket"

=== "Javascript Console"

Last updated