⚠️ Deprecation Notice
ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.
getAddOwnableExecutorOwnerAction
Get the action to add an owner to the ownable executor.
Usage
const action = await getAddOwnableExecutorOwnerAction({
client,
account,
owner: '0x123...',
})Parameters
client
- Type:
PublicClient
The rpc client to use for the chain you want to query.
account
- Type:
Account
The account to add the owner to the ownable executor for.
owner
The address of the owner to add to the ownable executor.
Returns
action
- Type:
Promise<Action>
The action to add an owner to the ownable executor.