> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Blockchain

> TonAPI Blockchain endpoints via Uniblock Direct API.

### GET

| Path                                                                                                                                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Est. CU |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------: |
| [direct/v1/TonAPI/v2/accounts/{account_id}](https://tonapi.io/api-v2#operations-Accounts-getAccount)                                                                                 | Get human-friendly information about an account without low-level details.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}/diff](https://tonapi.io/api-v2#operations-Accounts-getAccountDiff)                                                                        | Get account's balance change                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}/dns<br />/backresolve](https://tonapi.io/api-v2#operations-Accounts-getAccountDnsBackResolve)                                             | Get account's domains                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}/dns<br />/expiring](https://tonapi.io/api-v2#operations-Accounts-getAccountDnsExpiring)                                                   | Get expiring account .ton dns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}/events<br />/{event_id}](https://tonapi.io/api-v2#operations-Accounts-getAccountEvent)                                                    | Get event for an account by event\_id                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}/events](https://tonapi.io/api-v2#operations-Accounts-getAccountEvents)                                                                    | Get events for an account. Each event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.                                             |      20 |
| [direct/v1/TonAPI/v2/experimental/accounts<br />/{account_id}/inscriptions](https://tonapi.io/api-v2#operations-Inscriptions-getAccountInscriptions)                                 | Get all inscriptions by owner address. It's experimental API and can be dropped in the future.                                                                                                                                                                                                                                                                                                                                                                                                                                |      20 |
| [direct/v1/TonAPI/v2/experimental/accounts<br />/{account_id}/inscriptions/history](https://tonapi.io/api-v2#operations-Inscriptions-getAccountInscriptionsHistory)                  | Get the transfer inscriptions history for account. It's experimental API and can be dropped in the future.                                                                                                                                                                                                                                                                                                                                                                                                                    |      20 |
| [direct/v1/TonAPI/v2/experimental/accounts<br />/{account_id}/inscriptions/{ticker}/history](https://tonapi.io/api-v2#operations-Inscriptions-getAccountInscriptionsHistoryByTicker) | Get the transfer inscriptions history for account. It's experimental API and can be dropped in the future.                                                                                                                                                                                                                                                                                                                                                                                                                    |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}<br />/jettons/{jetton_id}/history](https://tonapi.io/api-v2#operations-Accounts-getAccountJettonHistoryByID)                              | Get the transfer jetton history for account and jetton                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}<br />/jettons](https://tonapi.io/api-v2#operations-Accounts-getAccountJettonsBalances)                                                    | Get all Jettons balances by owner address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}<br />/publickey](https://tonapi.io/api-v2#operations-Accounts-getAccountPublicKey)                                                        | Get public key by account id                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}<br />/subscriptions](https://tonapi.io/api-v2#operations-Accounts-getAccountSubscriptions)                                                | Get all subscriptions by wallet address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |      20 |
| [direct/v1/TonAPI/v2/address/{account_id}/parse](https://tonapi.io/api-v2#operations-Address-getAddressParse)                                                                        | parse address and display in all formats                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |      20 |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_all\_shards\_info/{block_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getAllRawShardsInfo)                                      | Get all raw shards info                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |      20 |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/{account_id}/inspect](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainAccountInspect)                                     | Blockchain account inspect                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |      20 |
| [direct/v1/TonAPI/v2/blockchain/blocks/{block_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainBlock)                                                                | Get blockchain block data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |      20 |
| [direct/v1/TonAPI/v2/blockchain/config](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainConfig)                                                                          | Get blockchain config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |      20 |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/{masterchain_seqno}/config](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainConfigFromBlock)                           | Get blockchain config from a specific block, if present.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |      20 |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/{masterchain_seqno}/blocks](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainMasterchainBlocks)                         | Get all blocks in all shards and workchains between target and previous masterchain block according to shards last blocks snapshot in masterchain.  We don't recommend to build your app around this method because it has problem with scalability and will work very slow in the future.                                                                                                                                                                                                                                    |      20 |
| [direct/v1/TonAPI/v2/blockchain/masterchain-head](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainMasterchainHead)                                                       | Get last known masterchain block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |      20 |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/{masterchain_seqno}/shards](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainMasterchainShards)                         | Get blockchain block shards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |      20 |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/{account_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainRawAccount)                                                 | Get low-level information about an account taken directly from the blockchain.                                                                                                                                                                                                                                                                                                                                                                                                                                                |      20 |
| [direct/v1/TonAPI/v2/blockchain/validators](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainValidators)                                                                  | Get blockchain validators                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |      20 |
| [direct/v1/TonAPI/v2/dns/auctions](https://tonapi.io/api-v2#operations-DNS-getAllAuctions)                                                                                           | Get all auctions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |      20 |
| [direct/v1/TonAPI/v2/dns/{domain_name}](https://tonapi.io/api-v2#operations-DNS-getDnsInfo)                                                                                          | Get full information about domain name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |      20 |
| [direct/v1/TonAPI/v2/dns/{domain_name}/resolve](https://tonapi.io/api-v2#operations-DNS-getDnsResolve)                                                                               | DNS resolve for domain name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |      20 |
| [direct/v1/TonAPI/v2/dns/{domain_name}/bids](https://tonapi.io/api-v2#operations-DNS-getDomainBids)                                                                                  | Get domain bids                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |      20 |
| [direct/v1/TonAPI/v2/events/{event_id}](https://tonapi.io/api-v2#operations-Events-getEvent)                                                                                         | Get an event either by event ID or a hash of any transaction in a trace. An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time. |      20 |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/{account_id}/methods/{method_name}](https://tonapi.io/api-v2#operations-Blockchain-getExecGetMethodForBlockchainAccount)              | Execute get method for account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |      20 |
| [direct/v1/TonAPI/v2/experimental/inscriptions<br />/op-template](https://tonapi.io/api-v2#operations-Inscriptions-getInscriptionOpTemplate)                                         | return comment for making operation with inscription. please don't use it if you don't know what you are doing                                                                                                                                                                                                                                                                                                                                                                                                                |      20 |
| [direct/v1/TonAPI/v2/jettons/{account_id}/holders](https://tonapi.io/api-v2#operations-Jettons-getJettonHolders)                                                                     | Get jetton's holders                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |      20 |
| [direct/v1/TonAPI/v2/jettons/{account_id}](https://tonapi.io/api-v2#operations-Jettons-getJettonInfo)                                                                                | Get jetton metadata by jetton master address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |      20 |
| [direct/v1/TonAPI/v2/jettons](https://tonapi.io/api-v2#operations-Jettons-getJettons)                                                                                                | Get a list of all indexed jetton masters in the blockchain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |      20 |
| [direct/v1/TonAPI/v2/events/{event_id}/jettons](https://tonapi.io/api-v2#operations-Events-getJettonsEvents)                                                                         | Get only jetton transfers in the event                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |      20 |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_out\_msg\_queue\_sizes](https://tonapi.io/api-v2#operations-Lite%20Server-getOutMsgQueueSizes)                                            | Get out msg queue sizes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_account\_state<br />/{account_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawAccountState)                                        | Get raw account state                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_block<br />/{block_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockchainBlock)                                                | Get raw blockchain block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_block\_header<br />/{block_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockchainBlockHeader)                                  | Get raw blockchain block header                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_state<br />/{block_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockchainBlockState)                                           | Get raw blockchain block state                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |      20 |
| [direct/v1/TonAPI/v2/blockchain/config/raw](https://tonapi.io/api-v2#operations-Blockchain-getRawBlockchainConfig)                                                                   | Get raw blockchain config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |      20 |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/{masterchain_seqno}/config/raw](https://tonapi.io/api-v2#operations-Blockchain-getRawBlockchainConfigFromBlock)                    | Get raw blockchain config from a specific block, if present.                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_block\_proof](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockProof)                                                               | Get raw block proof                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_config\_all<br />/{block_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawConfig)                                                   | Get raw config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |      20 |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_masterchain\_info](https://tonapi.io/api-v2#operations-Lite%20Server-getRawMasterchainInfo)                                               | Get raw masterchain info                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |      20 |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_masterchain\_info\_ext](https://tonapi.io/api-v2#operations-Lite%20Server-getRawMasterchainInfoExt)                                       | Get raw masterchain info ext                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |      20 |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_shard\_block\_proof/{block_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawShardBlockProof)                                  | Get raw shard block proof                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_shard\_info<br />/{block_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawShardInfo)                                                | Get raw shard info                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |      20 |
| [direct/v1/TonAPI/v2/liteserver/get\_time](https://tonapi.io/api-v2#operations-Lite%20Server-getRawTime)                                                                             | Get raw time                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |      20 |
| [direct/v1/TonAPI/v2/accounts/search](https://tonapi.io/api-v2#operations-Accounts-searchAccounts)                                                                                   | Search by account domain name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |      20 |
| [direct/v1/TonAPI/v2/storage/providers](https://tonapi.io/api-v2#operations-Storage-getStorageProviders)                                                                             | Get TON storage providers deployed to the blockchain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |      20 |
| [direct/v1/TonAPI/v2/tonconnect/payload](https://tonapi.io/api-v2#operations-Connect-getTonConnectPayload)                                                                           | Get a payload for further token receipt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |      20 |

### POST

| Path                                                                                                                               | Description                                                                       | Est. CU |
| ---------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ------: |
| [direct/v1/TonAPI/v2/tonconnect/stateinit](https://tonapi.io/api-v2#operations-Connect-getAccountInfoByStateInit)                  | Get account info by state init                                                    |      20 |
| [direct/v1/TonAPI/v2/message/decode](https://tonapi.io/api-v2#operations-Emulation-decodeMessage)                                  | Decode a given message. Only external incoming messages can be decoded currently. |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}/events<br />/emulate](https://tonapi.io/api-v2#operations-Accounts-emulateAccountEvent) | Emulate sending message to blockchain                                             |      20 |
| [direct/v1/TonAPI/v2/events/emulate](https://tonapi.io/api-v2#operations-Events-emulateMessageToEvent)                             | Emulate sending message to blockchain                                             |      20 |
| [direct/v1/TonAPI/v2/accounts/\_bulk](https://tonapi.io/api-v2#operations-Accounts-getAccounts)                                    | Get human-friendly information about several accounts without low-level details.  |      20 |
| [direct/v1/TonAPI/v2/accounts/{account_id}<br />/reindex](https://tonapi.io/api-v2#operations-Accounts-reindexAccount)             | Update internal cache for a particular account                                    |      20 |
| [direct/v1/TonAPI/v2/blockchain/message](https://tonapi.io/api-v2#operations-Blockchain-sendBlockchainMessage)                     | Send message to blockchain                                                        |      20 |
| [direct/v1/TonAPI/v2/liteserver/send\_message](https://tonapi.io/api-v2#operations-Lite%20Server-sendRawMessage)                   | Send raw message to blockchain                                                    |      20 |
