Show the most recent Tether Issue events
- TODO: add email notification support once feature is available
You'll need a Moralis APP ID and Server URL. Create a new Moralis Server instance. You'll find
the APP ID and URL by pressing the "View Details" button. Fill in your values in the provided locations
at the top of index.js
:
Moralis.initialize("YOUR APP ID");
Moralis.serverURL = "YOUR SERVER URL";
This demo is another example of tracking contract events, this time for when Tether prints new tokens.
https://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec7#events
Add a new "RealTime Event" plugin to your Moralis Server and enter the following info:
description : Tether Issue
topic : Issue(uint256)
address : 0xdac17f958d2ee523a2206206994597c13d831ec7
tableName : IssueEvent
See the Moralis Web 3 docs for more details.