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
Dedust sdk swap jetton to ton

https://docs.dedust.io/docs/swaps

Hello, it works when I am swapping ton to jetton. But not jetton -> ton.

In the docs, VaultJetton.createSwapPayload({ poolAddress }), where is VaultJetton from?

Is it this ?

const tokenVault = tonClient.open(await factory.getJettonVault(Address.parse(tokenAddress)));

but in this case, it does not have createSwapPayload function

Thanks

  
  
Posted 3 months ago
Edited 3 months ago
  
  

Any update on this issue? I met the same issue when following the dedust SDK docs. The action sendTransfer with forwardPayload just send and recieve TON not swap the jetton token.

AndyY   one month ago Report
Votes Newest

Answers

2K Views
0 Answers
3 months ago
3 months ago
Tags