Esprezzo
GitHubDiscord
  • Documentation
  • Introduction
    • What is Dispatch?
      • Dispatch pricing
    • Quickstart
    • Contract activity monitor example
    • Patch templates
    • Smart contract visualization
    • Balance monitoring
  • Smart contract activity
    • Add smart contracts
    • Create Patches from smart contracts
    • Viewing contract functions and events
    • Visualizing smart contract activity (Data vis)
    • Rename, delete smart contracts
  • Webhooks
    • Webhooks overview
    • Create your first webhook
    • Webhook reference
      • Smart Contract Activity Trigger
      • Balance Change Trigger
      • Balance Threshold Reached Trigger
  • FAQ
    • Help Center
    • Discord integration guide
    • Requesting other networks
Powered by GitBook
On this page
  • 1: Navigate to the Contracts page.
  • 2: Select the contract events and/or functions
  • 3: Select the Action
  • 4: Set the Action details
  • 5: Test the Action (optional)
  • 6: Name the Patch (optional)
  1. Smart contract activity

Create Patches from smart contracts

Easily create alerts for smart contract activity and visualize it without code

PreviousAdd smart contractsNextViewing contract functions and events

Last updated 3 months ago

Once you've added at least one smart contract to Dispatch, you can

  1. Get real-time alerts for specific contract events and functions

  2. Visualize trends in contract activity

    1. See which events and functions are being emitted or called most over time

    2. Spot spikes in activity

    3. See which addresses are interacting most with contracts

In addition to event emissions, Dispatch currently supports functions that modify a contract's state. In other words, we do NOT support alerting for functions with stateMutability types of pure or view.

To get alerts or visualize smart contract activity, you will need to create at least one Patch that listens for the activity you're interested in.

1: Navigate to the page.

Find the contract you want to get alerts, or see data visualization for.

At the right end of the row for the selected contract, click on the ••• button and select the "+ Create Patch" option.

This should take you to Patch Builder, step 2: Trigger conditions.

2: Select the contract events and/or functions

Select the events and/or functions you want to use to trigger alerts or workflows by clicking the checkboxes next to them:

Click the "Continue" button.

3: Select the Action

Select the Action (where you want the event & event data to go).

If you're not interested in real-time alerts and just want to see charts for contract activity, select Dispatch Monitor as the Action in your Patches.

4: Set the Action details

The details will vary depending on the Action you've selected.

5: Test the Action (optional)

All Actions except for Dispatch Monitor provide an option for you to run a test to make sure Dispatch can deliver messages to your selected output.

6: Name the Patch (optional)

Customizing the Patch name is optional; Dispatch adds a default Patch name for you to save time.

Now's the perfect opportunity to double check your Trigger and Action details.

If all looks right, press the "Turn Patch on" button.

logs events to Dispatch only.

Dispatch Monitor
Contracts