neodix42 / ton4j

Java libraries for interacting with TON blockchain.
GNU General Public License v3.0
74 stars 24 forks source link

Internal message #38

Closed SaitgalinKhannan closed 1 month ago

SaitgalinKhannan commented 2 months ago

It is possible to create an internal message where the sender is the user (he must confirm the sending, i have his address) and the recipient is my smart contract? I cant find example.

neodix42 commented 2 months ago

It is possible, you can construct such message by using this class: https://github.com/neodix42/ton4j/blob/main/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfo.java#L57.