Быстрая аренда (на сайте)
Occasional transfers or DApp use
Connect a wallet (TronLink or OKX Wallet) or log in with email, then choose the amount, rental period and receiving address; several addresses can be entered at once
GasStation предоставляет API аренды энергии и пропускной способности TRON и режим «Автоматическая аренда». Документация: gasdocs-en.gasstation.ai. Биржи, кошельки, платёжные платформы и DApp могут программно запрашивать цены, оформлять заказы, быстро пополнять ресурсы и получать уведомления. В консоли можно без кода настроить пополнение энергии при снижении запаса ниже порога.
Occasional transfers or DApp use
Connect a wallet (TronLink or OKX Wallet) or log in with email, then choose the amount, rental period and receiving address; several addresses can be entered at once
Business addresses that need energy all the time, without writing code
Set a threshold, top-up amount and rental period in the console; the system monitors the address and orders when energy runs low. Up to 3 addresses can be monitored at once
Exchanges, wallets, payment platforms, DApps and batch tasks whose own systems place orders
Call the endpoints at openapi.gasstation.ai to order, query and receive asynchronous notifications
Activated addresses that meet the Flash Recharge rules, billed on the amount actually used
Order through the Flash Recharge endpoint, one receiving address per order
Energy and bandwidth are ordered the same way. Individual users can simply order on the website; there is no need to integrate the API.
Через API можно проверить баланс и цены, оценить потребность в энергии, создать заказ, быстро пополнить энергию или пропускную способность и посмотреть историю делегирования. Статусы заказов приходят через асинхронные уведомления. Заказы по API и в режиме «Автоматическая аренда» оплачиваются с баланса аккаунта. Внесёнными TRX управляет GasStation для оплаты аренды. Закрытый ключ и сид-фраза не нужны. Адрес API: openapi.gasstation.ai. Документация: gasdocs-en.gasstation.ai.
Endpoint names match the docs; click a name to open its page.
Настройте режим «Автоматическая аренда» в консоли без написания кода.
Войдите в GasStation через кошелёк или электронную почту, откройте «Автоматическая аренда» и добавьте правило.
Enter the receiving address and set three things: the energy level that triggers a top-up (the threshold), how much energy to add each time, and the rental period.
Save and enable the rule. The system starts monitoring the address and creates an order to top up energy when it falls below the threshold.
Large volumes of withdrawals and internal transfers; sweeping funds between hot and cold wallets
Check the address's energy before a withdrawal, order through the API if it is short, and send the withdrawal once the delegation succeeds
User top-ups and payments, fund collection and distribution (batch payouts), merchant settlement
Поддерживайте запас энергии на адресе выплат через API или режим «Автоматическая аренда», чтобы тратить меньше TRX при нехватке энергии.
Users run contracts without preparing energy themselves (Gasless)
When the backend detects too little energy, top it up through the API first, then run the transaction
Many business addresses
Create orders and query status in batches to keep each address supplied
Batch airdrops, batch minting, automated settlement
Пополните энергию до запуска задачи или поддерживайте запас через режим «Автоматическая аренда».
The “DApp Gasless mode” in the product docs lets you pay the energy cost on your users' behalf.
If the transaction also needs bandwidth, you can top that up through the API in the same way.
Нужна энергия для разового перевода? Арендуйте её прямо на сайте GasStation.
Арендовать энергиюRequests go to openapi.gasstation.ai plus the endpoint path, directly in production; there is no test environment for now. See the Integration Guide and Overview pages in the docs for how request parameters are encrypted and formatted.
Energy reaches the receiving address through TRON's native resource delegation. Under normal conditions it usually arrives within seconds; in rare cases there may be a delay. The order and on-chain status are final.
curl -X GET \
'https://openapi.gasstation.ai /api/tron/gas/order/price? app_id=<YOUR_APP_ID>& data=<AES_ENCRYPTED_JSON>'Requests go to openapi.gasstation.ai plus the endpoint path. Each request carries two parameters, app_id and data, where data is a JSON string AES-encrypted with your secret. A response code of 0 means success. Request and response formats, parameters and codes are set out in the API docs.
Log in to GasStation and set an IP whitelist, then select API Management in the left menu and click Create API. Each user can create up to 3 API keys.
Open the API's details page to see its app_id and secret. You verify your identity with a signature before the secret is shown; keep it safe and do not share it.
On the Edit API page, enter the URL that should receive notifications in the Callback URL field (it must start with http:// or https://).
Top up your account with TRX. The top-up address accepts TRX only; you can find it on your account page or through the Query Balance endpoint.
Call Get Price to choose a rental period. To size an order for a specific transaction, call Estimate Order Amount first.
Place the order with Create Order or Energy / Bandwidth Flash Recharge. Each request carries a request_id, which cannot be reused within an account.
Track the order with Order List or Synchronize Proxy Records, or receive the Tron Resource Purchase Asynchronous Notification at your callback URL. If your server returns FAILURE or times out, the system retries, usually up to 5 times.
More detail: see “API security” on the Security page (/en/security).
Using the API does not require your wallet's private key or seed phrase. GasStation does not access or store users' private keys.
You must set an IP whitelist before you can create or use an API key, and each user can create up to 3 API keys. The API also applies rate limiting and permission control.
Requests travel over HTTPS, and request data is AES-encrypted.
Every request carries a request_id that cannot be reused within an account.
The secret is shown on the API details page only after signature verification. Keep it safe and do not share it. If it leaks, delete that API key on the platform to disable it and create a new one; deleting an API key asks for a wallet signature.
API orders are paid from your account balance, which is managed by GasStation. Resources reach the receiving address through TRON's native resource delegation, and every delegation can be looked up on TronScan.
Did not find your answer? Reach us through Telegram support, live chat on the website or service@gasstation.ai.
Связаться с поддержкой