trace_replayTransaction

Replays a transaction and returns the requested trace outputs.

Request

This endpoint expects an object.
transactionHashstringRequiredformat: "^0x[a-fA-F0-9]{64}$"
Hash of the transaction to replay.
traceTypeslist of enumsRequired

Array of trace output selectors to return. Valid values are “trace” and “stateDiff”. Defaults to [“trace”].

Response

Requested trace outputs for the replayed transaction.
outputstringformat: "^0x([a-fA-F0-9]{2})*$"

Hex-encoded byte data.

stateDiffmap from strings to any or null
State changes produced by replaying the transaction or block.
tracelist of objects or null
vmTracemap from strings to any or null

Low-level virtual machine execution trace.

transactionHashstringOptionalformat: "^0x[a-fA-F0-9]{64}$"

32-byte transaction hash.

transactionPositionstringOptionalformat: "^0x(?:0|[1-9a-fA-F][a-fA-F0-9]*)$"

Hex-encoded integer quantity.