---
updatedAt: 2026-07-31T20:29:59.000Z
agentTools:
  projectIndex: https://docs.blockberry.one/llms.txt
---

# getBlockConfirmationByTransactionHash*

Get transaction confirmation, i.e. the number of blocks added to the blockchain following the block which the transaction entered.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Mina Mesa API",
    "description": "Mina Mesa (testnet) public REST API by Minascan / Blockberry.",
    "termsOfService": "https://blockberry.one/terms",
    "contact": {
      "name": "Staketab tech support",
      "url": "https://staketab.com/",
      "email": "support@staketab.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.blockberry.one/mina-mesa",
      "description": "Production"
    }
  ],
  "security": [
    {
      "x-api-key": []
    }
  ],
  "paths": {
    "/v1/block-confirmation/{txHash}": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "summary": "getBlockConfirmationByTransactionHash*",
        "description": "Get transaction confirmation, i.e. the number of blocks added to the blockchain following the block which the transaction entered.",
        "operationId": "getBlockConfirmationByTransactionHash",
        "parameters": [
          {
            "name": "txHash",
            "in": "path",
            "description": "Queried transaction hash.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Queried transaction hash.",
              "default": "5JuL9DwxhobJwBh7m4gXRsX7CMDLWJQMAuwE5KXRrsPLg5gSgpsw"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlockConfirmationDto"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BlockConfirmationDto": {
        "type": "object",
        "properties": {
          "blockConfirmationsCount": {
            "type": "integer",
            "format": "int64"
          },
          "blockHeight": {
            "type": "integer",
            "format": "int64"
          },
          "stateHash": {
            "type": "string"
          },
          "txStatus": {
            "type": "string"
          },
          "txHashNext": {
            "type": "string"
          },
          "txHashPrevious": {
            "type": "string"
          },
          "isCanonical": {
            "type": "boolean"
          },
          "failureReason": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  }
}
```