Parameters
- objectarray
The filter object
- fromBlockstringREQUIRED
The block number (Quantity) or tag (e.g., 'latest', 'earliest', 'pending') from which to start
- toBlockstringREQUIRED
The block number (Quantity) or tag up to which to include traces
- fromAddressarray
An array of sender addresses
- toAddressarray
An array of receiver addresses
- afterinteger
The offset trace number (used for pagination)
- countinteger
The number of traces to display in a batch
Returns
- arrayarray
The block traces (all return values are hexadecimal unless otherwise noted):
- actionobject
The action performed in this trace step
- fromstring
The address of the sender
- callTypestring
The type of call such as 'call' or 'delegatecall'
- gasstring
The gas provided for the call, encoded as hexadecimal
- inputstring
The input data sent with the transaction, encoded as hexadecimal
- tostring
The address of the receiver
- valuestring
The value sent with this transaction, encoded as hexadecimal
- blockHashstring
The hash of the block containing this transaction
- blockNumberinteger
The block number containing this transaction
- resultobject
The result of the call execution
- gasUsedstring
The amount of gas used by this specific call, encoded as hexadecimal
- outputstring
The return value from the contract call; contains bytes returned by the RETURN opcode, or '0x' if empty
- subtracesinteger
The number of sub-traces (nested calls) made by this transaction
- traceAddressarray
The call path to this trace (an array of integers representing call depth and order)
- transactionHashstring
The hash of the transaction
- transactionPositioninteger
The position of the transaction within the block
- typestring
The type of trace, e.g., 'call' or 'create'
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"from": "0xedc763b3e418cd14767b3be02b667619a6374076",8"callType": "call",9"gas": "0x8462",10"input": "0x095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",11"to": "0x7ff4169a6b5122b664c51c95727d87750ec07c84",12"value": "0x0"13},14"blockHash": "0x351e7c06ec010c8f7e7358eb580238dd23e1e129be96822aa93ebb6da08558e6",15"blockNumber": 13416771,16"result": {17"gasUsed": "0x6009",18"output": "0x0000000000000000000000000000000000000000000000000000000000000001"19},20"subtraces": 0,21"traceAddress": [],22"transactionHash": "0x054bbb9fbb855bf23f755e548c7409f45fc5eff8a824b2ad06380bc038d7b049",23"transactionPosition": 54,24"type": "call"25}26]27}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"from": "0xedc763b3e418cd14767b3be02b667619a6374076",8"callType": "call",9"gas": "0x8462",10"input": "0x095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",11"to": "0x7ff4169a6b5122b664c51c95727d87750ec07c84",12"value": "0x0"13},14"blockHash": "0x351e7c06ec010c8f7e7358eb580238dd23e1e129be96822aa93ebb6da08558e6",15"blockNumber": 13416771,16"result": {17"gasUsed": "0x6009",18"output": "0x0000000000000000000000000000000000000000000000000000000000000001"19},20"subtraces": 0,21"traceAddress": [],22"transactionHash": "0x054bbb9fbb855bf23f755e548c7409f45fc5eff8a824b2ad06380bc038d7b049",23"transactionPosition": 54,24"type": "call"25}26]27}