🔍Analytics & Monitoring
Task Performance Dashboard
Gelato's Web3 Function UI offers enriched monitoring and analytics capabilities, allowing you to closely track the performance and usage statistics of your Typescript and Solidity function tasks.
Usage Insights: Get a clear picture of how much you've used from your Web3 function plan. Our intuitive metrics and forecast charts help you understand your current usage and predict future needs.
Task Identification: Quickly figure out if a task is powered by Typescript or Solidity. This feature simplifies how you view and manage your suite of Gelato Web3 functions.
Trend Tracking: Our updated chart design lets you track how your usage changes day-to-day, providing insights for better planning and task management.
Plan Details: Know exactly what you're getting with your subscription.
Logs & Status
Besides the task logs available in the UI, Gelato Web3 Functions offer a more detailed and granular monitoring system providing status and logs APIs.
Task Status URL
Provided the ChainId
and taskId
, this API will return the current Task status
For example, if your chainId
, taskId
are:
Then the URL to go to is:
For this taskId
, here is the returned task information:
The first thing to look at is the taskState
key:
Task states:
For the taskState
key, these are the possible values:
CheckPending
: the task is pending simulation.ExecPending
: the task is executable and is awaiting inclusion into the blockchain.WaitingForConfirmation
: the task was included into the blockchain but is still awaiting the required amount of blocks confirmations.ExecSuccess
: the task has been successfully executed.Cancelled
: the task has been canceled by the ownerExecReverted
: the task transaction has been reverted.
Task Logs URL
Provided the ChainId
and taskId
, this API will return the logs in the last 24 hours.
Query Parameters:
limit
(optional): The number of log entries to return, ranging from 1 to 100.page
(optional): Specifies the page number of logs to fetch, ranging from 1 to 100.
For example, if your chainId
, taskId
, NrLogs
and PageNr
are:
Then the URL to go to is:
For this taskId
, here is the returned task information:
Alerts
Web3 Functions provides an alerting service to enable you to get notified about your task executions, problems or when your balance is getting low. Alerting currently supports notifications in Telegram and Discord, with other channels on the way.
Types of notifications
Type | Description |
---|---|
Balance | If your task uses Gelato Balance you need to ensure that you always have enough funds deposited, otherwise your executions will stop executing until you top-up. Set a balance alert to be notified when your funds are running low - you can use our default levels or set your own threshold. |
Setting up Telegram Notifications
You can visit your notifications area to follow the steps listed below.
Add GelatoWatcherBot to your Telegram - if you have Telegram installed you can just click on the link to do this.
Enter the command
/start
The bot will show you the main alerts that you can request by entering the command.
When you enter each command the bot will step you through the inputs required to finish setting up the alert.
You can view the full list of commands at any time by entering /help
Telegram Bot Commands
Command | Usage |
---|---|
| Alerts when your Gelato Balance drops below the minimum balance threshold. The default thresholds are listed here. The bot will prompt you for the wallet address that you use to create and manage your tasks. To provide multiple addresses enter each one as a new message to the bot. If you use the same wallet address across multiple networks, you will be alerted when any of these drop below the default thresholds.
If you would like to set your own threshold use the |
| Alerts you when your Gelato Balance drops below the threshold you set on a specific network. After entering the /balance_threshold command the bot will prompt you to specify the chain IDs and your threshold level. Chain IDs are listed here. For example to be alerted when your Gelato Balance drops below 0.15 ETH on mainnet you would enter |
| List all custom and default balance thresholds of each network |
Discord DM Notifications
In this mode you receive your alerts as DM's to your Discord handle. To activate:
Join our Gelato Discord server
Choose from the list of commands below
If you would prefer to receive alerts in a specific channel please see how to get Discord notifications in your server.
Command | Usage |
---|---|
| Alerts when your Gelato Balance drops below the default threshold for the specified wallet address. The default thresholds are listed below. To provide multiple addresses enter a new command to the bot for each address. If you use the same wallet address across multiple networks, you will be alerted when any of these drop below the default thresholds.
To set your own threshold use the |
| Alerts you when your Gelato Balance drops below the threshold you set on a specific network.
Use the For example to be alerted when your Gelato Balance drops below 0.15 ETH on mainnet you would enter |
| List all custom and default balance thresholds of each network |
Discord notifications in your own server
Add our Gelato Bot to your server using this invite link (you need to be admin of the server)
If you want to receive notifications in a private channel, make sure to add Gelato Bot as a member in the channel where you want to receive the notification.
Enter the following commands in the channel you want to receive alerts.
Command | Usage |
---|---|
| Alerts when your Gelato Balance drops below the default threshold for the specified wallet address. The default thresholds are listed below. To provide multiple addresses enter a new command to the bot for each address. If you use the same wallet address across multiple networks, you will be alerted when any of these drop below the default thresholds.
To set your own threshold use the |
| Alerts you when your Gelato Balance drops below the threshold you set on a specific network.
Use the For example to be alerted when your Gelato Balance drops below 0.15 ETH on mainnet you would enter |
| List all custom and default balance thresholds of each network |
| Switch off all low balance alerts |
Default Thresholds
Unless overridden these are the default levels that are used for each network.
Network | Chain ID | Default Threshold |
---|---|---|
Ethereum | 1 | 0.05 ETH |
Polygon | 137 | 20 MATIC |
Fantom | 250 | 20 FTM |
Avalanche | 43114 | 0.5 AVAX |
BNB Chain | 56 | 0.05 BNB |
Optimism | 10 | 0.05 ETH |
Arbitrum | 42161 | 0.05 ETH |
Gnosis | 100 | 5 XDAI |
zkSync Era | 324 | |
Polygon zkEVM | 1101 | |
Base | 8453 | |
Linea | 59144 |
If you need more notifications or new communication channels, your feedback and suggestions are always welcome.
Last updated