BNB Smart Chain
BNB Smart Chain
BNB Smart Chain
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
For a lightweight read on how busy BNB Smart Chain is right now, txpool_status is the cheapest probe in the geth-family txpool namespace. Rather than dumping the whole mempool, it returns just two hex-encoded integers: the number of pending transactions ready to be included and the number of queued ones still blocked behind a nonce gap. On this BNB-fee network, where blocks land every few seconds, those two figures track congestion in near real time. Hit https://bsc.therpc.io/YOUR_API_KEY on chain ID 56, decode the pending and queued hex values, and you have an instant gauge of backlog depth.
此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| object | Object with `pending` (hex string) and `queued` (hex string) transaction counts. |
Try it live in the BNB Smart Chain playground.
| 错误码 | 错误信息 | 原因 |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace. |