BNB Smart Chain
BNB Smart Chain
BNB Smart Chain
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
PancakeSwap swaps and Venus lending keep BEP-20 log volume high on BNB Smart Chain, the BNB-fee network. Every filter you open with eth_newFilter, eth_newBlockFilter, or eth_newPendingTransactionFilter reserves polling state inside the node. eth_uninstallFilter tears that state back down. Hand it the hex filter ID and the node deletes the matching subscription, releasing whatever it was holding. Send the request to https://bsc.therpc.io/YOUR_API_KEY on chain ID 56. The same call handles all three filter types, and it returns a boolean that tells you whether a live filter actually carried that ID.
| # | 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|---|
| 1 | filterId | string | 是 | The hex filter ID to remove. |
| 类型 | 描述 |
|---|---|
| boolean | `true` if the filter was found and removed. `false` if it did not exist (already expired or never created). |
Try it live in the BNB Smart Chain playground.
| 错误码 | 错误信息 | 原因 |
|---|---|---|
-32602 | invalid argument | The filter ID is not a valid hex string. |
false result is not a failure. It means no live filter carried that ID, usually because the filter already lapsed on its own. Treat it as an idempotent confirmation rather than an error.参数
The hex filter ID to remove.