Skip to main content
function createEvmEoaAccount(): Promise<`0x${string}`>;
Creates an EVM EOA (Externally Owned Account) for the current user. This function will throw an error if the user already has an EVM EOA account.

Returns

Promise<`0x${string}`> The updated user object with the newly created EVM EOA account.

Throws

Error if the user is not signed in or already has an EVM EOA account.