price-estimate
Example code for the price-estimate JSON RPC method
Body Parameter
Request Sample
curl -X POST https://services.getblock.io/v1/tron-energy/price-estimate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"resourceType": "energy", "volume": 65000, "duration": "1d"}'Response Sample
{
"data": {
"price_sun": "36",
"trx": "2.3400",
"price_usd": "0.7900",
"reserve_usd": "0.9500"
}
}Last updated
Was this helpful?