/sendTransactionToTronContractWithContractInfo
1 min
POST
/sendTransactionToTronContractWithContractInfo
account_idintegerThe account ID to use.
contract_addressstring<p>Destination contract address (TRON).</p>
amountstringAmount in Sun to send with the transaction.
max_feeintegerMaximum validator fee.
function_namestring<p>Contract function name (without parameters).</p>
parameters_fields_types_and_valuesarray<p>List of {type, value} pairs encoded per Solidity ABI (all scalar values as strings).</p>
validate_transactionboolean<p>If true, pre-validates against a node and blocks likely-to-fail transactions.</p>
descriptionstring<p>Free-text note stored in your records (off-chain).</p>
specificFromAddressstring<p>Optional deposit address to send from (not for omnibus accounts).</p>
acceptstringGenerated from available response content types
200success
curl --request POST \
--url '/sendTransactionToTronContractWithContractInfo?account_id=1&contract_address=TQGyKudCwYEzVVaKVrdz5FdXjEWaK8eRZ1&amount=0&max_fee=10000000&function_name=decimals¶meters_fields_types_and_values=[{%22type%22%3A%22address%22%2C%22value%22%3A%22TJf2aDMjthsPh64HGZ9qbjPCMvk1FwVRqB%22}%2C{%22type%22%3A%22uint256%22%2C%22value%22%3A%22100000000000000000%22}]&validate_transaction=true' \
--header 'accept: application/json'