Website
Dashboard
Website
Dashboard
  • ๐Ÿ‘‰ Welcome
  • ๐Ÿง How to set up an account
  • ๐Ÿ“ˆ Monitoring and analytics
  • ๐Ÿ” Introducing coins vs tokens
  • ๐Ÿ‘จโ€๐Ÿ’ผ The meaning of owning crypto
  • ๐Ÿ’ฐ Wallets
  • ๐Ÿ“œ Supported Blockchains
  • GITHUB
    • ๐Ÿ˜ SDK PHP
    • ๐Ÿ“ SDK Python
    • ๐Ÿ‘จโ€๐Ÿ’ป SDK GOLANG
    • โœณ๏ธ SDK NODE JS
    • โœณ๏ธ PHP Wallet
  • API REFERENCE
    • ๐Ÿ”‘ Authentication & base URL
    • Bitcoin
      • ๐Ÿ” Info
        • ๐Ÿง Check BTC node health
        • ๐Ÿ“œ Get latest Bitcoin block
      • ๐Ÿ†Ž Block
        • ๐Ÿ“ˆ Get Bitcoin block by height
        • ๐Ÿ‘จโ€๐Ÿ’ป Get Bitcoin block by hash
        • ๐Ÿ“‘ Get transaction count in block by height
        • ๐Ÿ“‘ Get transaction count in block by hash
      • ๐Ÿ’ฐ Transactions
        • ๐Ÿ‘จโ€๐Ÿ’ป Get Bitcoin transaction by hash
        • ๐Ÿ“ Send pre-signed raw Bitcoin transaction
      • ๐Ÿ‘จโ€๐Ÿ’ผ Account
        • ๐Ÿ’ฐ List BTC addresses managed by node wallet
        • ๐Ÿ†Ž Get BTC received amount for address
      • ๐Ÿ” Watch-only addresses
        • ๐Ÿ” Register an account zpub
        • ๐Ÿ“œ List registered extended public keys
        • ๐Ÿ†Ž Issue the next BTC address
        • ๐Ÿ“‘ History of issued BTC addresses
        • โŒ Delete a registered zpub
      • ๐Ÿ” JSON-RPC
        • ๐Ÿ” JSON-RPC
    • Ethereum
      • ๐Ÿ” Info
        • ๐Ÿง Check ETH node health
        • ๐Ÿ“œ Get latest Ethereum block
      • ๐Ÿ†Ž Block
        • ๐Ÿ“ˆ Get Ethereum block by height
        • ๐Ÿ‘จโ€๐Ÿ’ป Get Ethereum block by hash
        • ๐Ÿ“‘ Get transaction count in block by height
        • ๐Ÿ“‘ Get transaction count in block by hash
      • ๐Ÿ’ฐ Transactions
        • ๐Ÿ‘จโ€๐Ÿ’ป Get Ethereum transaction by hash
        • ๐Ÿ‘จโ€๐Ÿ’ป Get Ethereum transaction receipt by hash
        • ๐Ÿ“ Send pre-signed raw Ethereum transaction
      • ๐Ÿ‘จโ€๐Ÿ’ผ Account
        • ๐Ÿ” List ETH accounts managed by node
        • ๐Ÿ†Ž Get ETH balance for address
        • ๐Ÿ†Ž Get transaction count (nonce) for address
        • ๐Ÿ‘‰ Estimate gas for transaction
        • ๐Ÿ“‘ Read-only contract call (eth_call)
        • ๐Ÿ‘จโ€๐Ÿ’ผ Send transaction from node-managed account
      • ๐Ÿ” Watch-only addresses
        • ๐Ÿ” Register an account xpub
        • ๐Ÿ“œ List registered extended public keys
        • ๐Ÿ†Ž Issue the next ETH address
        • ๐Ÿ“‘ History of issued ETH addresses
        • โŒ Delete a registered xpub
      • ๐Ÿ” JSON-RPC
        • ๐Ÿ” JSON-RPC
    • Tron
      • ๐Ÿ” Info
        • ๐Ÿ“‘ Get TRX node info
        • ๐Ÿง Check Tron node health
        • ๐Ÿช™ List supported TRC20 tokens
      • ๐Ÿ†Ž Block
        • ๐Ÿ“œ Get latest Tron block
        • ๐Ÿ“œ Get latest N blocks
        • ๐ŸŸ  Get block by number
        • ๐Ÿ‘จโ€๐Ÿ’ป Get block by hash
      • ๐Ÿ’ฐ Transactions
        • ๐Ÿ‘จโ€๐Ÿ’ป Get transaction by hash
        • ๐Ÿ†Ž Get all transactions for an address
        • ๐Ÿ“ Create an unsigned transaction
        • ๐Ÿ“ก Broadcast a signed transaction
      • ๐Ÿ‘จโ€๐Ÿ’ผ Account
        • ๐Ÿ†Ž Validate a Tron address
        • ๐Ÿ” Get account information
        • ๐Ÿ’ฐ Get account balance
        • ๐Ÿ’ฐ Get all asset balances
        • ๐Ÿ’ต Get a single TRC20 balance
        • โš ๏ธ Create a new Tron address (deprecated)
        • โš ๏ธ Generate a private key from a mnemonic (deprecated)
        • โš ๏ธ Send TRX from one address to another (deprecated)
        • โš ๏ธ Send USDT (TRC20) from one address to another (deprecated)
      • ๐Ÿ“Š Schemas
      • ๐Ÿ” JSON-RPC
    • Webhooks
      • โœณ๏ธ Management
        • ๐Ÿ‘จโ€๐Ÿ“œ List webhooks
        • ๐Ÿง Create webhook
        • ๐Ÿ‘‰ Get webhook
        • ๐Ÿ‘จโ€๐Ÿ” Update webhook
        • โŒ Delete webhook
        • ๐Ÿ”‘ Rotate signing secret
      • ๐Ÿ“จ Receiving notifications

