Avalanche
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Avalanche
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
trace_filter searches across a range of Avalanche C-Chain blocks for traces that match criteria you supply — sender or receiver address, a fromBlock/toBlock window, and pagination via after and count. The C-Chain is Avalanche's EVM chain, where AVAX is the gas token and Snowman consensus finalizes blocks in roughly one to two seconds, so a single day already spans tens of thousands of blocks. Rather than tracing one transaction or one block at a time, this method scans the whole window and returns every matching call/create/suicide action. Send the request to https://avalanche.therpc.io/YOUR_API_KEY (chain ID 43114, hex 0xa86a).
| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | filter | object | نعم | Filter object with the following optional fields. |
| النوع | الوصف |
|---|---|
| array | Flat array of matching trace objects, each with the same shape as trace_transaction results: `{action, result, subtraces, traceAddress, transactionHash, transactionPosition, blockHash, blockNumber, type}`. |
Try it live in the Avalanche playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32601 | Method not found | trace namespace not enabled or client does not support trace_filter. |
-32602 | Invalid params | Filter object contains invalid fields, or block range is too wide for the node's configured limit. |
-32000 | query returned more than X results | Result set exceeded the node's per-request limit; narrow the block range or use pagination. |
after/count.trace namespace at all.eth_getLogs, traces are not indexed by topic — only by address and block number — so you cannot filter on event signatures here.المعاملات
Filter object with the following optional fields.