Skip to main content

Parameters

chainId
string
default:"42170"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"arbtrace_replayBlockTransactions"
required
JSON-RPC method name.
params
object
required
Array with the block number and trace types to return.Positional parameters for arbtrace_replayBlockTransactions:
  • params[0]: Block number to replay (hex format).
  • params[1]: Trace types to include for each transaction in the block.

Returns

result
array
Array of trace objects, one per transaction in the block.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=42170 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "arbtrace_replayBlockTransactions",
    "params": [
      "0xb48c3c",
      [
        "trace"
      ]
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": []
}