Returns the possible tracing result number by executing all transactions in the block specified by the block hash with a tracer.
Note:debug_traceBlockByHashis only supported for non-archive requests, i.e. for blocks and transactions near the head of the chain. All other BNB Smart Chain method requests will be archive requests unless otherwise stated.
object - Object - Required - The tracer object with the following fields:
tracer - String - The type of tracer, options are: callTracer ,prestateTracer or flatCallTracer.
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 trackers every part of state that occurred during the transaction.
flatCallTracer - String - The flatCallTracer is a specific type of tracer that provides a flattened view of all calls made during transaction execution. It offers a simplified output compared to the standard callTracer, making it easier to analyze complex transactions.
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.