Skip to main content

How to Monitor Web3 Events Through Tokenview Transaction Tracking APIs?

tokenviewAbout 3 min

How to Monitor Web3 Events Through Tokenview Transaction Tracking APIs?

A new API product "Transaction Trackingopen in new window" goes live in Tokenview blockchain Developer Platform. It is a "webhook" product similar to the "Address Trackingopen in new window". You need set a monitoring address for "Address Tracking", while you need set a monitoring condition for "Transaction Tracking".

What conditions you may set for Transaction? For example,
1) transfer volume > 10000 ETH
2) gas fee > 0.1 ETH
3) new token deployed
4) ETH/USDT swap is created on Uniswap
5) 1 billion USDTs borrowed by MakerDAO
6) ETH is staked
7) and more

After setting the monitoring conditions, once a new transaction meets the conditions, and it is confirmed on the blockchain, a real-time message will be notified to webhook. For example, this API is used to assist DeFi trade, that helps make more profits and risk control.

How to enable Transaction Tracking?

4 simple steps:

  1. Registeropen in new window
  2. Log inopen in new window
  3. Find "Transaction Tracking" from the dashboard panel
  4. Get "API Key" from the generated project

How to set tracking conditions?

Each API Key has 2 attributes which must be set.

  1. a valid webhook url which is used to receive real-time message.
  2. a valid tracking condition which is used to filter out the matched transactions.

There are 3 popular tracking conditions availabe to monitor Web3 events for your reference.

Token Create

Notified once new Token is deployed on chain.

Whale Alert

Any whale transfer happened on blockchain, for example, notified once the transfer amount exceeds 1,000 ETH.

Web3 Events

Notified once Web3 Event is emitted by smart contract. When a method is called from smart contract, and the event is emitted, it can be monitored by Tokenview Transaction Tracking APIs. For example, once a new swap pool is created on Uniswap, Uniswap contract will emit a "PoolCreated" event. You can monitor these transactions and get notifications of "PoolCreated" event.

Finally, there are 2 solutions to set tracking conditions.
1) From dashboardopen in new window, find out the Transaction Tracking project, click "Setting" from the panel, you will get "Tracking Condition" dropdown box, select and set according to the hint.
2) By calling Tokenview APIsopen in new window, set the tracking conditions by using HTTP requests.

How to get real-time messages?

Once you set the tracking conditions successfully, your webhook url will get the real-time messages according to your setting.
All real-time messages are in JSON format. Different tracking condition has different message body, so you can check the document open in new windowto get more detail information.

Can you notify me when there are new token deployed on Ethereum?

Yes.
Firstly, you need to set a webhook url.
Secondly, select the blockchain network you are monitoring, Ethereum.
Thirdly, select "Token Create" as the tracking condition.
The last step is to observe the messages sent to your webhook, and identify the "type=tokencreate" messages.

How can I get notification of whale transactions such as transfer amount more than 10,000 ETH and less than 20,000 ETH?

Open dashboard

  1. Set a webhook url which is used to receive notification.
  2. Select Ethereum.
  3. Select "Whale Alert", and input "ETH". The min value is set to 10,000. The max value is set to 20,000. Click "ADD" button.
  4. Observe the messages sent to your webhook, and identify the "type=tokentransfervolume" message, those are the notifications for you.

Use Tokenview API:

  1. Set a webhookopen in new window url.
  2. Add tracking condition "Token Transfer Volume" by calling Tokenview APIopen in new window.
  3. Observe the messages sent to your webhook, and identify the "type=tokentransfervolume" message, those are the notifications for you.

Per customers' requests, Tokenview implements Transaction Tracking API product in Web3 Developer Platform. The goal is make it easier to use, and popular scenarios supported to monitor the future, condition-matched transactions. When you get instant nofications for any transaction level Web3 Event, DeFi trading, Whale Alert, Token Deployment, you will be faster to build your Web3 business.

Always, your feedback our passion. Please contact Tokenview for any suggestions.

About Tokenview Blockchain APIs & Data Service Platform:

Tokenview blockchain APIs & data service platform contained 120+ blockchains has powerful endpoints that simplify complex blockchain data into single API calls. Code for all supported blockchains using unified API calls. From here to easily get transaction, address, gas, contract, token, NFT, logs and any information from chain. And Yes you can also send tx to chain. One-click configuration with APIKey helps developers to Use, to Create, to Build.
Last update: