wallet/triggersmartcontract
Smart contracts
wallet/triggersmartcontract | TRON
TRON API method that triggers a smart contract function call. This method creates a transaction to interact with deployed smart contracts on the TRON network.
POST
wallet/triggersmartcontract
TRON API method that triggers a smart contract function call. This method creates a transaction to interact with deployed smart contracts on the TRON network, allowing you to call contract functions with specified parameters.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
contract_address— the smart contract address (hex format)function_selector— the function signature to call (e.g., “transfer(address,uint256)”)parameter— encoded parameters for the function call (hex format)owner_address— the caller’s TRON address (hex format)call_value— optional TRX amount to send with the call (in sun)fee_limit— maximum energy cost for the transaction (in sun)visible— optional boolean to specify address format (default: false for hex format)
Response
result— execution result object containing:result— boolean indicating call successcode— status codemessage— error message if call failed
energy_used— amount of energy consumedconstant_result— array of return values from the contract functiontransaction— transaction object if creating a transactionlogs— array of event logs generated during execution
Use case
Thewallet/triggersmartcontract method is used for:
- Calling smart contract functions to read data or execute state changes.
- Interacting with DApps and DeFi protocols on the TRON network.
- Token transfers using TRC-20 contract methods.
- Querying contract state and executing complex business logic.
Body
application/json
parameter
string
default:000000000000000000000000e9d79cc47518930bc322d9bf7cddd260a0260a8d00000000000000000000000000000000000000000000000000000000000003e8
required
Last modified on May 18, 2026