Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Request
To usedebug_traceCall
, send a POST request with a JSON RPC call in the body.
Parameters
- from (
string
): The address the call is sent from. - to (
string
): The address the call is directed to. - gasPrice (
string
): The gas price for the call. - data (
string
): The data sent along with the call.
Response
The response includes a detailed execution trace of the call, providing insights into each step of the call’s execution.- result (
object
): The detailed execution trace, including:- structLogs (
array
): An array of execution steps (opcodes) taken by the call. - gas (
integer
): The gas provided by the call. - returnValue (
string
): The return value of the call, if any. - gasUsed (
integer
): The total gas used by the call. - failed (
boolean
): Indicates whether the call failed.
- structLogs (
Use case
Thedebug_traceCall
method is essential for:
- Developers debugging smart contract interactions.
- Analysts conducting forensic analysis of calls.
- Tools and services that provide insights into Ethereum Virtual Machine (EVM) execution.
Body
application/json