BNB Smart Chain
¿Listo para usar esto en producción?
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
BNB Smart Chain
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
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 no acepta parámetros. Pasa un array vacío [].
| Tipo | Descripción |
|---|---|
| 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 | Mensaje | 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.