BNB Smart Chain
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
BNB Smart Chain
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
When BNB-funded transactions pile up on BNB Smart Chain during a busy PancakeSwap window, txpool_inspect lets you peer straight into the node's mempool. It belongs to the geth-family txpool namespace and returns a human-readable text summary of every pending and queued transaction the node is holding, organised first by sender address and then by nonce. Each entry collapses to a one-line string that names the recipient alongside the BNB value and gas terms. Call it at https://bsc.therpc.io/YOUR_API_KEY on chain ID 56 for an at-a-glance read on what is waiting to be mined versus what sits parked behind a nonce gap.
Este método não aceita parâmetros. Passe um array vazio [].
| Tipo | Descrição |
|---|---|
| object | Object with `pending` and `queued` keys. Each is a map of sender address → nonce → human-readable string `"<to>: <value> wei + <gas> gas × <gasPrice> wei"`. |
Try it live in the BNB Smart Chain playground.
| Código | Mensagem | Causa |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace (e.g. non-Geth clients may omit it). |
txpool namespace, so nodes built on other client lineages may not expose it and will reject the call as unknown.txpool_content when you need structured, full transaction objects in code.txpool_status when all you want is a lightweight pending-versus-queued count.