post
https://api.shasta.trongrid.io/wallet/triggerconstantcontract
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Note:
- TriggerConstantContract operation will not generate an on-chain transaction, nor will it change the status of the current node.
Returns
| Field | Type | Description |
|---|---|---|
| result | Return | Run result, for detailed parameter definition, refer to EstimateEnergy |
| energy_used | int64 | Total energy consumption, including basic and penalty energy consumption. |
| energy_penalty | int64 | Penalty Energy consumption. |
| constant_result | string[] | List of results from a constant contract call. |
| transaction | Transaction | Transaction object, see GetTransactionByID for structure. |
Conclusion:
- The energy consumption:
energy_used - The penalty energy consumption:
energy_penalty - The basic energy consumption:
energy_used-energy_penalty