---
title: "Rent Tron energy for an address"
method: POST
path: "/v1/payment/tron-energy/rent"
tags: ["Payment"]
---

# Rent Tron energy for an address

`POST /v1/payment/tron-energy/rent`

## Request

- Base URL: `https://api.waxpeer.com`
- URL: `https://api.waxpeer.com/v1/payment/tron-energy/rent`
- Auth: none declared

Rents Tron energy for the specified address, deducting the cost from the user's balance. The cost is determined by the current TRX price and the amount of energy required (5 TRX for 65000 energy or 10 TRX for 131000 energy).

## Query parameters

- `api` string, required

## Request body

- object
  - `address` string, required: Tron wallet address to rent energy for

## Response `200`

successful operation

- object
  - `success` boolean
  - `address` string: Tron wallet address that energy was rented for
  - `total_cost` number: Amount deducted from user balance in cents
  - `msg` string: Success or error message

---

[API](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system.md) - [All operations](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/llms.txt) - [OpenAPI document](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/revisions/dd3dfdd641bb?raw)
