📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Method: POST trace_replayBlockTransactions

dropdown

方法 RPC trace_replayBlockTransactions 例如 Ethereum (ETH)

POST trace_replayBlockTransactions

为每个块提供事务处理跟踪。

Parameters

quantity|tag -

表示块编号或字符串标记最新、最早或待定之一的整数,如块参数中所述。

array of strings -

跟踪选项是 trace、vmTrace 和 stateDiff。指定三个选项的任意组合,不包括任何一个。

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "trace_replayBlockTransactions",
"params": ["0x12", ["trace", "vmTrace", "vmTrace"]],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": []
}