# How to get Transaction hash by Message hash

{% hint style="success" %}
It is common to design a polling model for fetching transaction hash periodically to check if the transaction is recorded on the blockchain
{% endhint %}

## Toncenter

{% embed url="<https://toncenter.com/api/v3/index.html#/blockchain/api_v3_get_transactions_by_message>" %}

## Ton Console

{% embed url="<https://docs.tonconsole.com/tonapi/rest-api/blockchain>" %}

* [`getBlockchainTransactionByMessageHash`](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainTransactionByMessageHash) - Get transaction data by message hash


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.torch.finance/dex/faq/how-to-get-transaction-hash-by-message-hash.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
