BNB Smart Chain
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
BNB Smart Chain
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
BNB Smart Chain operates as chain ID 56 and meters gas in BNB, and eth_newPendingTransactionFilter lets you observe its mempool as transactions queue up ahead of the next ~3-second PoSA block. Directed at https://bsc.therpc.io/YOUR_API_KEY, it creates a server-side filter for incoming pending transactions and returns a hex filter ID. Poll that ID with eth_getFilterChanges and the node hands back the hashes of pending transactions it has seen since your last poll, giving polling clients a mempool feed without keeping a WebSocket open to BNB Smart Chain.
Diese Methode erwartet keine Parameter. Übergib ein leeres Array [].
| Typ | Beschreibung |
|---|---|
| string | Hex filter ID. When polled with eth_getFilterChanges, yields an array of new pending transaction hashes since the last poll. |
Try it live in the BNB Smart Chain playground.
| Code | Meldung | Ursache |
|---|---|---|
-32000 | filter not found | Provider rejected filter creation or the filter limit was reached. |
eth_getTransactionByHash when you need sender, value, or calldata.eth_subscribe newPendingTransactions stream over WebSocket.