Tooling
Module SDK
Modules
getScheduledTransfersExecutor

⚠️ 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)

getScheduledTransfersExecutor

description

Usage

const module = getScheduledTransfersExecutor({
  executeInterval: 1000,
  numberOfExecutions: 10,
  startData: 1724184464,
  executionData: '0x123...',
})

Parameters

executeInterval

  • Type: number

The interval in seconds between each execution.

numberOfExecutions

  • Type: number

The number of executions to perform.

startData

  • Type: number

The start data for the execution as a UNIX timestamp.

executionData

The data for the scheduled order, see getScheduledTransferData for more information.

hook (optional)

The address of the hook to use. This is only required for the Kernel account.

Returns

module

The scheduled transfers module object.