Get seller panel
Endpoint usage
POST
https://open.tronify.io/api/tronRent/sellerSellInfo
The fields with * are required, and the fields without * are optional
Headers
Name
Type
Description
api-key*
String
Access the buyer management platform of tronify.io to obtain it
Request Body
Name
Type
Description
fromAddress*
String
User address (Wallet address)
sourceFlag*
String
Source channel (Both sides need to agree on a name to represent the channel of the third parties)
{
"resCode": 100,
"resMsg": "Success",
"data": {
"total_settled_amount":12318.87016499999,//Accumulated earnings
"today_settled_amount":959.9134970000006,//Number of TRX settled today
"today_settled_count":44,//Number of transactions settled today
"today_sale_energy":5877000,//Energy sold today
"today_pending_recover_energy":128000,//Energy waiting to be reclaimed today
"today_pending_recover_trx":7906,//trx waiting to be reclaimed today
"today_pending_recover_bandwidth":0,//Bandwidth to be reclaimed today
"yesterday_settled_amount":1937.5649959999998,//Number of TRX settled yesterday
"yesterday_settled_count":37,//Number of transactions settled yesterday
"yesterday_sale_energy":8365000,//Energy sold yesterday
"today_pending_amount":144.58000000000004//Number of TRX waiting to be settled
}
}
code example
// example
const params = {
address: 'TKghVbeEzvrV8GLK3YE1gRrjVHSf8rGB6k',
sourceFlag: 'tronLink'
}
const headers = {
'api-key': 'your-api-key'
};
const res = await axios.post('https://open.tronify.io/api/tronRent/sellerSellInfo',params, { headers })
console.log(res)
if(res.resCode === '100'){
//... Check if res.data is empty, if it is, then it is unauthorized.
}
Postman example

Last updated