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_replayTransaction"
required
JSON-RPC method name.
params
object
required
An array containing the transaction hash and a list of trace types to include.Positional parameters for arbtrace_replayTransaction:
  • params[0]: Transaction hash (32-byte hex).
  • params[1]: List of trace types to include in the output.

Returns

result
object
Execution trace details for the replayed transaction.
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_replayTransaction",
    "params": [
      "0xa3a97b9d1de234efb2ca9374c5918f9a7fc2adff4102aff686df01b6a3dc74f7",
      [
        "trace"
      ]
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}