Monitoring
Stagenets include built-in Monitoring for tracking and visualising key on-chain data from the decentralised applications running on them.
Use it to understand how your contracts or wallets behave over time as your Stagenet processes blocks and transactions.
You can track:
- Native token balances
- ERC20 token balances
- Function return values
- Storage variables
Tracked data is recorded over time as your Stagenet runs. You can view its evolution in graphs or in tables.
For example, if you were building a trading bot, you could track its wallet’s token balances as it executes trades on your Stagenet, allowing you to monitor its performance over time and observe which transactions drove changes.
How to monitor on-chain data
You can start monitoring data by clicking Track Data on the platforms’s Analytics page, accessible via the sidebar.
You can also start tracking a contract or wallet’s data in the Monitoring section of its Workspace.
Standard workflow
A typical workflow for maximising Stagenet analytics:
- Create Workspaces for the contracts and wallets that make up your application on the Stagenet.
- Track key application data (e.g. balances, yield, fees) using the Stagenet’s Monitoring system.
You now have dedicated analytics portals for each building block of your EVM application, with key data automatically recorded and visualised over time as it runs on your Stagenet.