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
Unanswered
Withdraw fee coverage

Hi there.

In my app I allow deposit and withdraw some Jetton.
I would like to implement withdrawal in such way that user compensate transaction fee (something like 0.05 TON for Jetton transfer). I have several ways to implement it using tonSDK like:

  • ask transfer 0.05 TON to may wallet and then send Jettons
  • as Jetton has fixed rate to ton - convert fee to Jetton and take it from withdrawal
  • add some entity like withdrawal token - user buy some withdrawal tokens amount and then can use it to withdraw Jetton.

But I feel it could be done simpler, like built in feature or may be some well know smart contract, but I'm quite new it this topic.

Could you suggest me something?

  
  
Posted 7 months ago
Votes Newest

Answers

7K Views
0 Answers
7 months ago
7 months ago
Tags