All Products

debug_traceCall - Optimism Goerli


Summary

Returns the number of possible tracing results by executing an eth call within the context of the given block execution.


1. Transaction call

From Address

The address the transaction is sent from

Example: 0x12345...

To Address

The address the transaction is directed to

Example: 0x12345...

Gas Hex

Integer of the gas provided for the transaction execution

Example: 0xff

Gas Price Hex

Integer of the gasPrice used for each paid gas

Example: 0xff

Value Hex

Integer of the value sent with this transaction

Example: 0xff

Data Bytes

Hash of the method signature and encoded parameters

Example: 0x00000...


2. Block Number Quantity or Tag

Hex block number, or the tag latest, earliest, pending, finalized or safe

Example: latest or pending


3. Tracer Object

Tracer String

Type of tracer, either callTracer or prestateTracer

Example: {"tracer": "callTracer"}

Only Top Call Boolean

When true, only top level call will be traced and no sub-calls.

Example: {"tracer": "callTracer", "tracerConfig": {"onlyTopCall": true}}

debug_traceCall response example

Code Example

debug_traceCall curl

Don’t have an Access Key?

Start using this API in your app today.

Get started for free