Blockchain OperationsAutomation
Update automation module configuration for a Safe
Update off-chain automation policy for a Safe.
Supports two transfer modes:
PERCENT_OF_RECEIVED: transfer a percentage of each received amount.FIXED_AMOUNT: transfer a fixed amount each trigger.
You can additionally configure:
minIntervalMinutes: minimum delay between two automatic transfers.- rolling period cap via
periodCapAmount+ (periodCaporperiodCapMinutes).
Validation rules:
percentagerequiresmode=PERCENT_OF_RECEIVED.fixedAmountandmaxWalletPercentagerequiremode=FIXED_AMOUNT.- Use either
periodCaporperiodCapMinutes, not both. periodCap/periodCapMinutesrequireperiodCapAmount.
Authorization
AuthorizationRequiredBearer <token>In: header
Request Body
application/jsonOptionaltargetAddressstringmodestringTransfer mode
Value in:
"PERCENT_OF_RECEIVED" | "FIXED_AMOUNT"percentagenumberUsed only with mode=PERCENT_OF_RECEIVED
Minimum:
0Maximum: 100fixedAmountstring | nullUsed only with mode=FIXED_AMOUNT (human-readable token units, e.g. "10.5"). Use null to clear.
maxWalletPercentagenumberOptional cap (wallet %) applied at transfer time when fixedAmount mode is used
Minimum:
0Maximum: 100minIntervalMinutesnumberMinimum delay between 2 automatic transfers (minutes)
Minimum:
0periodCapAmountstring | nullMaximum cumulative amount per period (human-readable token units). Use null to clear period cap.
periodCapstring | nullPredefined period for periodCapAmount
Value in:
"HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | nullperiodCapMinutesnumber | nullCustom period (minutes) for periodCapAmount. Mutually exclusive with periodCap.
Minimum:
1frequencystringValue in:
"DAILY" | "WEEKLY" | "90_DAYS" | "NONE"tokenAddressstringenabledbooleanPath Parameters
safeAddressRequiredstringDefault Response
Automation policy model (v2)
This endpoint supports a policy model with two transfer modes:
PERCENT_OF_RECEIVED: transfer a percentage of each received amount.FIXED_AMOUNT: transfer a fixed amount each trigger.
Request fields
mode:PERCENT_OF_RECEIVEDorFIXED_AMOUNT.percentage: required only withmode=PERCENT_OF_RECEIVED.fixedAmount: required only withmode=FIXED_AMOUNT.maxWalletPercentage: optional wallet-balance cap (only in fixed mode).minIntervalMinutes: optional minimum delay between two automatic transfers.periodCapAmount: optional max cumulative transferred amount in a period.periodCap:HOURLY|DAILY|WEEKLY|MONTHLY.periodCapMinutes: custom period length in minutes (alternative toperiodCap).
Validation rules
percentagecan only be used withPERCENT_OF_RECEIVED.fixedAmountandmaxWalletPercentagecan only be used withFIXED_AMOUNT.- Use either
periodCaporperiodCapMinutes, never both. periodCap/periodCapMinutesrequireperiodCapAmount.
Execution semantics
minIntervalMinutesis enforced before creating a new automated transfer.- If a period cap is configured, transfers are allowed only while
periodCapSpent + nextAmount <= periodCapAmountin the active rolling window. - When policy changes affect period-cap settings, runtime counters are reset to avoid stale carry-over.