txpool namespace
txpool_content
Returns tx pool content.
- Request
- Response
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "txpool_content",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
result
: object
pending
: map of map of object map of objectaccessList
: array of objectaddress
: string (address)storageKeys
: array of string (hex integer)
blobVersionedHashes
: array of string (hex data)blockHash
: string (hash)blockNumber
: string (hex integer)chainId
: string (hex integer)data
: string (hex data)from
: string (address)gas
: string (hex integer)gasPrice
: string (hex integer)hash
: string (hash)input
: string (hex data)isSystemTx
: booleanmaxFeePerBlobGas
: string (hex integer)maxFeePerGas
: string (hex integer)maxPriorityFeePerGas
: string (hex integer)mint
: string (hex integer)nonce
: string (hex integer)r
: string (hex integer)s
: string (hex integer)sourceHash
: string (hash)to
: string (address)transactionIndex
: string (hex integer)type
: integerv
: string (hex integer)value
: string (hex integer)yParity
: string (hex integer)queued
: map of map of object map of objectaccessList
: array of objectaddress
: string (address)storageKeys
: array of string (hex integer)
blobVersionedHashes
: array of string (hex data)blockHash
: string (hash)blockNumber
: string (hex integer)chainId
: string (hex integer)data
: string (hex data)from
: string (address)gas
: string (hex integer)gasPrice
: string (hex integer)hash
: string (hash)input
: string (hex data)isSystemTx
: booleanmaxFeePerBlobGas
: string (hex integer)maxFeePerGas
: string (hex integer)maxPriorityFeePerGas
: string (hex integer)mint
: string (hex integer)nonce
: string (hex integer)r
: string (hex integer)s
: string (hex integer)sourceHash
: string (hash)to
: string (address)transactionIndex
: string (hex integer)type
: integerv
: string (hex integer)value
: string (hex integer)yParity
: string (hex integer)
txpool_inspect
Returns a detailed info on tx pool transactions.
- Request
- Response
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "txpool_inspect",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
result
: object
pending
: map of map of stringqueued
: map of map of string
txpool_status
Returns a tx pool status.
- Request
- Response
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "txpool_status",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
result
: object
pending
: string (hex integer)queued
: string (hex integer)