Connect to TRON through geo-balanced infrastructure that scales with request volume and routes traffic for reliable access across regions, with HTTP, JSON-RPC, and gRPC on one endpoint.
Run TRON workloads on isolated infrastructure with single-tenant resources and greater control over node configuration.
Build with managed TRON endpoints on Mainnet and the Nile Testnet. Every node serves the TRON HTTP API (/wallet 以及 /walletsolidity), gRPC, and a read-only /jsonrpc endpoint, and keeps the complete block and transaction history from genesis. WebSocket is not supported.
已通过SOC 2 II 型和ISO 27001 认证。
HTTP, solidity, JSON-RPC, and gRPC run on the same Chainstack node, so you can pick the interface that fits each workload.
Use /wallet for full node operations, including transactions, and /walletsolidity for confirmed (solidified) data. TronWeb.js handles deployment and transfers.
The Wallet, WalletSolidity, and Database services run on one :443 endpoint, authenticated with an x-token header, for indexers and high-throughput backends.
A limited Ethereum-compatible /jsonrpc endpoint lets web3.py, Hardhat, and Foundry read from TRON. Writes go through TronWeb.js and the HTTP API.
Nodes run in archive mode: every block and transaction from genesis, plus historical TRX balances, at 1 RU per request with no archive split.
Copy your endpoint and x-token from Access and credentials in the console, then run any of these.
const { TronWeb } = require('tronweb');
const tronWeb = new TronWeb({
fullHost: 'YOUR_CHAINSTACK_ENDPOINT'
});
const address = 'TWiEv2wfqQ8FkbAJ6bXt1uA2Uav9ZWvXip';
async function getBalance() {
try {
const balanceInSun = await tronWeb.trx.getBalance(address);
const balanceInTRX = tronWeb.fromSun(balanceInSun);
console.log(`Address: ${address}`);
console.log(`Balance in SUN: ${balanceInSun}`);
console.log(`Balance in TRX: ${balanceInTRX}`);
} catch (error) {
console.error('Error getting balance:', error);
}
}
getBalance();import grpc
import sys
sys.path.insert(0, './generated')
from api import api_pb2, api_pb2_grpc
ENDPOINT = "tron-mainnet.core.chainstack.com:443"
X_TOKEN = "YOUR_X_TOKEN"
def get_now_block():
# Create secure channel with TLS
credentials = grpc.ssl_channel_credentials()
channel = grpc.secure_channel(ENDPOINT, credentials)
# Create stub
stub = api_pb2_grpc.WalletStub(channel)
# Add x-token to metadata
metadata = [("x-token", X_TOKEN)]
# Call GetNowBlock
response = stub.GetNowBlock(
api_pb2.EmptyMessage(),
metadata=metadata,
timeout=15
)
print(f"Block number: {response.block_header.raw_data.number}")
print(f"Transactions: {len(response.transactions)}")
channel.close()
get_now_block()from web3 import Web3
# YOUR_CHAINSTACK_ENDPOINT is the node HTTPS endpoint with the /jsonrpc postfix
web3 = Web3(Web3.HTTPProvider('YOUR_CHAINSTACK_ENDPOINT'))
print(web3.eth.block_number)
运行高吞吐量的生产工作负载,根据您选择的每秒请求量档位,按月收取固定费用。
Keep infrastructure costs predictable as USDT transfer and exchange traffic grows.
Run TRON workloads on production-grade infrastructure with stable latency, predictable capacity, and reliable resources on Chainstack.

使用Chainstack Self-Hosted ,通过一键部署、自动修复、快照以及适配需求的配置,部署并运行TRON nodes 。
为需要可预测资源、高级配置以及大规模下稳定性能的生产工作负载,获取隔离的基础设施。
TRON uses its own HTTP API and gRPC interface, not Ethereum JSON-RPC. Your Chainstack node serves four surfaces on one endpoint: /wallet (full node operations, including transactions), /walletsolidity (confirmed data), a limited read-only /jsonrpc, and gRPC at tron-mainnet.core.chainstack.com:443 (Nile: tron-nile.core.chainstack.com:443) with the x-token header. gRPC serves protocol.Wallet, protocol.WalletSolidity,以及 protocol.Database; WalletExtension 以及 Monitor return UNIMPLEMENTED. WebSocket and event subscriptions are not supported. Use TronWeb.js for transactions and deployment; web3.py, Hardhat, and Foundry can read through /jsonrpc. Nodes run in archive mode with the complete block and transaction history from genesis but no historical contract state, and every request costs 1 RU.
You can also access TRON through the Chainstack MCP server — query onchain data, deploy nodes, and search Chainstack docs from Claude, Cursor, Windsurf, ChatGPT, Codex, Pi, Gemini, or any MCP-compatible or SKILL-compatible AI agent.