API

Energy API
Put energy rental inside your own system

One POST replaces manual ordering: rent energy for the destination address at withdrawal time and get order status pushed back to you.

Throughput
100+ orders/sec
Delivery
1–3 minutes
Auth
API key + IP allowlist
ADVANTAGES

What it gives you

THROUGHPUT

High throughput

Over 100 orders per second, enough for production volume.

SPEED

Fast delivery

Energy is delegated within 1–3 minutes of the order confirming.

CALLBACK

Real-time callbacks

Status changes are pushed to you — no polling.

VOLUME

Volume pricing

Larger orders get lower rates.

SECURITY

Layered security

API key auth, IP allowlisting and request signing.

REPORT

Reporting

Order management and statistics you can reconcile against directly.

ONBOARDING

Getting connected

Four steps from sign-up to first call.

01

Create an account

Sign up for Rolthe and complete verification.

02

Create an API key

Generate a key in the console and set your IP allowlist.

03

Fund the balance

Top up in USDT or TRX.

04

Start calling

Follow the docs and start ordering automatically.

ENDPOINTS

API at a glance

A small REST surface, authenticated with an API key and optionally bound to an IP allowlist.

GET

/api/v1/energy/price

Current energy rental price

POST

/api/v1/energy/purchase

Buy energy for an address

GET

/api/v1/energy/order/{id}

Look up a single order

POST/api/v1/energy/purchase
Request
curl -X POST https://rolthe.com/api/v1/energy/purchase \
  -H "X-API-Key: $ROLTHE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "target_address": "TXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "energy_amount": 65000,
    "rent_time": 1
  }'
USE CASES

Who runs this

CEX

Exchanges

Rent energy for the destination address at withdrawal time so users pay less.

WALLET

Wallets

Build energy rental in and give users cheap transfers in one tap.

DAPP

DApps

Games and DeFi apps cover energy for their users.

BOT

Bots

Trading and arbitrage bots managing energy automatically.

Connect the energy API

Straightforward integration, automated rental, lower cost per transfer.