starknet_traceTransaction

Returns the trace of a specific transaction, including internal calls and execution details.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
transaction_hashstringRequiredformat: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"
The hash of the transaction to trace

Response

The execution trace of the transaction
typeenum

The type of transaction (e.g., “INVOKE”)

Allowed values:
execute_invocationobject
execution_resourcesobject
validate_invocationobject or null
fee_transfer_invocationobject or null