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
send JETTONS via @tonconnect/ui or @tonconnect/sdk

Please tell me how to transfer tokens without privatekey, I found only such examples in the documentation.

const transaction = {
	validUntil: Math.floor(Date.now() / 1000) + 60, // 60 sec
	messages: [
		{
			address: '<???>',
			amount: 10000000,
			payload: <payload ???>,
		},
	]
}
const result = await connector.sendTransaction(transaction);

I tried for a long time, substituted different payloads according to examples, different addresses (tokens and wallets), still nothing works, error - Failed to verify the transaction.

  
  
Posted 9 months ago
Votes Newest

Answers


https://docs.ton.org/develop/dapps/ton-connect/message-builders

Transfer With a Comment - base64

  
  
Posted 9 months ago
  
  

To transfer GRAM, I must specify payload and in this payload enter some data that will indicate that it is GRAM that needs to be transferred and not TON, correct?

XDurex   9 months ago Report
5K Views
1 Answer
9 months ago
9 months ago
Tags