Closed gilfoyle2021asc closed 4 months ago
I think you can take Amount
and Body.Dump()
for amount and the stringify of the payload
check this line:
thank you very much for your replay, but the m.Amount is amount for TON , i want jetton token amount and comment , which been included here : example/jetton-transfer/main.go:62
i am transfer jetton token like this:example/jetton-transfer/main.go:62
which language you are using? how do you get jetton amount and comment from transaction in your language lib?
thanks help, problem solved ,there is a decode func existing in source code
@gilfoyle2021asc hi, can you share how you solved it?
when transfer jetton, i noticed the jetton amount and comment has been included in transferPayload then included into message body, my purpose is to parse tx from ListTransactions, this sdk is not supported to get jetton amount and comment, so i try to parse message body to find out ,i can get the message body by 'body:=tx.IO.In.AsInternal().Body', but how to parse the body to readable text?