Skip to main content

trace_call

Overview

The 'trace_call' method allows you to simulate a call transaction without actually executing it. This can be useful for debugging and understanding the potential outcome of a transaction.

Request

{
"to": "0x...",
"data": "0x..."
// Additional parameters can be added as needed
}

Request Parameters

  • to (required): The address of the contract or recipient.
  • data (optional): Encoded data, representing the function- and its arguments.

Response

{
"output": "0x...",
"stateDiff": {},
"trace": [],
"vmTrace": {}
// Additional fields can be added as needed
}

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].