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キーを取得