Skip to content

Commit 7d34aaa

Browse files
feat: clarified jetton errors information (#771)
Co-authored-by: Aliaksandr Bahdanau <a.bahdanau@pixelplex.io>
1 parent e1c7483 commit 7d34aaa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/develop/dapps/asset-processing/jettons.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,13 @@ This transfer require some ton coins for **fees** and, optionally, **transfer no
235235

236236
To send **comment** you need setup `forward payload`. Set **first 32 bits to 0x0** and append **your text**.
237237

238-
`forward payload` is sent in `transfer notification` internal message. It will be generated only if `forward amount` > 0.
238+
`forward payload` is sent in `transfer notification` internal message. It will be generated only if `forward_ton_amount` > 0. Recommended `forward_ton_amount` for jetton transfer with comment is 1 nanoton.
239239

240240
Finally, to retrieve `Excess` message you must set up `response destination`.
241241

242-
Sometimes you may encounter a `709` error when sending jetton. It says that the value of the toncoin attached to the message is not enough to send it. Make sure that `Toncoin > to_nano(TRANSFER_CONSUMPTION) + forward_ton_amount`. `TRANSFER_CONSUMPTION` in most cases may be 0.037 if the `forward_payload` is not too large. Also don't forget to attach enough `forward_ton_amount` or you can encounter a `cskip_no_gas` error if attached value too small.
243-
242+
Sometimes you may encounter a `709` error when sending jetton. It says that the value of the toncoin attached to the message is not enough to send it. Make sure that `Toncoin > to_nano(TRANSFER_CONSUMPTION) + forward_ton_amount`. `TRANSFER_CONSUMPTION` in most cases may be 0.037 if the `forward_payload` is not too large.
243+
244+
You may also encounter the error `cskip_no_gas`, which indicates that the jettons were successfully transferred, but no other calculations were performed. This is a common situation when the value of `forward_ton_amount` is equal to 1 nanoton.
244245

245246
:::tip
246247
Check [best practices](/develop/dapps/asset-processing/jettons#best-practices) for _"send jettons with comments"_ example.

0 commit comments

Comments
 (0)