Tron is a high-performance Layer 1 blockchain designed to support decentralized applications (dApps), digital assets, and smart contracts at scale. It offers high throughput, low latency, and minimal transaction fees, making it suitable for DeFi, NFTs, gaming, and more.
The Tron API allows developers to interact with the Tron blockchain via HTTP JSON endpoints. It provides access to core functionality like querying block and transaction data, interacting with TRC-10 and TRC-20 tokens, invoking smart contracts, and managing accounts.
Check out our Tron API Quickstart guide for setup instructions, sample code, and your first API call.
Yes. Tron supports smart contracts written in Solidity and deployed to the TRON Virtual Machine (TVM). These contracts can be triggered via the API using methods like triggersmartcontract and triggerconstantcontract.
Tron offers a custom HTTP JSON RPC-style API, rather than the standard Ethereum-style JSON-RPC. Each method has a dedicated endpoint, such as /wallet/getaccount or /wallet/getnowblock.
To use Alchemy’s infrastructure for interacting with the Tron network, developers must include their API key in the request URL. This key identifies and authenticates your app, and enables access to Alchemy’s enhanced performance and tooling.
You can use any HTTP client such as axios, fetch, requests, or curl. Alchemy’s Tron API is language-agnostic and accessible from any environment that can make HTTPS requests.
Any language that can make HTTP or JSON-RPC requests is compatible. Common languages include JavaScript/TypeScript, Python, Go, and Rust.
Transaction fees on Tron are paid in TRX, the network’s native currency. Resource models (Bandwidth and Energy) also affect costs depending on the transaction type and execution complexity.
You can find a full list of supported JSON-RPC methods on the Tron API Endpoints page.
If you have any questions or feedback, please contact us at support@alchemy.com or open a ticket in the dashboard.