Get the smart mode price
GET
/api/v1/pricing/modes
const url = 'https://trongas.ai/api/v1/pricing/modes';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://trongas.ai/api/v1/pricing/modesPrice of one smart-mode delivery (energy only) — no rental duration, a different unit than /list (one delivery, ~131,000 energy). null if no price is configured. Public — no API key required.
Responses
Section titled “Responses”OK
object
Examplegenerated
{ "smart": { "unitVolume": 1, "priceTrx": "example" }}