# POST /tronEnergy/delegateEnergy
# Delegate Energy to a TRON address (1h, 1d, 3d, 7d, 14d)
curl -X POST https://products-api.getblock.io/tronEnergy/delegateEnergy \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target_address": "TUo8pycbvje9w2XYsNnnzw67bpPs4GLFyD",
"volume": 65000,
"duration": "3d"
}'
# Response:
{
"order_id": "clxyz123...",
"status": "success",
"target_address": "TUo8pycbvje9w2XYsNnnzw67bpPs4GLFyD",
"resource_type": "energy",
"volume": 65000,
"duration": "3d",
"price_usd": "4.97",
"trx_spent": 20.12,
"provider_order_id": 12345,
"txid": "abc123def...",
"message": "Order completed successfully."
}