debug_traceBlockByHash
Accepts a block hash and will replay the block that is already present in the database.
Parameters
hash
[REQUIRED]- Hash of the block to be tracedtracer
[REQUIRED] - The tracer type
Returns:
Object
- Full trace of the block.
result
- Trace Object, which has the following fields:from
- The address the transaction is sent fromto
- The address the transaction is directed togas
- The gas provided for the transaction executiongasUsed
- The gasPrice used for each paid gasinput
- The data sent along with the transactionoutput
- The output datatype
- Type of the transactionvalue
- The value transferred in Wei, encoded as a hexadecimal
Client | Method invocation |
---|---|
Go |
|
Console |
|
RPC |
|
Example
Request
Last updated