ModuleSDK
Modules
getExecuteOnOwnedAccountAction

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.