Everything you need to know about Tron

TRON is a decentralized, open-source blockchain-based operating system. It provides a decentralized virtual machine, which can execute a program using an international network of public nodes. The network has zero transaction fees and conducts approximately 2,000 transactions per second. Established in Singapore, it has a strong foot-hold in the Asian market, and it recently announced partnership with South Korean tech giant Samsung which will help distribute Tron-based DApps and tokens to Samsung’s worldwide users.

TRON aims for a decentralized web by building an infrastructure for smart contracts and decentralized apps to enable the future of the internet. TRON blockchain network is powered by Tron TRX, a proof of stake cryptocurrency, which is used in several ways such as granting stakers voting rights, issuing other DApp tokens on TRON, and is also used as cryptocurrency to trade and make payments while being stored in the TRON wallet.

Products of TRON include, TRX TRON coin, TRON wallet, bittorrent and blockchain blogging platform steemit. Tron plans to create a decentralized internet and a platform for smart contracts and decentralized apps.

Our Bitquery Explorer can fetch data from the TRON network and help you with the queries.

The above link directs you to the Bitquery Explorer.

Blocks

Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data. It can be thought of as a page in the ledger containing a number of transactions. You can get the information related to the latest blocks under the blocks tab

This can be generated using the following query too

Latest TRON blocks, using the Open GraphQL IDE button.

There’s a login option at the top right corner of the page.

To use the GraphQL IDE, you first need to sign up by filling in the required details if you’re using the IDE for the first time or sign in using your email address and a password if you have already registered in order to be able to save your queries and explore all the features of the platform.

Once logged in, you can easily navigate through our platform.

Transactions

Under the transactions tab, you can get the latest transactions, Transactions by date and the fee spent by date too.

The query for the same is TRON transactions
There are sections for the Transactions by Date and Fee Spent by Date too.

To get the pre-written queries for these, you need to click on the Open GraphQL IDE in the bottom right corner or these sections.

Upon clicking on this button, you shall be redirected to the GraphQL IDE

Here you can click on the prettify button to make the query more understandable and then run it to get the required data.

Transfers

The transfers tab gives information about all the transfers taking place on the TRON network with details such as timestamp, block, sender, receiver, amount, currency and hash.

Query for the same Tron transfers

DEX

DEX stands for decentralized exchange. It’s a peer-to-peer (P2P) marketplace that connects cryptocurrency buyers and sellers. The DEX tab offers a lot of information like Count of DEX Trades By Exchange, Amounts of DEX Trades By Exchange, the different DEX Exchanges, Count of DEX Trades By Exchange, and Amounts of DEX Trades By Exchange.

Clicking on the Open GraphQL IDE button generates the following query for us.

To get the amount of DEX Trades by Exchange, we can use the following query.

Similarly at the bottom of the page you’ll find sections for DEX Exchanges, and pie charts for Counts and Amounts of DEX Trades by Exchange.The queries for all these can be created using the open GraphQL IDE button at the bottom right corner of each section.

DEX Protocol

The DEX protocols provide practical information for managers and front-line staff to integrate data definitions and requirements into existing administrative practices.This section gives you count of DEX Trades By Protocol, DEX Smart Contract Protocols, Count of DEX Trades By Protocol, and DEX Smart Contracts.

The query for the same is TRON DEX by protocol

At the bottom of the page we have sections for the DEX Smart Protocols and the Count of DEX Trades by Protocol.

To generate the queries for these sections, you just need to click on th Open GraphQL IDE button.

DEX Trades

This tab gives all the information related to DEX trades on the TRON network in graphical format like the trades, DEX Smart Contract and traded currency by time, trade takers etc. Open GraphQL IDE button gives an automatically generated query for the same.

You can also get token trades for the DEX Trades.

Query for the same can be obtained from TRON Token trades

DEX Tokens

This tab gives all the DEX token related information like the token order pair, trades by currency and traded currency by time etc.

The queries for these details can be obtained using the GraphQL IDE button.

Trade Order Pairs: Trade order pairs

Smart contract

A smart contract is a computer program or a transaction protocol that is intended to automatically execute, control relevant events and actions according to the terms of a contract or an agreement. This tab provides diverse info regarding smart contract such as smart contract calls by date,unique smart contracts calls, latest and top smart contracts calls and method.

To get the Latest Smart Contract calls we can use this query: TRON latest scc

At the bottom of this page there are sections giving information about the Top Smart COntract Calls and Top Smart Contract Methods. To get the queries for the same, you just need to click on the Open GraphQL IDE button.

Trades

The trades tab gives an attractive graphical representation of trades by time, currency and token pair.

** Token trades by Currency can be obtained using the query TRON trades by currency. **

For the other queries, you can use the Open GraphQL IDE button.

Contracts

This tab gives the Contracts by date, trades by currency and latest contracts

The latest contracts can be queried using TRON Latest contracts

why does not work the query?
I don’t see trxs

Hello. Please share the query.

query ($address: String!){
tron(network: tron) {
transactions(options: {limit: 10}) {
fee
hash
success
contractAddress(contractAddress: {is: $address}) {
address
}
}
}
}

params:
{
“address”:“TTD9NcLJKSbYWdRB1ApwZLbPbTe4CgvYoR”
}

Contract address is not the field to put the wallet address. You need txhash of the transfer.

Use inflow/outflow instead: TRON Mainnet recieved by TTD9NcLJKSbYWdRB1ApwZLbPbTe4CgvYoR

2 Likes