Targets
Last updated
Last updated
A target is a filter of a data source that is in the interest. Watchers will only generate events if it matches the specified targets. Each target type will be compatible with only certain types of Watchers.
A contract target focuses on events from a specific contract. To use a contract target, contract address, chain, and ABI is required.
Inspex Lighthouse will automatically try to find the ABI when chain and contract address is provided. If it cannot find ABI, you can find the contract ABI and add manually
Note: If a contract is a proxy contract (ERC-1967), you might need to add ABI manually. See finding contract ABI
A contract target focuses on events from a specific tokens. Currently ERC-20 (tokens), ERC-721 (NFTs), and native tokens are supported. For watchers that wanted to monitor multiple tokens or chains, you can create a target that targets any token on any chain.
Go to Targets tab
Click Create Target
Choose the type of target you want to create
Fill in the required information
If there are events detected during the period, all detected events will be shown in JSON format. Otherwise, it will show that there are no events found.
Account Watcher
✅
Timelock Watcher
✅
Contract Watcher
✅
Put your contract address in search box. For example, the contract for Alpaca Finance's FairLaunch contract is found at https://bscscan.com/address/0xA625AB01B08ce023B2a342Dbb12a16f2C8489A8F
Click Contract tab.
Scroll down until you find ABI section.
Copy ABI and paste in ABI box.