Skip to main content
POST
starknet_traceBlockTransactions
Starknet OpenRPC specFor the latest version of the publicly maintained OpenRPC spec, see the Starknet specs GitHub repo.
Starknet API method that returns the execution trace of all transactions in a given block. It provides a detailed execution trace for each transaction in the specified block. This can be useful for debugging and analysis purposes, as it allows developers to see the exact sequence of operations that were performed during the execution of each transaction.
Get your 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.

Parameters

  • block_id — the hash of the requested block, or number (height) of the requested block, or a block tag:
    • block_hash — hash of the block.
    • block_number — block number, as an integer.
    • block_tag — latest for the latest block finalized by consensus on L2, or l1_accepted for the latest block included in a state update on L1 and finalized by consensus on L1. The Starknet spec doesn’t allow pre_confirmed for this method.

Response

  • result — the execution trace of all transactions in the block, represented as a list of transaction traces.

Use case

A practical use case for starknet_traceBlockTransactions is to analyze the execution of transactions in a specific block. This can be useful for debugging purposes, as it allows developers to understand the sequence of operations that were performed during the execution of each transaction.

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:starknet_traceBlockTransactions
params
object

Response

200

Successful response

Last modified on November 13, 2026