Parameters
chainId
string
default:"8453"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"trace_replayBlockTransactions"
required
JSON-RPC method name.
Parameters for the trace_replayBlockTransactions method: [defaultBlock, traceTypes].Positional parameters for trace_replayBlockTransactions:params[0]: Block identifier. Can be an integer block number or a string tag: “latest”, “earliest”, or “pending”.params[1]: Types of traces to collect: “vmTrace”, “trace”, and/or “stateDiff”.
Returns
Array - Block transactions traces.
Single block-level trace result.
Details of the action performed (e.g., call, create, suicide).
Type of call (e.g., call, delegatecall, staticcall, etc.).
Address that initiated the action.
Recipient address (if applicable).
Input data sent along with the call.
Value transferred in Wei.
Contract creation code (only for create).
Contract address created or affected.
Balance involved in suicide actions.
Result of the action (if successful).
Gas used for this action.
Deployed contract code (if applicable).
Address created (for contract creations).
Number of nested trace steps inside this one.
Path to this trace in nested trace structure.
Type of trace (e.g., call, create, suicide).
Error message if the trace step failed.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=8453 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "trace_replayBlockTransactions",
"params": [
"0x2ed119",
[
"trace"
]
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"output": "0x",
"stateDiff": null,
"trace": [
{
"__truncated": true
}
],
"transactionHash": "0x...",
"vmTrace": null
}
]
}