TronFee
Get Internal Account Info
Read internal account information using API key on TronFee REST API v0.
Highlights
- Method: GET
- Endpoint: https://api-dev.TronFee.online/v0/user-info
- Auth: API key required in request headers.
- Use this endpoint to validate account state before creating buy-energy orders.
Rate limit: 15 requests per 1 second
Endpoint
GET https://api-dev.TronFee.online/v0/user-info200: OK
{
id: string,
balance: string,
represent_address: string,
deposit_address: string
}Example Response
{
"id": "user_id",
"balance": "1000000",
"represent_address": "TKVSaJQDWeKFSEXmA44pjxduGTxy999999",
"deposit_address": "TKVSaJQDWeKFSEXmA44pjxduGTxy999999"
}Example Code (JavaScript)
const getAccountInfo = async (apiKey) => {
const res = await fetch('https://api.TronFee.online/v0/user-info', {
method: 'GET',
headers: { apikey: apiKey }
});
return res.json();
};