Gas Station
- Introduction
- Integration Guide
- API Interface
- Transaction Callback Notification
- Error Code
Tron Resource
Query Balance
Query Balance
GET
/
api
/
mpc
/
tron
/
gas
/
balance
Copy
curl -X GET \
'https://openapi.gasstation.ai/api/mpc/tron/gas/balance?app_id=49e9c57da66788e5178c8fec2905067b&data=UJ3SABwJnabqiDf0WMSANU5L99g29LQDOcSsdTrUXXU='
Copy
{
"code": 0,
"msg": "Success",
"data": {
"symbol": "trx",
"balance": "92.4792050000000000"
}
}
Request Parameters
current timestamp,example: 1600128590
Response Parameters
Copy
curl -X GET \
'https://openapi.gasstation.ai/api/mpc/tron/gas/balance?app_id=49e9c57da66788e5178c8fec2905067b&data=UJ3SABwJnabqiDf0WMSANU5L99g29LQDOcSsdTrUXXU='
Copy
{
"code": 0,
"msg": "Success",
"data": {
"symbol": "trx",
"balance": "92.4792050000000000"
}
}
Copy
curl -X GET \
'https://openapi.gasstation.ai/api/mpc/tron/gas/balance?app_id=49e9c57da66788e5178c8fec2905067b&data=UJ3SABwJnabqiDf0WMSANU5L99g29LQDOcSsdTrUXXU='
Copy
{
"code": 0,
"msg": "Success",
"data": {
"symbol": "trx",
"balance": "92.4792050000000000"
}
}
Assistant
Responses are generated using AI and may contain mistakes.