transferLightAccountOwnership
Defined in: account-kit/smart-contracts/src/light-account/actions/transferOwnership.ts:51
Transfers the ownership of a light account to a new owner. This function ensures that the client is a compatible smart acccount client and that a Light Account is provided. If the waitForTxn parameter is true, it will wait for the transaction to be completed before returning.
Example
Type Parameters
Parameters
Returns
Promise
<`0x${string}`
>
The transaction or UO hash as a Hex string