🌐 TON APIs Reference Overview | Full List of Methods by TONX API

TONX API provides a comprehensive suite of TON APIs to simplify and optimize common request patterns, dramatically enhancing the developer experience.

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. Below is a complete list of TON API methods tailored for various use cases.

Messages API

  • 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 detailed information on the given TON blockchain message.
  • Send Message: Send a new message to the TON blockchain.

Accounts API

Blocks API

📘

Note: 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.

NFT API

  • 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 API

Jettons API

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

Trace API

Generic API

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

TONX Lab APIs: Advanced Tools for TON Developers

At TONX Lab, we create powerful TON APIs and tools through the TONX API, specifically designed for TON developers. As a team actively building real use cases in the TON ecosystem, we understand the challenges and complexities of the TON API development process. TONX Lab APIs were created to address these challenges, aiming to make TON development smoother, more efficient, and less cumbersome.

  1. BoC Parsing Tools: The Bag of Cells (BoC) is a format used to serialize cells into byte arrays. In TON, everything—from contract code and stored data to blocks—is composed of cells, providing streamlined flexibility for developers.
    Our BoC Parsing Tool ensures your BoC is valid and ready to use, allowing you to verify it before sending any messages to the chain.

  2. BoC Status API: TON operates as an asynchronous chain, which can make handling simultaneous messages complex. The BoC Status API simplifies this by letting you easily check whether a BoC has completed successfully or failed. If an error occurs, it can help identify underlying issues causing the failure.