Skip to main content
POST
trace_replayBlockTransactions
Plasma API method that replays all transactions in a block and returns the requested traces.

Parameters

  • quantity or tag — the block number in hex format or block tag (latest, earliest, pending, safe, finalized)
  • array — array of trace types (trace, vmTrace, stateDiff)

Response

  • array — an array of trace results for each transaction

trace_replayBlockTransactions code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:trace_replayBlockTransactions
params
(string | any[])[]

Block number or tag (latest, earliest, pending).

Response

200 - application/json

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

jsonrpc
string
id
integer
result
object | null
Last modified on May 18, 2026