Get Opcodes Traces
Last updated
Was this helpful?
Last updated
Was this helpful?
Get the opcode traces for a historical transaction on the network with the given transaction ID or hash.
This method will use 5000
Compute Units.
Re-executes a transaction and returns a result containing detailed information for the execution, including all values from the {@code stack}, {@code memory} and {@code storage} and the entire trace of opcodes that were executed during the replay.
Note that to provide the output, the transaction needs to be re-executed on the EVM, which may take a significant amount of time to complete if stack and memory information is requested.
/api/v1/contracts/results/{transactionIdOrHash}/opcodes
Transaction Id or a 32 byte hash with optional 0x prefix
{"value":"0.0.10-1234567890-000000000"}
^(0x)?[A-Fa-f0-9]{64}|(\d{1,10})\.(\d{1,10})\.(\d{1,10})-(\d{1,19})-(\d{1,9})$
If provided and set to false, stack information will not be included in the response
true
If provided and set to true, memory information will be included in the response
false
If provided and set to true, storage information will be included in the response
false