Skip to main content

Import

import { recoverEcdsaOwnership } from '@rhinestone/sdk/actions/recovery'

Usage

const transaction = await account.prepareTransaction({
  chain,
  calls: await recoverEcdsaOwnership(address, newOwners, chain, config),
})

Parameters

address
`0x${string}`
required
Account address
newOwners
OwnableValidatorConfig
required
New owners
chain
Chain
required
Chain to recover ownership on
config
RhinestoneConfig
required

Returns

call
CalldataInput[]
Calls to recover ownership