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
Here we are only using this EventListener callback for one filter, but if we had multiple filters we could use the filter name to determine which filter the transaction matched.
56
56
"""
57
57
axfer=transaction["asset-transfer-transaction"]
58
-
print(
59
-
f"{filter_name}: {transaction['sender']} sent {axfer['receiver']}{axfer['amount'] *1e-6} USDC"
60
-
)
58
+
print(f"{filter_name}: {transaction['sender']} sent {axfer['receiver']}{axfer['amount'] *1e-6} USDC")
0 commit comments