Follow the Docs for `send_raw_message`.
from Howard
Follow the docs there:https://ton.org/docs/develop/func/overview
back by the code:
() send_money(slice address, int amount) impure inline {
var msg = begin_cell()
.store_uint(0x10, 6) ;; nobounce
.store_slice(address)
.store_grams(amount)
.end_cell();
send_raw_message(msg, 64);
}
- What is the meaning for 64 here for send_raw_message?
- And what is more expand and the usage for .store_uint(0x10, 6)? Is there more than just nobounce? Then what is the number for it.
š Answer on TON Overflow
Jan 28, 2023, 12:25 AM
Learn about the details here:
https://ton.org/docs/develop/smart-contracts/messages
https://ton.org/docs/develop/smart-contracts/messages
Jan 28, 2023, 6:37 AM