Blockchain
The Blockchain service provides low-level access to the TON blockchain, enabling retrieval of detailed information about blocks, transactions, accounts, and more. These endpoints are essential for building tools that require deep blockchain data and are critical for applications that interact closely with the TON blockchain.
TONAPI ensures that data retrieved from the blockchain is accurate and up-to-date by continuously indexing the blockchain and maintaining a low-latency connection to the TON network.
Operations
getBlockchainRawAccount
- Get low-level information about an account taken directly from the blockchain.blockchainAccountInspect
- Blockchain account inspectexecGetMethodForBlockchainAccount
- Execute get method for accountgetBlockchainAccountTransactions
- Get account transactionsgetBlockchainBlock
- Get blockchain block datagetBlockchainBlockTransactions
- Get transactions from blockgetBlockchainConfig
- Get blockchain configgetRawBlockchainConfig
- Get raw blockchain configgetBlockchainMasterchainHead
- Get last known masterchain blockgetBlockchainMasterchainBlocks
- 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.getBlockchainConfigFromBlock
- Get blockchain config from a specific block, if present.getRawBlockchainConfigFromBlock
- Get raw blockchain config from a specific block, if present.getBlockchainMasterchainShards
- Get blockchain block shardsgetBlockchainMasterchainTransactions
- 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.sendBlockchainMessage
- Send message to blockchaingetBlockchainTransactionByMessageHash
- Get transaction data by message hashgetReducedBlockchainBlocks
- Get reduced blockchain blocks datagetBlockchainTransaction
- Get transaction datagetBlockchainValidators
- Get blockchain validators