post
https://api.shasta.trongrid.io/wallet/triggerconstantcontract
Invoke the readonly function (modified by the view or pure modifier) of a contract for contract data query; or Invoke the non-readonly function of a contract for predicting whether the transaction can be successfully executed and estimating the energy consumption; or estimate the energy consumption of contract deployment
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.
Related resources
- Triggersmartcontract 1 1 — previous in this section
- Wallet Deploycontract — next in this section
- This endpoint does not require a transaction-level
fee_limitand does not consume the account's actual Bandwidth or Energy. Simulation is still subject to node configuration and protective TVM execution limits. - FeeLimit — use the returned
energy_usedto size the real transaction's Energy budget - TVM — execution semantics and node-side execution limits