Skip to main content
Glama

Estimate Cost

estimate_cost

Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txTypeNoTransaction type (default: trc20_transfer). trc20_transfer_new = first-time transfer to an address.
txCountYesNumber of transactions
resourceTypeNoResource type (default: ENERGY)
targetAddressNoTRON target address. Required for an executable market quote.
resourceAmountNoExact resource amount; otherwise derived from transaction count.
durationMinutesNoDuration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 180, 360, 1440, 10080, 43200. Default: 60.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / durationMinutes / description
      Previous value: -"Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60."New value: +"Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 180, 360, 1440, 10080, 43200. Default: 60."
    • addedInput schema / properties / resourceAmount
      Added value: +{
      +  "description": "Exact resource amount; otherwise derived from transaction count.",
      +  "exclusiveMinimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / targetAddress
      Added value: +{
      +  "description": "TRON target address. Required for an executable market quote.",
      +  "type": "string"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.