Tooling
Module SDK
Modules
getExecuteOnOwnedAccountAction

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

getExecuteOnOwnedAccountAction

Get the action to execute a single action on the owned account from the owner smart account.

Usage

const action = getExecuteOnOwnedAccountAction({
  ownedAccount: '0x123...',
  execution: {
    target: '0x123...',
    value: 1000000,
    callData: '0x123...',
  },
})

Parameters

ownedAccount

The address of the owned account to execute the action on.

execution

The action to execute on the owned account.

Returns

action

The action to execute on the owner smart account.