transferLightAccountOwnership
Defined in: account-kit/smart-contracts/dist/types/src/light-account/actions/transferOwnership.d.ts:33
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<Hex>
The transaction or UO hash as a Hex string