API reference

Background

TronQL is a full node API that supports the Tron blockchain network. This means that it provides developers with access to the complete set of blockchain data, including transactions, blocks, and smart contracts. By using a full node API, developers can interact with the Tron blockchain at a deeper level, enabling them to build more advanced and sophisticated applications.

Api docs

You can call api endpoints described in official docs.

Graphql docs

Graphql has very good support of the documentation. You can check it for mainnet. To make queries you can add Authorization header. Like on image below

Example api call

To get your token you need to add project in user dashboard.

curl --location --request POST 'https://mainnet.tron.tronql.com/wallet/getnowblock' --header 'Authorization: <your token>'

Last updated