Open keyliaran opened 1 month ago
Hi, as i see in explorer you have only one out transaction and you see it, if you want to see incoming then remove tx.IO.Out != nil
Currently, I have 8 transactions in total: 6 involving TON (5 incoming, 1 outgoing). When I call the following method:
trxs, err := api.ListTransactions(context.Background(), accountAddr, num, lastTransactionLT, lastTransactionId)
And log the number of transactions (output will be 6)
log.Printf("transaction count %d", len(trxs))
I also print the transaction hashes (5 in msgs where i have recieved ton, and 1 out msg):
for i, tx := range trxs {
log.Printf("found transaction hash %s", base64.StdEncoding.EncodeToString(tx.Hash))
}
However, I'm not receiving two transactions where I received USDT. The hashes for these missing transactions are: (5c508c90aa472e06fa063b9d0396fec1975e1f5760d982363b3035f5bf0f7122, eDdYeBMSmHRDDeYyRzlhmUAFg/MqlbAOOiGT4W+PRdA=)
These transactions don't appear in the response, and I'm unsure why they're missing. Any ideas on what might be causing this?
I'm attempting to retrieve transactions, but I am only receiving a single transaction involving TON transfer. Is it possible to also retrieve transactions with Jetton (USDT) transfers?
Explorer Link: TONSCAN Explorer
There should be two USDT transfers and one TON transfer visible for the address.
Code Sample:
Can you help me understand how to modify the code to retrieve Jetton transfer transactions alongside the TON transfer? Thanks!