Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
This method does not accept parameters.
Returns
Summary of transaction counts in the txpool.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=42220 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "txpool_status",
"params": [
null
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Returns the number of transactions in the pending and queued state in the txpool. Supported only on Geth clients.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=42220 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "txpool_status",
"params": [
null
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?