Avalanche
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Avalanche
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
eth_newPendingTransactionFilter creates a server-side filter on the Avalanche C-Chain (chain ID 43114, gas paid in AVAX) that captures transactions entering the node's mempool before they are mined. It returns a hex filter ID; polling that ID with eth_getFilterChanges returns the hashes of pending transactions seen since your last poll. This lets you observe in-flight C-Chain activity — useful for mempool monitoring and fee tracking — though with Snowman finality landing in roughly one to two seconds, transactions move from pending to confirmed quickly. Create the filter at https://avalanche.therpc.io/YOUR_API_KEY.
eth_getTransactionByHash.هذا الأسلوب لا يأخذ أي معاملات. مرر مصفوفة فارغة [].
| النوع | الوصف |
|---|---|
| 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 Avalanche playground.
| الكود | الرسالة | السبب |
|---|---|---|
-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 over a WebSocket connection rather than HTTP polling.