Prerequisites
Before creating an action:- An Action Provider must exist on the same network as the contract.
- The provider must have been granted the required role on your contract.
- The provider must have sufficient balance to pay gas fees.
Create an action
1
Open the Actions tab
In the left sidebar, navigate to your monitored contract and click Actions. Then click Create Action.
2
Enter a name
Give the action a descriptive name (e.g.,
Pause Contract, Emergency Withdraw).3
Select the contract function
In the Function dropdown, choose the function you want to execute. Functions are loaded from the contract’s ABI and shown in the format
functionName() returnType.4
Choose a trigger and/or detector (optional)
Select a trigger and/or a detector that should automatically fire this action when an event is detected.
- Trigger — fires the action based on on-chain conditions (e.g., a specific function call, ERC-20 transfer, failed transaction).
- Detector — fires the action based on on-chain or off-chain signals (e.g., price drop, AML alert, balance threshold, contract hash change).
5
Configure gas settings (optional)
6
Save
Click Create Action. The action appears in the Actions tab with status
ENABLED.The action will execute automatically when the selected trigger fires and the linked Action Provider has enough balance to cover gas. If no provider is linked for the contract’s network, the action will appear as Unlinked and will not run until a matching provider is added.
Enable / Disable an action
Open the action’s detail page and use the Monitoring dropdown to switch betweenENABLED and DISABLED. Disabling pauses automatic execution without deleting the action.
Run an action manually
You can trigger any action on demand, regardless of monitoring events.1
Open the action row menu
On the Actions tab, find the action and click ··· → View Details, then use the Run Manually option. Alternatively, click the run icon directly in the action row.
2
Configure the manual run
3
Click Run
Click Run to submit the transaction. The execution will appear in the Executions tab and the action’s Action History.