trace_filter
Debug & trace | Tempo
trace_filter | Tempo
Tempo API method that returns execution traces matching specific filter criteria. Available on Tempo via Chainstack JSON-RPC nodes.
POST
trace_filter
Tempo API method that returns execution traces matching specific filter criteria. This is useful for finding all interactions with a specific contract or address across multiple blocks.Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
filterObject— the filter object:fromBlock— (optional) starting block number (hex)toBlock— (optional) ending block number (hex)fromAddress— (optional) array of sender addresses to filtertoAddress— (optional) array of recipient addresses to filterafter— (optional) offset for paginationcount— (optional) maximum number of traces to return
Response
result— array of trace objects matching the filter:action— the action object:from— sender addressto— recipient addresscallType— type of callgas— gas providedinput— call datavalue— value transferred
blockHash— hash of the blockblockNumber— block numberresult— the result objectsubtraces— number of child tracestraceAddress— position in the trace treetransactionHash— hash of the transactiontransactionPosition— index in the blocktype— trace type
trace_filter code examples
The following example finds all calls to the pathUSD token contract:
Last modified on May 18, 2026