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 objectblockHash
: string (hash)blockNumber
: string (hex integer)hash
: string (hash)transactionIndex
: string (hex integer)type
: integerqueued
: map of map of object map of objectblockHash
: string (hash)blockNumber
: string (hex integer)hash
: string (hash)transactionIndex
: string (hex integer)type
: 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)