# HTTP API

## **Getting Started**

This documentation provides a comprehensive guide to using the TON HTTP API, including API endpoints, request and response formats, and error handling. Whether you're building a new application or integrating with an existing one, this documentation will help you get started with the TON HTTP API quickly and efficiently.

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getAddressInformation" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getExtendedAddressInformation" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getWalletInformation" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getTransactions" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getAddressBalance" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getAddressState" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/packAddress" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/unpackAddress" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getMasterchainInfo" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getMasterchainBlockSignatures" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getShardBlockProof" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getConsensusBlock" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/lookupBlock" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/shards" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getBlockTransactions" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getBlockHeader" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getConfigParam" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/getTokenData" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/tryLocateTx" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/tryLocateResultTx" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/tryLocateSourceTx" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/detectAddress" method="get" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/sendBoc" method="post" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/sendBocReturnHash" method="post" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/sendQuery" method="post" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/estimateFee" method="post" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/runGetMethod" method="post" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}

{% openapi src="/files/v8jrwq6KnM2jEpcXUdLD" path="/jsonRPC" method="post" %}
[ton\_http\_api.json](https://3946753200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ofbWCtvCf8VWwPLyyEW%2Fuploads%2FJGh9AEwvndMzzmAar3R4%2Fton_http_api.json?alt=media\&token=5e75b12a-55e4-4a0b-a1c9-752abb34b43e)
{% endopenapi %}


---

# 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://docs.chainupcloud.com/blockchain-api/ton/http-api.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.
