trace_filter
Returns traces matching given filter.
This method will use 80 Compute Units.
Parameters
object - object - The filter object
fromBlock- string - The starting block number for the filter in hexadecimal formattoBlock- string - The ending block number for the filter in hexadecimal formatfromAddress- array - An array of sender addresses to filter bytoAddress- array - An array of receiver addresses to filter byafter- integer - The offset trace number for paginationcount- integer - The number of traces to display in a batch
Returns
result - array - An array of trace objects that match the given filter
action- object - The trace action object containing details of the callfrom- string - The address of the sendercallType- string - The type of method such as call, delegatecall, staticcallgas- string - The gas provided by the sender encoded as hexadecimalinput- string - The data sent along with the transactionto- string - The address of the receivervalue- string - The value sent with this transaction encoded as hexadecimal
blockHash- string - The hash of the block containing this transactionblockNumber- string - The block number containing this transaction encoded as hexadecimalresult- object - The execution result object of the tracegasUsed- string - The amount of gas used by this specific traceoutput- string - The value returned by the call, empty if no RETURN was executed
subtraces- integer - The number of subtraces (internal calls) in this tracetraceAddress- array - The list showing the nested call structure of this tracetransactionHash- string - The hash of the transactiontransactionPosition- integer - The transaction index position within the blocktype- string - The type of trace, such as call or create
Last updated
Was this helpful?