trace_replayBlockTransactions
The trace_replayBlockTransactions methodallows users to replay transactions in a specific block. This is particularly useful for debugging and understanding transaction outcomes.
trace_replayBlockTransactions
Overview
The 'trace_replayBlockTransactions' methodallows users to replay transactions in a specific block. This is particularly useful for debugging and understanding transaction outcomes.
Request
{
"method": "trace_replayBlockTransactions",
"params": ["blockNumber", "traceTypes"],
"id": 1,
"jsonrpc": "2.0"
}Request Parameters
- blockNumber: The block number you want to replay transactions for.
- traceTypes: The types of traces you want to retrieve. This can include values like "trace", "vmTrace", and "stateDiff".
Response
{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"output": "0x...",
"stateDiff": {},
"trace": [],
"vmTrace": {}
}
// ... other transactions
]
}Errors
- Invalid Request: This error is returned if the request format is incorrect.
- Internal Error: This error is returned if there's a server-side issue processing the request.
Rate Limits
Please note that there are rate limits applied to the API to ensure fair usage. Free-tier users are limited to 100 requests per day, while premium users can make up to 1000 or more requests per day.
Support
If you encounter any issues or have further questions regarding the eth_getBlockByHash method, please contact our support team at [email protected].
trace_rawTransaction
The trace_rawTransaction method allows users to retrieve internal transactions that occurred during the execution of a specific Ethereum transaction. This is particularly useful for understanding t...
trace_replayTransaction
The trace_replayTransaction method is used to replay a transaction and retrieve trace data which can be useful for debugging. This method is available by default for all Build & Scale plans. If you...