> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# starknet_traceBlockTransactions | Starknet

> Starknet API method that returns the execution trace of all transactions in a given block. starknet_traceBlockTransactions on Starknet via Chainstack.

<Note>
  **Starknet OpenRPC spec**

  For the latest version of the publicly maintained OpenRPC spec, see the [Starknet specs GitHub repo](https://github.com/starkware-libs/starknet-specs).
</Note>

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.

## 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, accept integer.
  * `block_tag` — `latest` for the latest one added to the chain or `pending` for the pending one.

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

## Deprecated feeder gateway method

The feeder gateway was deprecated on [December 11, 2023](https://community.starknet.io/t/feeder-gateway-deprecation/100233).

Example of the call you had to make to the feeder gateway before the deprecation:

```Text Shell theme={"system"}
curl 'https://alpha-mainnet.starknet.io/feeder_gateway/get_block_traces?blockNumber=456600'
```


## OpenAPI

````yaml openapi/starknet_node_api/starknet_traceBlockTransactions.json POST /365cf697a3ad6d950b4c4a911e2e4f4d
openapi: 3.0.0
info:
  title: starknet
  version: 1.0.0
  contact: {}
servers:
  - url: https://starknet-mainnet.core.chainstack.com
security: []
paths:
  /365cf697a3ad6d950b4c4a911e2e4f4d:
    post:
      summary: starknet_traceBlockTransactions
      description: starknet_traceBlockTransactions
      operationId: starknetTraceBlockTransactions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: starknet_traceBlockTransactions
                params:
                  type: object
                  properties:
                    block_id:
                      type: object
                      properties:
                        block_number:
                          type: integer
                          default: 456600
              default:
                id: 1
                jsonrpc: '2.0'
                method: starknet_traceBlockTransactions
                params:
                  block_id:
                    block_number: 456600
      responses:
        '200':
          description: Successful response

````