pulsechain.box
trace

trace_replayBlockTransactions

Replays all transactions in a block and returns the requested traces for each transaction.

Replays all transactions in a block and returns the requested traces for each transaction.

Parameters

#TypeDescription
1stringBlock number as hex string.
2arrayArray of trace types: "trace", "vmTrace", "stateDiff".

Returns

TypeDescription
arrayArray of trace result objects, one per transaction in the block.

Each Result Object

FieldTypeDescription
tracearrayCall tree trace (if requested).
vmTraceobjectVM execution trace (if requested).
stateDiffobjectState changes (if requested).
outputstringReturn value of the transaction.
transactionHashstringHash of the transaction.

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "trace_replayBlockTransactions",
    "params": [
      "0x100",
      ["trace"]
    ],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "output": "0x...",
      "trace": [
        {
          "action": {
            "callType": "call",
            "from": "0x...",
            "gas": "0x...",
            "input": "0x...",
            "to": "0x...",
            "value": "0x0"
          },
          "result": {
            "gasUsed": "0x...",
            "output": "0x..."
          },
          "subtraces": 0,
          "traceAddress": [],
          "type": "call"
        }
      ],
      "transactionHash": "0x..."
    }
  ]
}
TRY IT

Notes

  • Combines trace_block functionality with the ability to request vmTrace and stateDiff.
  • Very resource-intensive, especially with vmTrace. Use with caution on blocks with many transactions.
  • All trace requests are routed to a an archive node with full trace support.
  • An empty block returns an empty array.
Copyright © 2026 AvecdrA. Made with love.