curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=56 \
--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
}
]
}
Replays all transactions in a block returning the requested traces for each transaction.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=56 \
--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
}
]
}
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”.Show items
Show properties
Show properties
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=56 \
--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
}
]
}
Was this page helpful?