Safe action reference
This page is generated from the plugin registry. Do not edit it by hand.
Safe multisig wallet: read owners, threshold, nonce, and module status for any Safe address
For guidance and examples see the Safe guide.
Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.
Read actions return the value under result: a single unnamed output is result, a named one is result.<name>, and several outputs are result.<name> each. Reference it as {{@nodeId:Label.result}}. Integer Solidity types are passed as decimal strings.
| Action | Action type |
|---|---|
| Safe: Get Owners | safe/get-owners |
| Safe: Get Threshold | safe/get-threshold |
| Safe: Is Owner | safe/is-owner |
| Safe: Get Nonce | safe/get-nonce |
| Safe: Is Module Enabled | safe/is-module-enabled |
| Safe: Get Modules Paginated | safe/get-modules-paginated |
| Get Pending Transactions | safe/get-pending-transactions |
Safe: Get Owners
Action type: safe/get-owners. Connection: not required.
Get the list of owner addresses for a Safe multisig
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 10, 8453, 42161 | Network. | |
contractAddress | string | Yes | Safe Multisig Address. |
Outputs
| Output | Description |
|---|---|
result | Owner Addresses |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Safe: Get Threshold
Action type: safe/get-threshold. Connection: not required.
Get the number of required confirmations for a Safe transaction
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 10, 8453, 42161 | Network. | |
contractAddress | string | Yes | Safe Multisig Address. |
Outputs
| Output | Description |
|---|---|
result | Required Confirmations |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Safe: Is Owner
Action type: safe/is-owner. Connection: not required.
Check if an address is an owner of the Safe multisig
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 10, 8453, 42161 | Network. | |
contractAddress | string | Yes | Safe Multisig Address. | ||
owner | address | Yes | Address to Check (address). |
Outputs
| Output | Description |
|---|---|
result | Is Owner |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Safe: Get Nonce
Action type: safe/get-nonce. Connection: not required.
Get the current transaction nonce of the Safe multisig
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 10, 8453, 42161 | Network. | |
contractAddress | string | Yes | Safe Multisig Address. |
Outputs
| Output | Description |
|---|---|
result | Current Nonce |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Safe: Is Module Enabled
Action type: safe/is-module-enabled. Connection: not required.
Check if a module is enabled on the Safe multisig
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 10, 8453, 42161 | Network. | |
contractAddress | string | Yes | Safe Multisig Address. | ||
module | address | Yes | Module Address (address). |
Outputs
| Output | Description |
|---|---|
result | Module Enabled |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Safe: Get Modules Paginated
Action type: safe/get-modules-paginated. Connection: not required.
Get a paginated list of enabled modules on the Safe multisig
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 10, 8453, 42161 | Network. | |
contractAddress | string | Yes | Safe Multisig Address. | ||
start | address | No | 0x0000000000000000000000000000000000000001 | Start Address (address). | |
pageSize | uint256 | No | 10 | Page Size (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.array | Module Addresses |
result.next | Next Pagination Address |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Get Pending Transactions
Action type: safe/get-pending-transactions. Connection: required (safe).
Fetch pending multisig transactions from a Safe that have not been executed yet. Optionally filter for transactions a specific signer has not confirmed.
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
safeAddress | string | Yes | Safe Address. | ||
network | string | Yes | a chain id | Network. | |
signerAddress | string | No | Signer Address. |
Outputs
| Output | Description |
|---|---|
success | Whether the request succeeded |
transactions | Array of pending transactions with safeTxHash, to, value, data, operation, operationLabel, nonce, confirmations, confirmationsRequired, confirmationsCollected, dataDecoded, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, submissionDate, and safe |
count | Number of pending transactions returned |
error | Error message if failed |
Contracts
| Contract | Chain ids |
|---|---|
| Safe Multisig | any (the address is set on the node) |
Events
Events a workflow can listen for with an Event trigger.
| Event | Slug | Event name | Parameters |
|---|---|---|---|
| Owner Added | added-owner | AddedOwner | address indexed owner |
| Owner Removed | removed-owner | RemovedOwner | address indexed owner |
| Threshold Changed | changed-threshold | ChangedThreshold | uint256 threshold |
| Module Enabled | enabled-module | EnabledModule | address indexed module |
| Module Disabled | disabled-module | DisabledModule | address indexed module |
| Guard Changed | changed-guard | ChangedGuard | address indexed guard |
| Transaction Executed (Success) | execution-success | ExecutionSuccess | bytes32 indexed txHash, uint256 payment |
| Transaction Executed (Failure) | execution-failure | ExecutionFailure | bytes32 indexed txHash, uint256 payment |
| Hash Approved | approve-hash | ApproveHash | bytes32 indexed approvedHash, address indexed owner |
| Message Signed | sign-msg | SignMsg | bytes32 indexed msgHash |
| Fallback Handler Changed | changed-fallback-handler | ChangedFallbackHandler | address indexed handler |
| Safe Setup | safe-setup | SafeSetup | address indexed initiator, address[] owners, uint256 threshold, address initializer, address fallbackHandler |