I can't find how to filter jetton transactions from tonweb.getTransactions(address,limit). Does anyone worked on this part and know how to filter Ton only transactions ?
May 15, 2023, 1:21 PM
use tonapi
May 15, 2023, 1:29 PM
https://t.me/tonblockchain/192
May 15, 2023, 1:40 PM
This examples show how to process specific coins by checking their balances. My issue is that i don't want to accept any kind of jettons at the momet / only toncoins accepted / when i am getting all transactions using tonweb ( toncenter api provider ) i don't see any fields that will tell me that the transfer is jetton.
Maybe i really have to switch to tonapi. But don't know if tonweb supports tonapi.
Maybe i really have to switch to tonapi. But don't know if tonweb supports tonapi.
May 15, 2023, 2:10 PM
try Tonpay SDK then. You'll be able to enforce the currency of the invoice, and only TON (in your case) will be accepted
May 15, 2023, 2:16 PM
not the case for me. It's another payment system so it won't be accepted by my employers.
May 15, 2023, 2:26 PM
it'll save you (and your employers) a lot of time, but the choice is yours 🍊
May 15, 2023, 2:28 PM