tatumio / tatum-js

🚀 Tatum SDK: A 💪 powerful, 🌟 feature-rich TypeScript/JavaScript 📚 library that streamlines the 🛠️ development of 🌐 blockchain applications.
https://docs.tatum.io
MIT License
360 stars 110 forks source link

Etherum Testnet notification for token #1121

Open keksa905 opened 1 month ago

keksa905 commented 1 month ago

Describe the bug Hello I have an issue with notifications on ERC20 token tranfers. I created Subscription for Eth Testnet (Sepolia) on 'ADDRESS_EVENT' so I can monitor all moves on the address. When there is a token transfer Notification is obtained, but with non matching parameters: "address", "counterAddress" and "amount"; what is described in the docs: https://docs.tatum.io/docs/notifications-understanding-address-and-counteraddress.

What I have obtained: "address": "0x4bce83f16b2a3f9dad4c689e64c53a785eb49288", "counterAddress": "0x818da0f67534952da4a92fd1ca9bb802666f98cd", "amount": "1",

But in this case amount should be "-1" because I have sent 1 Link from "0x4bce83f16b2a3f9dad4c689e64c53a785eb49288" to "0x818da0f67534952da4a92fd1ca9bb802666f98cd". I am not sure if this happens on the Mainnet as well, but it is quite big problem for my app that I am building and testing right now.

I am attaching screenshots with data as well. tatum_webhook eth_transaction