getaccount
TRONC1Returns the on-chain account object for a TRON address — TRX balance, bandwidth, frozen balances and permissions. Served from our own TRON nodes.
Endpoint
POST https://api.1st-node.com/v1/tron/wallet/getaccountParameters
| Name | Type | Description |
|---|---|---|
| address | string | TRON address (base58 or hex). |
| visible | boolean | true to use base58 addresses in the response. |
Returns
object — the account, including balance (in sun) and resources.
Request
curl https://api.1st-node.com/v1/tron/wallet/getaccount \
-H "Authorization: Bearer $ONE_KEY" \
-H "content-type: application/json" \
-d '{ "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "visible": true }'{ "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "visible": true }Response
{ "address": "TR7NHqjeKQ…", "balance": 12500000, "create_time": 1600000000 }More state methods on TRON
常见问题
What unit is the balance in?
Sun — 1 TRX = 1,000,000 sun. Divide by 1e6 for TRX.
充值、拿密钥、上线。
自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。
获取 API 密钥