---
title: "Detect Hash"
method: GET
path: "/detectHash"
tags: ["accounts"]
---

# Detect Hash

`GET /detectHash`

Get all possible hash forms.

## Query parameters

- `hash` string, required — Hash in hex, base64, or base64url form.

## Response `200`

Successful Response

- TonResponse
  - `ok` boolean, required
  - `result` union
    - string
    - unknown[]
      - unknown
    - object
  - `error` string
  - `code` integer

## Other responses

- `422` — Validation Error
- `504` — Lite Server Timeout

## Changes

> 3 revisions in range; 1 could not be searched.

- **2026-03-20** `b44688baa1c5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/rsquad/apis/ton-http-api/changes/detectHash/get.md)

---

[API](https://skmtc.dev/rsquad/apis/ton-http-api.md) · [All operations](https://skmtc.dev/rsquad/apis/ton-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rsquad/ton-http-api/revisions/73848a110060/schema)
