trace_replayTransaction

Replays a transaction, returning the traces.

Parameters

  1. Transaction Hash.

  2. Type of trace - choose 1 of the following options:

    • "trace" - Provides an ordered trace of the instructions.

    • "stateDiff" - Provides information detailing all altered portions of the Ethereum state made due to the execution of the transaction.

    • "vmTrace" - Provides a full trace of the VM’s state throughout the execution of the transaction, including for any subcalls.

Sample Request

curl https://lb.nodies.app/v1/<INSERT URL> \
   -H "x-api-key: <API-KEY>" \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{ 
  "jsonrpc": "2.0",
  "method": "trace_replayTransaction",
  "params": [
    "0x7cba4b367cd6307f97b2531b2e5c0200c0570c1029409328527bc7052fc6c6e6",
    ["stateDiff"]
  ],
  "id": 1
}'

Sample Response

Last updated