TONX API ushers in a new era of TON API software stacks in the TON blockchain with instant scaling, 99.9% uptime, and seamless tools for a unified developer experience. The TONX API offers various methods tailored to different use cases, allowing you to select the most appropriate API method based on the functionality you require.
Messages
- Estimate Fee: Estimate transaction fees of the given message processing. This may vary depending on the action content and the time elapsing.
- Get Message: Get detail information of the given TON blockchain message.
- Send Message: Send a new message to the TON blockchain.
Accounts
- Get Account Balance: Get the TON coin balance of the given address.
- Get Address Information: Get the basic account state of the given address, e.g., TON balance, account status, last transaction timestamp,…
- Get Address State: Get the state string of the given address.
- Get Extended Address Information: Get the additional information of the given address.
Blocks
- Get Block Header: Get specific block header for the given block number.
- Get Block Transactions: Get all transactions in the given block number.
- Get Consensus Block: Get block details of the consensus layer in the TON blockchain.
- Get Masterchain Block Signatures: Get Merkle signatures for the given block number.
- Get Masterchain Info: Get latest Masterchain block information.
Expiration Time
The Messages /Accounts / Blocks api are direct api, which retrieving your data directly through the TON peer-to-peer network. Through Direct API, you will be able to access low-level blockchain data more than other TON blockchain explorers.
Please be aware of the property of Direct API , it could only obtain data within 24 hours. This is the nature restriction from TON nodes, because it continuously does garbage collection with a small time window.
NFTs
- Get NFT Collections: Get information about NFT Collection, e.g., owner address, next index of the un-minted NFT Item, last transaction timestamp, parsed JSON metadata of the contract.
- Get NFT Items: Get information about NFT Item, e.g., owner address, the address of NFT Collection it belongs to, last transaction timestamp, parsed JSON metadata of the contract.
- Get NFT Transfers: Get the transaction details of transferring NFT Item.
Transactions
- Get TON Transactions: Get the detail information of TON blockchain transactions.
Jettons
- Get Jetton Masters: Get information about Jetton Master, e.g., admin address, total supply, last transaction timestamp, parsed JSON metadata of the contract.
- Get Jetton Transfers: Get transaction details of Jetton Transfer message.
- Get Jetton Wallets: Get information about Jetton Wallet, e.g., token balance, owner address, the address of Jetton Master it belongs to.
- Get Jetton Burns: Get the transaction details of Jetton Burn message.
Generic
- Run Get Method: Execute the smart contract get-method of the given address.
- Get Token Data: Get comprehensive information about Jetton Master, Jetton Wallet, NFT Collection, and NFT Item contracts.