> ## 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.

# Direct API: TonAPI

> API endpoints for TonAPI.

# TonAPI: Direct API Endpoints

TonAPI provides 92 unique direct API endpoints across the following categories:

* DeFi (6 endpoints)
* Market Data (2 endpoints)
* NFT (8 endpoints)
* Scan (60 endpoints)
* Token (3 endpoints)
* Transaction (15 endpoints)
* Wallets (8 endpoints)

*Note: Some endpoints appear in multiple categories. The count above reflects unique API paths.*

> **Learn more:** [TonAPI Documentation](https://tonapi.io/api-v2)

## Prefix and Example

**Prefix:** No prefix is required for TonAPI, an example URL will therefore look like: `https://api.uniblock.dev/direct/v1/TonAPI + /[TonAPI_endpoint]`.

**Example Request:**

```bash theme={null}
curl --request GET \
  --url https://api.uniblock.dev/direct/v1/TonAPI/v2/rates \
  --header 'accept: application/json' \
  --header 'x-api-key: YOUR_UNIBLOCK_API_KEY'
```

## DeFi

### GET

| Path                                                                                                                                      | Est. CU | Description                          |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------: | ------------------------------------ |
| [direct/v1/TonAPI/v2/staking/nominator<br />/\{account\_id}/pools](https://tonapi.io/api-v2#operations-Staking-getAccountNominatorsPools) |     100 | All pools where account participates |
| [direct/v1/TonAPI/v2/rates/chart](https://tonapi.io/api-v2#operations-Rates-getChartRates)                                                |     100 | Get chart by token                   |
| [direct/v1/TonAPI/v2/rates](https://tonapi.io/api-v2#operations-Rates-getRates)                                                           |     100 | Get the token price to the currency  |
| [direct/v1/TonAPI/v2/staking/pool/\{account\_id}<br />/history](https://tonapi.io/api-v2#operations-Staking-getStakingPoolHistory)        |     100 | Pool history                         |
| [direct/v1/TonAPI/v2/staking/pool/\{account\_id}](https://tonapi.io/api-v2#operations-Staking-getStakingPoolInfo)                         |     100 | Stacking pool info                   |
| [direct/v1/TonAPI/v2/staking/pools](https://tonapi.io/api-v2#operations-Staking-getStakingPools)                                          |     100 | All pools available in network       |

## Market Data

### GET

| Path                                                                                           | Est. CU | Description                         |
| ---------------------------------------------------------------------------------------------- | ------: | ----------------------------------- |
| [direct/v1/TonAPI/v2/rates/markets](https://tonapi.io/api-v2#operations-Rates-getMarketsRates) |     100 | Get the TON price from markets      |
| [direct/v1/TonAPI/v2/rates](https://tonapi.io/api-v2#operations-Rates-getRates)                |     100 | Get the token price to the currency |

## NFT

### GET

| Path                                                                                                                                | Est. CU | Description                                         |
| ----------------------------------------------------------------------------------------------------------------------------------- | ------: | --------------------------------------------------- |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/nfts<br />/history](https://tonapi.io/api-v2#operations-Accounts-getAccountNftHistory) |     100 | Get the transfer nft history                        |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/nfts](https://tonapi.io/api-v2#operations-Accounts-getAccountNftItems)                 |     100 | Get all NFT items by owner address                  |
| [direct/v1/TonAPI/v2/nfts/collections<br />/\{account\_id}/items](https://tonapi.io/api-v2#operations-NFT-getItemsFromCollection)   |     100 | Get NFT items from collection by collection address |
| [direct/v1/TonAPI/v2/nfts/collections<br />/\{account\_id}](https://tonapi.io/api-v2#operations-NFT-getNftCollection)               |     100 | Get NFT collection by collection address            |
| [direct/v1/TonAPI/v2/nfts/collections](https://tonapi.io/api-v2#operations-NFT-getNftCollections)                                   |     100 | Get NFT collections                                 |
| [direct/v1/TonAPI/v2/nfts/\{account\_id}/history](https://tonapi.io/api-v2#operations-NFT-getNftHistoryByID)                        |     100 | Get the transfer nfts history for account           |
| [direct/v1/TonAPI/v2/nfts/\{account\_id}](https://tonapi.io/api-v2#operations-NFT-getNftItemByAddress)                              |     100 | Get NFT item by its address                         |

### POST

| Path                                                                                           | Est. CU | Description                      |
| ---------------------------------------------------------------------------------------------- | ------: | -------------------------------- |
| [direct/v1/TonAPI/v2/nfts/\_bulk](https://tonapi.io/api-v2#operations-NFT-getNftItemByAddress) |     100 | Get NFT items by their addresses |

## Scan

### GET

| Path                                                                                                                                                                                    | Est. CU | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}](https://tonapi.io/api-v2#operations-Accounts-getAccount)                                                                                  |     100 | Get human-friendly information about an account without low-level details.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/diff](https://tonapi.io/api-v2#operations-Accounts-getAccountDiff)                                                                         |     100 | Get account's balance change                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/dns<br />/backresolve](https://tonapi.io/api-v2#operations-Accounts-getAccountDnsBackResolve)                                              |     100 | Get account's domains                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/dns<br />/expiring](https://tonapi.io/api-v2#operations-Accounts-getAccountDnsExpiring)                                                    |     100 | Get expiring account .ton dns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/events<br />/\{event\_id}](https://tonapi.io/api-v2#operations-Accounts-getAccountEvent)                                                   |     100 | Get event for an account by event\_id                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/events](https://tonapi.io/api-v2#operations-Accounts-getAccountEvents)                                                                     |     100 | 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.                                             |
| [direct/v1/TonAPI/v2/experimental/accounts<br />/\{account\_id}/inscriptions](https://tonapi.io/api-v2#operations-Inscriptions-getAccountInscriptions)                                  |     100 | Get all inscriptions by owner address. It's experimental API and can be dropped in the future.                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [direct/v1/TonAPI/v2/experimental/accounts<br />/\{account\_id}/inscriptions/history](https://tonapi.io/api-v2#operations-Inscriptions-getAccountInscriptionsHistory)                   |     100 | Get the transfer inscriptions history for account. It's experimental API and can be dropped in the future.                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [direct/v1/TonAPI/v2/experimental/accounts<br />/\{account\_id}/inscriptions/\{ticker}/history](https://tonapi.io/api-v2#operations-Inscriptions-getAccountInscriptionsHistoryByTicker) |     100 | Get the transfer inscriptions history for account. It's experimental API and can be dropped in the future.                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}<br />/jettons/\{jetton\_id}/history](https://tonapi.io/api-v2#operations-Accounts-getAccountJettonHistoryByID)                             |     100 | Get the transfer jetton history for account and jetton                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}<br />/jettons](https://tonapi.io/api-v2#operations-Accounts-getAccountJettonsBalances)                                                     |     100 | Get all Jettons balances by owner address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}<br />/publickey](https://tonapi.io/api-v2#operations-Accounts-getAccountPublicKey)                                                         |     100 | Get public key by account id                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}<br />/subscriptions](https://tonapi.io/api-v2#operations-Accounts-getAccountSubscriptions)                                                 |     100 | Get all subscriptions by wallet address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [direct/v1/TonAPI/v2/address/\{account\_id}/parse](https://tonapi.io/api-v2#operations-Address-getAddressParse)                                                                         |     100 | parse address and display in all formats                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_all\_shards\_info/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getAllRawShardsInfo)                                       |     100 | Get all raw shards info                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/\{account\_id}/inspect](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainAccountInspect)                                      |     100 | Blockchain account inspect                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [direct/v1/TonAPI/v2/blockchain/blocks/\{block\_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainBlock)                                                                 |     100 | Get blockchain block data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [direct/v1/TonAPI/v2/blockchain/config](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainConfig)                                                                             |     100 | Get blockchain config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/\{masterchain\_seqno}/config](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainConfigFromBlock)                            |     100 | Get blockchain config from a specific block, if present.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/\{masterchain\_seqno}/blocks](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainMasterchainBlocks)                          |     100 | 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.                                                                                                                                                                                                                                    |
| [direct/v1/TonAPI/v2/blockchain/masterchain-head](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainMasterchainHead)                                                          |     100 | Get last known masterchain block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/\{masterchain\_seqno}/shards](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainMasterchainShards)                          |     100 | Get blockchain block shards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/\{account\_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainRawAccount)                                                  |     100 | Get low-level information about an account taken directly from the blockchain.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [direct/v1/TonAPI/v2/blockchain/validators](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainValidators)                                                                     |     100 | Get blockchain validators                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [direct/v1/TonAPI/v2/dns/auctions](https://tonapi.io/api-v2#operations-DNS-getAllAuctions)                                                                                              |     100 | Get all auctions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [direct/v1/TonAPI/v2/dns/\{domain\_name}](https://tonapi.io/api-v2#operations-DNS-getDnsInfo)                                                                                           |     100 | Get full information about domain name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [direct/v1/TonAPI/v2/dns/\{domain\_name}/resolve](https://tonapi.io/api-v2#operations-DNS-getDnsResolve)                                                                                |     100 | DNS resolve for domain name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [direct/v1/TonAPI/v2/dns/\{domain\_name}/bids](https://tonapi.io/api-v2#operations-DNS-getDomainBids)                                                                                   |     100 | Get domain bids                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [direct/v1/TonAPI/v2/events/\{event\_id}](https://tonapi.io/api-v2#operations-Events-getEvent)                                                                                          |     100 | 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. |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/\{account\_id}/methods/\{method\_name}](https://tonapi.io/api-v2#operations-Blockchain-getExecGetMethodForBlockchainAccount)             |     100 | Execute get method for account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [direct/v1/TonAPI/v2/experimental/inscriptions<br />/op-template](https://tonapi.io/api-v2#operations-Inscriptions-getInscriptionOpTemplate)                                            |     100 | return comment for making operation with inscription. please don't use it if you don't know what you are doing                                                                                                                                                                                                                                                                                                                                                                                                                |
| [direct/v1/TonAPI/v2/jettons/\{account\_id}/holders](https://tonapi.io/api-v2#operations-Jettons-getJettonHolders)                                                                      |     100 | Get jetton's holders                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [direct/v1/TonAPI/v2/jettons/\{account\_id}](https://tonapi.io/api-v2#operations-Jettons-getJettonInfo)                                                                                 |     100 | Get jetton metadata by jetton master address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/jettons](https://tonapi.io/api-v2#operations-Jettons-getJettons)                                                                                                   |     100 | Get a list of all indexed jetton masters in the blockchain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [direct/v1/TonAPI/v2/events/\{event\_id}/jettons](https://tonapi.io/api-v2#operations-Events-getJettonsEvents)                                                                          |     100 | Get only jetton transfers in the event                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_out\_msg\_queue\_sizes](https://tonapi.io/api-v2#operations-Lite%20Server-getOutMsgQueueSizes)                                               |     100 | Get out msg queue sizes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [direct/v1/TonAPI/v2/liteserver/get\_account\_state<br />/\{account\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawAccountState)                                         |     100 | Get raw account state                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [direct/v1/TonAPI/v2/liteserver/get\_block<br />/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockchainBlock)                                                 |     100 | Get raw blockchain block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [direct/v1/TonAPI/v2/liteserver/get\_block\_header<br />/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockchainBlockHeader)                                   |     100 | Get raw blockchain block header                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [direct/v1/TonAPI/v2/liteserver/get\_state<br />/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockchainBlockState)                                            |     100 | Get raw blockchain block state                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [direct/v1/TonAPI/v2/blockchain/config/raw](https://tonapi.io/api-v2#operations-Blockchain-getRawBlockchainConfig)                                                                      |     100 | Get raw blockchain config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/\{masterchain\_seqno}/config/raw](https://tonapi.io/api-v2#operations-Blockchain-getRawBlockchainConfigFromBlock)                     |     100 | Get raw blockchain config from a specific block, if present.                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/liteserver/get\_block\_proof](https://tonapi.io/api-v2#operations-Lite%20Server-getRawBlockProof)                                                                  |     100 | Get raw block proof                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [direct/v1/TonAPI/v2/liteserver/get\_config\_all<br />/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawConfig)                                                    |     100 | Get raw config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_masterchain\_info](https://tonapi.io/api-v2#operations-Lite%20Server-getRawMasterchainInfo)                                                  |     100 | Get raw masterchain info                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_masterchain\_info\_ext](https://tonapi.io/api-v2#operations-Lite%20Server-getRawMasterchainInfoExt)                                          |     100 | Get raw masterchain info ext                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/liteserver<br />/get\_shard\_block\_proof/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawShardBlockProof)                                   |     100 | Get raw shard block proof                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [direct/v1/TonAPI/v2/liteserver/get\_shard\_info<br />/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawShardInfo)                                                 |     100 | Get raw shard info                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [direct/v1/TonAPI/v2/liteserver/get\_time](https://tonapi.io/api-v2#operations-Lite%20Server-getRawTime)                                                                                |     100 | Get raw time                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/accounts/search](https://tonapi.io/api-v2#operations-Accounts-searchAccounts)                                                                                      |     100 | Search by account domain name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [direct/v1/TonAPI/v2/storage/providers](https://tonapi.io/api-v2#operations-Storage-getStorageProviders)                                                                                |     100 | Get TON storage providers deployed to the blockchain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [direct/v1/TonAPI/v2/tonconnect/payload](https://tonapi.io/api-v2#operations-Connect-getTonConnectPayload)                                                                              |     100 | Get a payload for further token receipt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

### POST

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

## Token

### GET

| Path                                                                                                                    | Est. CU | Description                              |
| ----------------------------------------------------------------------------------------------------------------------- | ------: | ---------------------------------------- |
| [direct/v1/TonAPI/v2/address/\{account\_id}/parse](https://tonapi.io/api-v2#operations-Address-getAddressParse)         |     100 | parse address and display in all formats |
| [direct/v1/TonAPI/v2/blockchain/blocks/\{block\_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainBlock) |     100 | Get blockchain block data                |
| [direct/v1/TonAPI/v2/status](https://tonapi.io/api-v2#operations-Status-getStatus)                                      |     100 | Status                                   |

## Transaction

### GET

| Path                                                                                                                                                                       | Est. CU | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}<br />/jettons/history](https://tonapi.io/api-v2#operations-Accounts-getAccountJettonsHistory)                                 |     100 | Get the transfer jettons history for account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/nfts<br />/history](https://tonapi.io/api-v2#operations-Accounts-getAccountNftHistory)                                        |     100 | Get the transfer nft history                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [direct/v1/TonAPI/v2/accounts/\{account\_id}/traces](https://tonapi.io/api-v2#operations-Accounts-getAccountTraces)                                                        |     100 | Get traces for account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/\{account\_id}/transactions](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainAccountTransactions)               |     100 | Get account transactions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [direct/v1/TonAPI/v2/blockchain/blocks/\{block\_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainBlock)                                                    |     100 | Get blockchain block data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [direct/v1/TonAPI/v2/blockchain/blocks/\{block\_id}<br />/transactions](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainBlockTransactions)                     |     100 | Get transactions from block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [direct/v1/TonAPI/v2/blockchain/masterchain<br />/\{masterchain\_seqno}/transactions](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainMasterchainTransactions) |     100 | Get all transactions 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.                                                                                                                                                                                                                               |
| [direct/v1/TonAPI/v2/blockchain/transactions<br />/\{transaction\_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainTransaction)                            |     100 | Get transaction data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [direct/v1/TonAPI/v2/blockchain/messages/\{msg\_id}<br />/transaction](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainTransactionByMessageHash)               |     100 | Get transaction data by message hash                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [direct/v1/TonAPI/v2/events/\{event\_id}](https://tonapi.io/api-v2#operations-Events-getEvent)                                                                             |     100 | 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. |
| [direct/v1/TonAPI/v2/nfts/\{account\_id}/history](https://tonapi.io/api-v2#operations-NFT-getNftHistoryByID)                                                               |     100 | Get the transfer nfts history for account                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [direct/v1/TonAPI/v2/liteserver<br />/list\_block\_transactions/\{block\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawListBlockTransactions)               |     100 | Get raw list block transactions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [direct/v1/TonAPI/v2/liteserver/get\_transactions<br />/\{account\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawTransactions)                              |     100 | Get raw transactions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [direct/v1/TonAPI/v2/traces/\{trace\_id}](https://tonapi.io/api-v2#operations-Traces-getTrace)                                                                             |     100 | Get the trace by trace ID or hash of any transaction in trace                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

### POST

| Path                                                                                          | Est. CU | Description                           |
| --------------------------------------------------------------------------------------------- | ------: | ------------------------------------- |
| [direct/v1/TonAPI/v2/traces/emulate](https://tonapi.io/api-v2#operations-Traces-emulateTrace) |     100 | Emulate sending message to blockchain |

## Wallets

### GET

| Path                                                                                                                                            | Est. CU | Description                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ------: | ------------------------------------------------------------------------------ |
| [direct/v1/TonAPI/v2/wallet/\{account\_id}/seqno](https://tonapi.io/api-v2#operations-Wallet-getAccountSeqno)                                   |     100 | Get account seqno                                                              |
| [direct/v1/TonAPI/v2/blockchain/accounts<br />/\{account\_id}](https://tonapi.io/api-v2#operations-Blockchain-getBlockchainRawAccount)          |     100 | Get low-level information about an account taken directly from the blockchain. |
| [direct/v1/TonAPI/v2/liteserver/get\_account\_state<br />/\{account\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawAccountState) |     100 | Get raw account state                                                          |
| [direct/v1/TonAPI/v2/liteserver/get\_transactions<br />/\{account\_id}](https://tonapi.io/api-v2#operations-Lite%20Server-getRawTransactions)   |     100 | Get raw transactions                                                           |
| [direct/v1/TonAPI/v2/pubkeys/\{public\_key}/wallets](https://tonapi.io/api-v2#operations-Wallet-getWalletsByPublicKey)                          |     100 | Get wallets by public key                                                      |

### POST

| Path                                                                                                    | Est. CU | Description                             |
| ------------------------------------------------------------------------------------------------------- | ------: | --------------------------------------- |
| [direct/v1/TonAPI/v2/wallet/emulate](https://tonapi.io/api-v2#operations-Wallet-emulateMessageToWallet) |     100 | Emulate sending message to blockchain   |
| [direct/v1/TonAPI/v2/wallet/auth/proof](https://tonapi.io/api-v2#operations-Wallet-tonConnectProof)     |     100 | Account verification and token issuance |

### PUT

| Path                                                                                            | Est. CU | Description     |
| ----------------------------------------------------------------------------------------------- | ------: | --------------- |
| [direct/v1/TonAPI/v2/wallet/backup](https://tonapi.io/api-v2#operations-Wallet-setWalletBackup) |     100 | Set backup info |
