pet
Request
token api key contract developer
Body Params application/json
Delegate time unit in minutes [15,60,180,1440,4320]
{
"receiver_address": "string",
"energy_amount": 0,
"duration": 15
}
Request samples
curl --location --request POST 'https://www.trongas.org/api/v2/orders/create' \
--header 'Authorization: aaa-bbb-ccc' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
application/json remaining_balance_in_trx
number
required{
"orderid": "rcx7zli8-kpgx-evsn",
"energy_amount": "65000",
"fees_in_trx": "2.99",
"remaining_balance_in_trx": "82.06",
"code": 0,
"success": "success"
}
Modified at 2025-01-02 15:04:11