Skip to main content
Traces every transaction in the block specified by block number and returns the tracer result for each one. This method will use 80 Compute Units.
This method is served by nanoreth, the HyperEVM archive client, and works for any block back to genesis. On blocks that carry a HyperCore deposit, block-level traces include the deposit as their first entry; see Overview.

Parameters

blockNumber - String - Required - The block number as a string in hexadecimal format. object - Object - Required - The tracer object with the following fields:
  • tracer - String - The type of tracer, options are: callTracer orprestateTracer.
    • callTracer - String - The callTracer keeps track of all call frames, including depth - calls, that are made during a transaction.
    • prestateTracer - String - The prestateTracer replays the transaction and tracks every part of state that occurred during the transaction.
  • tracerConfig - Object (Optional) - The object to specify the configurations of the tracer.
    • onlyTopCall - Boolean - When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame.

Returns

result - An array of transactions for that block, each containing:
  • txHash - The transaction hash of the transaction
  • from - The address the transaction is sent from.
  • gas - The integer of the gas provided for the transaction execution.
  • gasUsed - The integer of the gas used.
  • to - The address the transaction is directed to.
  • input - The data given at the time of input.
  • value - The integer of the value sent with this transaction.
  • type - The type of call.
  • calls - A list of sub-calls.