Examples Overview
Before we walk you through some examples let’s familiarize you with some of the common commands and filters you can use.
💡 TIP: You can get a list of all available commands by using the
-hor--helpflag.
Filter Options:
Section titled “Filter Options:”--filter-type(There are 4 filter types: Transaction, Block, Rollback, and Governance)-
--filter-type input.transaction -
--filter-type input.rollback -
--filter-type input.block -
--filter-type input.governance
-
--filter-policy xyz...(filter by policy id)--filter-asset asset1xyz...(filter by asset id)--filter-drep drepxyz...(filter by drep id)--filter-address addr1xyz...(filter by wallet receive address)--filter-address stake1xyz...(filter by stake address)--filter-pool poolxyz...(filter by stake pool id)
Output Options:
Section titled “Output Options:”--output log--output notify--output telegram--output webhook--output push
Change Network
Section titled “Change Network”- -input-chainsync-network (There are 3 networks: preview, preprod, mainnet)
-
--input-chainsync-network preview -
--input-chainsync-network preprod -
--input-chainsync-network mainnet
-
Now that we have an overview of the type of filters and commands you can use, let’s walk through some examples to get you familiar with the power of Adder.
- Example 1 - Watch My Wallet and get a Desktop Notification
- Example 2 - Watch a Token and get a Desktop Notification
- Example 3 - Watch an SPO and get an Alert in Discord
- Example 4 - Watch a Smart Contract for a Specific Asset ID and get a Desktop Notification
- Example 5 - Watch an DRep and get an Alert in Telegram
- Example 6 - Watch Mempool for a Transaction with a Token