Tooling
Module SDK
Modules
getExecuteBatchOnOwnedAccountAction

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

getExecuteBatchOnOwnedAccountAction

Get the action to execute a batch of transactions on an owned account through the owner smart account.

Usage

const action = getExecuteBatchOnOwnedAccountAction({
  ownedAccount: '0x123...',
  executions: [
    {
      target: '0x123...',
      value: 1000000,
      callData: '0x123...',
    },
  ],
})

Parameters

ownedAccount

The address of the owned account to execute the batch of transactions on.

executions

The list of actions to execute on the owned account.

Returns

action

The action to be executed on the owner account.