curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/triggersmartcontract \
--header 'Content-Type: application/json' \
--data '
{
"contract_address": "41a614f803b6fd780986a42c78ec9c7f77e6ded13c",
"function_selector": "transfer(address,uint256)",
"parameter": "000000000000000000000000e9d79cc47518930bc322d9bf7cddd260a0260a8d00000000000000000000000000000000000000000000000000000000000003e8",
"owner_address": "41608f8da72479edc7dd921e4c30bb7e7cddbe722e",
"call_value": 0,
"fee_limit": 10000000,
"visible": false
}
'{
"result": {
"result": true,
"code": "<string>",
"message": "<string>"
},
"energy_used": 123,
"constant_result": [
"<string>"
],
"transaction": {},
"logs": "<array>"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/triggersmartcontract \
--header 'Content-Type: application/json' \
--data '
{
"contract_address": "41a614f803b6fd780986a42c78ec9c7f77e6ded13c",
"function_selector": "transfer(address,uint256)",
"parameter": "000000000000000000000000e9d79cc47518930bc322d9bf7cddd260a0260a8d00000000000000000000000000000000000000000000000000000000000003e8",
"owner_address": "41608f8da72479edc7dd921e4c30bb7e7cddbe722e",
"call_value": 0,
"fee_limit": 10000000,
"visible": false
}
'{
"result": {
"result": true,
"code": "<string>",
"message": "<string>"
},
"energy_used": 123,
"constant_result": [
"<string>"
],
"transaction": {},
"logs": "<array>"
}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)result — execution result object containing:
result — boolean indicating call successcode — status codemessage — error message if call failedenergy_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 executionwallet/triggersmartcontract method is used for:
Was this page helpful?