> For the complete documentation index, see [llms.txt](https://doc.torch.finance/dex/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.torch.finance/dex/faq/how-to-get-transaction-hash-by-message-hash.md).

# 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
