---
updatedAt: 2025-06-11T20:43:25.000Z
agentTools:
  projectIndex: https://docs.allthatnode.com/llms.txt
---

# Get Block Transactions

Get transactions of the given block.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "TON HTTP API",
    "description": "\nThis API enables HTTP access to TON blockchain - getting accounts and wallets information, looking up blocks and transactions, sending messages to the blockchain, calling get methods of smart contracts, and more.\n\nIn addition to REST API, all methods are available through [JSON-RPC endpoint](#json%20rpc)  with `method` equal to method name and `params` passed as a dictionary.\n\nThe response contains a JSON object, which always has a boolean field `ok` and either `error` or `result`. If `ok` equals true, the request was successful and the result of the query can be found in the `result` field. In case of an unsuccessful request, `ok` equals false and the error is explained in the `error`.\n\nAPI Key should be sent either as `api_key` query parameter or `X-API-Key` header.\n",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "/api/v2"
    }
  ],
  "paths": {
    "/getBlockTransactions": {
      "get": {
        "tags": [
          "blocks",
          "transactions"
        ],
        "summary": "Get Block Transactions",
        "description": "Get transactions of the given block.",
        "operationId": "get_block_transactions_getBlockTransactions_get",
        "parameters": [
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Workchain"
            },
            "name": "workchain",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Shard"
            },
            "name": "shard",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Seqno"
            },
            "name": "seqno",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "string",
              "title": "Root Hash"
            },
            "name": "root_hash",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "string",
              "title": "File Hash"
            },
            "name": "file_hash",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "integer",
              "title": "After Lt"
            },
            "name": "after_lt",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "string",
              "title": "After Hash"
            },
            "name": "after_hash",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "type": "integer",
              "title": "Count",
              "default": 40
            },
            "name": "count",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TonResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error"
          },
          "504": {
            "description": "Lite Server Timeout"
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          },
          {
            "APIKeyQuery": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "TonResponse": {
        "properties": {
          "ok": {
            "type": "boolean",
            "title": "Ok"
          },
          "result": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "object"
              }
            ],
            "title": "Result"
          },
          "error": {
            "type": "string",
            "title": "Error"
          },
          "code": {
            "type": "integer",
            "title": "Code"
          }
        },
        "type": "object",
        "required": [
          "ok"
        ],
        "title": "TonResponse"
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      },
      "APIKeyQuery": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key"
      }
    }
  },
  "tags": [
    {
      "name": "blocks",
      "description": "Information about blocks."
    },
    {
      "name": "transactions",
      "description": "Fetching and locating transactions."
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```