๐Ÿ” Get account information

Code samples

GET /api/v1/trx/account/{address}

curl 'https://settla.net/api/v1/trx/account/TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9' \
  -H 'X-API-Key: $SETTLA_API_KEY' \
  -H 'Accept: application/json'

Returns the raw account record from the node (/wallet/getaccount): TRX balance, resource counters, permissions and the full TRC10 holdings. Two things to plan for. The field set is not fixed โ€” the node omits anything that is zero or unset, so owner_permission, active_permission, latest_withdraw_time and others are simply absent on many accounts; always read defensively. And assetV2 lists every TRC10 token ever airdropped to the address, which on mainnet is routinely 250โ€“300 entries, so this response is tens of kilobytes. For a symbol-resolved view use GET /api/v1/trx/account/{address}/assets instead. An address that has never appeared on chain answers 200 with an empty array [].

๐Ÿ› ๏ธ Parameters

NameInTypeRequiredDescription
addresspathstringtrueBase58 Tron address.

Example responses

200 Response

{
  "address": "TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9",
  "balance": 35216519,
  "create_time": 1533891702000,
  "latest_opration_time": 1729421388000,
  "latest_withdraw_time": 1635774720000,
  "latest_consume_time": 1780501704000,
  "latest_consume_free_time": 1729421289000,
  "net_window_size": 28800000,
  "net_window_optimized": true,
  "account_resource": {
    "latest_consume_time_for_energy": 1785534303000,
    "energy_window_size": 28800000,
    "energy_window_optimized": true
  },
  "frozenV2": [
    [],
    {
      "type": "ENERGY"
    },
    {
      "type": "TRON_POWER"
    }
  ],
  "assetV2": [
    {
      "key": "1004108",
      "value": 10399700
    },
    {
      "key": "1001510",
      "value": 100
    }
  ],
  "free_asset_net_usageV2": [
    {
      "key": "1004108",
      "value": 0
    },
    {
      "key": "1001510",
      "value": 0
    }
  ],
  "asset_optimized": true
}

500 Response

{
  "error": "Could not connect to TRX node."
}

๐Ÿ” Responses

StatusMeaningDescriptionSchema
200OKAccount detailsInline
500Internal Server ErrorCould not connect to TRX nodeInline

๐Ÿ”„ Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
ยป addressstringfalsenonenone
ยป balanceinteger(int64)falsenoneTRX balance in SUN.
ยป create_timeinteger(int64)falsenoneMilliseconds since the Unix epoch.
ยป latest_opration_timeinteger(int64)falsenoneSpelled opration โ€” this is java-tron's own typo, reproduced verbatim. There is no latest_operation_time field.
ยป latest_withdraw_timeinteger(int64)falsenonenone
ยป latest_consume_timeinteger(int64)falsenonenone
ยป latest_consume_free_timeinteger(int64)falsenonenone
ยป net_window_sizeintegerfalsenonenone
ยป net_window_optimizedbooleanfalsenonenone
ยป account_resourceobjectfalsenoneEnergy counters.
ยป owner_permissionobjectfalsenoneAbsent on accounts that never customised their permissions.
ยป active_permission[object]falsenonenone
ยป frozenV2arrayfalsenoneStaked positions. Note the mixed shape โ€” the first element is an array, the rest are objects.
ยป assetV2[object]falsenoneEvery TRC10 token the address holds, as {key, value} where key is the numeric token id. Routinely 250โ€“300 entries on mainnet because of airdrop spam; use GET /api/v1/trx/account/{address}/assets for a symbol-resolved view.
ยปยป keystringfalsenonenone
ยปยป valueintegerfalsenonenone
ยป free_asset_net_usageV2[object]falsenoneFree bandwidth used per TRC10 token, same keying as assetV2.
ยป asset_optimizedbooleanfalsenonenone

Status Code 500

NameTypeRequiredRestrictionsDescription
ยป errorstringfalsenonenone
ยป detailsobjectfalsenonePresent only on a few validation errors.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth
Prev
๐Ÿ†Ž Validate a Tron address
Next
๐Ÿ’ฐ Get account balance