TriggerSmartContract
Returns TransactionExtention, which contains the unsigned Transaction
Body params:
owner_address
- Address that triggers the contract, converted to a hex stringcontract_address
- Contract address, converted to a hex stringfunction_selector
- Function call, must not be left blankparameter
- Parameter encoding needs to be in accordance with the ABI rules, the rules are more complicated, users can use the ethers library to encode,For details, please refer to the document-Guide-Smart Contract-Best Practice-Parameter Encoding and Decoding.fee_limit
- Maximum TRX consumption, measured in SUN (1 TRX = 1,000,000 SUN).call_value
- Amount of TRX transferred with this transaction, measured in SUN (1 TRX = 1,000,000 SUN).permission_id
- Optional, for multi-signaturevisible
- Optional. Whehter the address is in base58check format.
Request
Response
Last updated