Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How can I add a comment to a TON-related transaction using send_raw_message and include it in the message body along with any attachment?

What is the process for adding a comment to a transaction using send_raw_message in TON-related transactions?

Is it possible to include the comment in the body of the message along with any attachment?


This question was imported from Telegram Chat: https://t.me/tondev_eng/2915

Votes Newest

Answers


The process for adding a comment to a TON-related transaction using send_raw_message involves appending the comment in hexadecimal format to the end of the message body.

This can be achieved by adding "0x00000000 + comment_in_hex" as the last line of the message body.

Alternatively, it is possible to remove the "store_slice(msg_body)" command and store the comment directly using ".store_uint(0, 32)" followed by ".store_slice(comment)". This will produce the same outgoing message with a different code.

Overall, adding a comment to a TON-related transaction using send_raw_message involves modifying the message body to include the comment in hexadecimal format. It is also possible to store the comment directly, but the code will differ from the standard approach.

1
1
Posted one year ago
5K Views
1 Answer
one year ago
2 months ago
Tags