POSTtrace_block
Traces the execution of all transactions included in a specified block. This method provides detailed trace information for all transactions executed in that block and is used to analyze the transaction processing at the block level.
Enter the following parameters as an array with the appropriate types.
block number or block tag: Enter the block number in hexadecimal string format. You can also enter block tags such as "earliest", "latest", or "pending".
Use either block number or block tag to specify a block.
- Block number: Hexadecimal string (e.g. "0x1")
- Block tag: Enum string (e.g. "latest", "earliest", "pending")
earliest: The oldest available block on the chain.finalized: A recently finalized block that can no longer be changed. Primarily used in proof-of-stake (PoS) blockchains.safe: A recent block considered safe by the network (immune to reorgs).latest: The most recent block on the chain (may be subject to reorgs).pending: The next block to be mined, including pending transactions in the mempool.
Caller address
Call type (call, delegatecall, staticcall, etc.)
Gas limit set for the call (hex)
Call input data (hex)
Callee address
Amount of ETH transferred (hex, in wei)
Hash of the block containing this transaction
Block number containing the transaction
Actual gas used (hex)
Call return data (hex)
Number of sub-traces
Index array representing the trace path
Hash of the traced transaction
Position of the transaction within the block
Trace type (call, create, reward, etc.)