debug_traceBlockByNumber
Accepts a block number and will replay the block that is already present in the database.
Parameters
blockNumber
[REQUIRED] - The block number (HEX string format)tracer
[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