Closed testhai001 closed 2 weeks ago
I don't know if this is still relevant but someone might still need this. The with_transfer
method sets the call_value of your contract method.
Use the with_transfer method instead of the call_value method and pass the amount of TRX in SUN.
This is documented in the docs. Don't trust AI for everything Thank you for your guidance here @Ephraim-Akolo
I am conducting asset cross chain transactions and need to pay TRX to the contract. I have tried many methods but have been unable to successfully pay TRX, GPT told me to use the call_value method to pass TRX values, but in reality, this method is not available. If you know, please guide me on how to pay TRX while calling the contract. Thank you.