TRON RPC Endpoints
Mainnet
HTTPS
https://api-tron-mainnet.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>/jsonrpc
Quick Start
BASH
curl -sS -X POST https://api-tron-mainnet.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>/jsonrpc \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
JAVASCRIPT
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-tron-mainnet.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>/jsonrpc');const latest = await provider.getBlockNumber();console.log('block', latest);
PYTHON
import requestsurl = 'https://api-tron-mainnet.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>/jsonrpc'payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': [] }resp = requests.post(url, json=payload)print(resp.json())
GO
package mainimport ("bytes""fmt""net/http""io/ioutil")func main() {url := "https://api-tron-mainnet.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>/jsonrpc"payload := []byte("{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_blockNumber\",\"params\":[]}")resp, err := http.Post(url, "application/json", bytes.NewBuffer(payload))if err != nil { panic(err) }defer resp.Body.Close()body, _ := ioutil.ReadAll(resp.Body)fmt.Println(string(body))}
TRON is a high-throughput blockchain focused on decentralizing digital content distribution. With a three-layer architecture (core, storage, application), it supports low-cost transactions, EVM-compatible smart contracts via the TRON Virtual Machine (TVM), and a vibrant DeFi ecosystem. TRON enables direct creator-audience interactions through decentralized apps (dApps) in gaming, social media, and NFT markets, while its DPoS consensus ensures energy efficiency and robust governance via elected Super Representatives.
Pricing
How many calls do you make per month?
/ month
Growth
$299
/month
- 500 Responses /sec
- Dedicated Account Manager
150,000,000 responses ≈ 150.0M • Base $299 + Overages $0
TRON Dedicated Node
$3900/month
- Unlimited RPS & Responses
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Dedicated Account Manager
- Pay in Crypto
- Tailored load balancing
- Access to Engineering teams
- Global data centers
Developer Resources
FAQs
What is the Dwellir TRON RPC URL?
Do you support WebSockets on TRON?
Do you support archive data on TRON?
How do I migrate from public TRON RPC endpoints?
What are TRON's network details and key features?
What SDKs can I use with Dwellir's TRON endpoints?
What's the difference between Energy and Bandwidth on TRON, and how do I optimize transaction fees?
How do I freeze TRX for Energy or Bandwidth using the API?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure