Tooling
Module SDK
Modules
getRequestTimelockedExecution

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

getRequestTimelockedExecution

Get the action to request a timelocked execution. This will initiate a timelock, after which the execution can occur.

Usage

const timelockedExecutionAction = getRequestTimelockedExecution({
  execution: {
    target: '0x123...',
    value: 1000000,
    callData: '0x123...',
  },
  additionalWait: 0,
})

Parameters

execution

The execution to execute on the cold storage account.

additionalWait

  • Type: number

The additional wait time in seconds before the execution can occur, on top of the set wait period.

Returns

action

The action to request the timelocked execution.