txpool_inspect
BNB Smart Chain / https://triport.io/rpc/bsc
Minimum tier: Free
Last updated:
txpool_inspect returns compact string summaries for pending and queued transactions in the selected BNB Smart Chain node's txpool.
The result is grouped first by sender address and then by nonce. Use it for a human-oriented overview when the full transaction objects from txpool_content are unnecessary.
Unlike txpool_status, this method exposes entries rather than only counts. The view is observational and node-local; Triport does not expose BSC transaction submission.
Parameters
This method takes no parameters.
Returns
| Field | Type |
|---|---|
| inspection | TxPoolInspect |
Examples
curl https://triport.io/rpc/bsc \
-X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <api-key>' \
-d '{"jsonrpc":"2.0","id":1,"method":"txpool_inspect","params":[]}'const res = await fetch("https://triport.io/rpc/bsc", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "txpool_inspect",
"params": []
}),
});
const data = await res.json();import requests
resp = requests.post(
"https://triport.io/rpc/bsc",
headers={"Authorization": "Bearer <api-key>"},
json={"jsonrpc":"2.0","id":1,"method":"txpool_inspect","params":[]},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Chain: BNB Smart Chain.
- Clusters: mainnet.
- Credit cost: 1 per call.
FAQ
- What does txpool_inspect do?
- Return pending and queued transaction summaries.
- How many credits does txpool_inspect cost?
- txpool_inspect costs 1 credit(s) per call on Triport by default.
- Is txpool_inspect available over WebSocket?
- txpool_inspect is an HTTP JSON-RPC method.