You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am using the EthNewPendingTransactionObservableSubscription method, which works great. However I am having a challenge to filter the transactions on the ERC20 level. I can filter by applying some logic on the 'from' and 'To' address fields, however cannot seem to figure out a way to filter on the ERC20-Token data.
Separately, if I was to use the EthLogsObservableSubscription I can filter on example a pair Contract address for any confirmed transaction.
Hope I made some sense. Just need some pointers or an example - that would really help..
Thanks in advance
The text was updated successfully, but these errors were encountered:
Thanks @juanfranblanco . Actually to check the ERC20 token transfers on the pending transaction, I need a TransferReceipt which obviously would not be generated, until the TX is mined. However using the input data of the TX I can see payload which references ERC20 token info, but quite challenging to decode. Is there a way to decode the Input data ? to get quantity/value info
Currently I am using the EthNewPendingTransactionObservableSubscription method, which works great. However I am having a challenge to filter the transactions on the ERC20 level. I can filter by applying some logic on the 'from' and 'To' address fields, however cannot seem to figure out a way to filter on the ERC20-Token data.
Separately, if I was to use the EthLogsObservableSubscription I can filter on example a pair Contract address for any confirmed transaction.
Hope I made some sense. Just need some pointers or an example - that would really help..
Thanks in advance
The text was updated successfully, but these errors were encountered: